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>
1.8 KiB
Agent working agreement
Read docs/PROJECT_VISION.md, docs/engineering/ENGINEERING_CONSTITUTION.md, relevant docs/architecture files and docs/adr records before code changes. Inspect public headers and related tests. State affected modules before editing.
Authority: founding brief → architecture → scoped accepted ADRs → public contracts → tests → implementation. Recommendations and experiments must not silently become locked game rules. Stop expanding affected implementation if you discover an architectural conflict; document it and propose a resolution.
Keep the headless library independent of graphics, Steam, network, database and Kubernetes. No gameplay, server or renderer is part of the foundation proof. Do not add placeholder services or arbitrary third-party dependencies. Dependencies need version/license/maintenance evidence and appropriate ADRs.
Public API changes update docs/tests/callers together. Use CMake presets, CTest, clang-format, clang-tidy and relevant sanitizer checks. Read README.md for exact commands. Tests must work under NDEBUG. Do not replace a golden merely to make a test pass; explain the simulation-version change and compatibility implications.
Never deploy, reset or prune World0 from routine development. Never commit secrets. Do not claim checks passed unless they actually ran; record environmental limits in docs/engineering/VALIDATION.md. Preserve uncommitted work by others.
After each completed and validated gate segment, commit its scoped changes and push to the configured Git remote. Preserve unrelated untracked work; never stage secrets. The dev session window lives in SQL and is opened from the admin portal (ADR-0087 amendment of 2026-10-27); Git carries no window. Do not deploy or claim live reachability from a Git update alone.