Add M10.3c durable per-world account control (schema v10)
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 1m50s
Foundation / checks (network) (push) Successful in 9m8s
Foundation / checks (client) (push) Successful in 12m10s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (postgres) (push) Canceled after 7m33s
Foundation / checks (checks) (push) Canceled after 18m49s
Foundation / checks (tsan) (push) Canceled after 6m38s

Migration v10 keeps, per world and account, the highest accepted grant serial and
the region session in control with a fencing generation and database-time expiry,
reachable only through claim/renew/release functions under the caller's region
lease. Serials survive restarts and apply across regions; a cross-region takeover
returns a wait so control never overlaps. RegionSessions takes durable control via
a ControlLedger before admitting a session, delays Welcome by the wait, renews, and
closes sessions whose control is fenced or cannot be confirmed in time.
PostgresControlLedger implements the ledger. ADR-0091.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
dingo
2026-10-03 21:50:21 -04:00
co-authored by Claude Opus 5.5
parent db19e0bb85
commit 890c57a77f
23 changed files with 1085 additions and 55 deletions
+5 -2
View File
@@ -21,8 +21,11 @@ session grants verified with public keys only, the identity adapter and grant is
library, and per-region session control (newest grant wins and replaces the old session,
replay and stale grants refused, in-session refresh, attempt rate limits). M10.3b adds the
session login over QUIC (session-v1: Hello, Welcome, Refresh, Close with reasons) on both
the region and client side, tested end to end on loopback. Next: the durable control
lease (10.3c).
the region and client side, tested end to end on loopback. M10.3c adds durable per-world
account control (schema v10): grant serials survive restarts and apply across regions,
cross-region takeover waits out the previous holder, and sessions close when their
control is fenced or cannot be renewed. Next: M10.4 intentions and durable outcomes,
including wiring M10 sessions into evo-server and the client.
## Previous gate - 2026-10-02