The dev session window moves from Git to SQL (ADR-0087 amendment): the admin
portal opens, extends (30 min to 4 h from now) and closes it, and the cellular
region re-reads it every 5 s with --session-window-source db. No push, sync or
restart per window; a closed window keeps the region running instead of
crash-looping.
- Schema 62: append-only session_windows (4 h cap, no rewrites),
load_session_window_v1 for the runtime group, admin_set_session_window_v1
and admin_session_windows_v1 for a dedicated admin group role, granted and
audited each migration run when EVO_PG_ADMIN_ROLE is set (aevolution_admin in
DEV). Schema 61's views are revoked from the runtime group.
- RegionSessions admission switch: while closed every Hello is refused before
signature work and closing closes open sessions (new sessions were still
admitted after expiry before).
- Admin API: GET/POST /api/regions/<n>/session-window, window state in the
regions list; the portal's session-window card with history.
- Git: REGION_SESSION_WINDOW and the pre-push refresh rule are removed; the
policy check requires the database source and refuses a committed window.
Needs the new image and the aevolution_admin role (with the portal's login in
aevolution-admin-pg) before a sync.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
evo-admin-api serves the portal at srs.aeternalisgames.com and read-only JSON
for world 100 behind Keycloak (realm role aevolution-admin, audience
aevolution-admin, client aevolution-admin-portal): accounts with session,
status, lives, deaths, resets and mutation choices; one account's lives; the
world's regions; and a live 2D region view of cells, wildlife, pools and
bubbles. The portal is plain HTML/CSS/JS with PKCE sign-in, a strict CSP and
no third-party code.
- Schema 61: three bounded SECURITY DEFINER read functions, fenced in the
privilege audit; no table or existing function changes.
- Cellular regions answer GET /admin/view on the ops port (NetworkPolicy:
Prometheus and the admin portal only); CellularLives::extent_of reads the
existing phenotype budget. No simulation, checkpoint or wire change.
- TokenVerifier takes an optional realm role and returns the email; the ops
server's response bound is configurable (16 KiB default unchanged).
- DEV component admin-portal-dev (Deployment, Service, NetworkPolicies); the
Ingress and the aevolution-admin-pg Secret are created out of band.
- CI scripts pinned to schema 60 now expect 61.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>