Add durable primitive life owner lookup
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (checks) (push) Failing after 40s
Foundation / checks (ecs) (push) Successful in 1m55s
Foundation / checks (postgres) (push) Failing after 53s
Foundation / checks (tsan) (push) Failing after 33s
Foundation / checks (network) (push) Failing after 3m1s
Foundation / postgres-tools (push) Canceled after 0s
Foundation / server-image (push) Canceled after 0s
Foundation / image (push) Canceled after 0s
Foundation / checks (client) (push) Canceled after 3m53s

This commit is contained in:
dingo
2026-10-11 01:28:24 -04:00
parent 505c424750
commit 636740bc55
10 changed files with 198 additions and 58 deletions
+6
View File
@@ -131,6 +131,12 @@ Local checks do not close ADR-0097's reference-worker qualification.
The Linux/PostgreSQL process suite now provisions an isolated primitive region,
creates a life over v5, restarts the host and checks the same durable result;
execution remains pending CI.
- 11.2d-7a implementation: migration 24 and the typed persistence adapter add
a lease-fenced world/account lookup for the unique unrejected reservation.
It finds the owner before account control can move; pending unpublished
reservations route to their original region and a refused/cancelled-only
history has no active owner. PostgreSQL and migration CI execution remain
pending.
- Cross-region owner routing and reconnect-to-existing-life remain unimplemented.
[ADR-0116](../adr/0116-cellular-life-owner-routing.md) resolves the contract:
resolve the durable world/account owner before claiming control, then reuse
+18
View File
@@ -6537,3 +6537,21 @@ completed with no source-list mismatch, but did not resolve the Ninja hang. No
fresh client binary or local live cellular probe is claimed. The next gate is
the maintainer's short session using [the probe checklist](../playtests/M11_3_CELLULAR_PROBE.md);
11.4 remains gated on its feedback.
## 2026-10-11 — M11.2d-7a durable life-owner lookup (PostgreSQL pending)
Migration 24 adds a `SECURITY DEFINER` owner query that verifies the caller's
current region lease, returns only the unrejected world/account reservation's
region, and grants runtime only function execution. The C++ adapter validates
missing, malformed and multiple-row results. PostgreSQL integration coverage
checks absent accounts, cross-region lookup, a pending reservation, cancellation
after takeover, invalid account IDs, and migration/runtime privileges.
GCC 13.2 strict-warning syntax compilation passed for
`src/persistence/region_lease_store.cpp` and
`tests/life_reservation_store_tests.cpp`; `git diff --check` passed. The
`tests/region_migration_tests.cpp` translation unit cannot compile locally
because the Windows environment lacks POSIX `poll.h`. PostgreSQL/psql, CTest,
and CI have not run for this segment. The CI migration, privilege, and
PostgreSQL integration results remain required before closing the database
gate.