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>
Online, snapshot-consistent bundles (pg_dump at an exported snapshot, immutable
objects verified by digest, MANIFEST of versions/builds/heads, SHA256SUMS); a
fail-closed restore that audits every region's full history on independent
storage; an isolated rebuild through clones that serves under load; an
operator-run in-cluster backup streamed off the cluster. backup-check.sh runs in
every PostgreSQL build, with corruption, missing-object, tampered-manifest and
non-empty-target refusals. Destination, encryption, schedule and WAL archiving
remain on the backlog.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>