Add primitive profile region host
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 1m57s
Foundation / checks (checks) (push) Failing after 3m43s
Foundation / checks (tsan) (push) Canceled after 0s
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 3m2s
Foundation / checks (network) (push) Canceled after 4m39s
Foundation / checks (client) (push) Canceled after 6m48s

This commit is contained in:
dingo
2026-10-10 14:29:22 -04:00
parent ea07d7c1f5
commit 4f49c54232
8 changed files with 679 additions and 13 deletions
+5 -1
View File
@@ -45,7 +45,11 @@ the maintainer chose directional rounding):
closure and exact retry recovery. 11.2c-1 adds durable identity reservations,
world-wide account exclusivity, and retained refusals under fenced account
control. A reservation spends nothing and is not a spawned organism.
Atomic body/checkpoint publication, life binding and session integration remain.
Atomic body/checkpoint publication and life binding are in the adapter. The
separate profile-3 region host now recovers and durably publishes a new life,
without advancing biology. v5 session integration, runtime profile selection,
and process-kill qualification remain; the v17 PostgreSQL and host integration
tests are waiting on CI confirmation.
Open from M10 (BACKLOG):
- the maintainer's native-client observation, moved to the later 2k drill;
@@ -229,10 +229,9 @@ speculative body state and prevents the old reservation becoming publishable
under a new controller. V5 now gives `existing_life` and `cancelled` durable
result values distinct from query-only `pending` and `unknown`.
Migration v17, its typed query adapter and PostgreSQL tests implement this
contract. Host/session execution, concurrent-process crash qualification and
readiness integration remain outstanding; v5 stays refused by the running
server until those gates pass.
Migration v17 and its typed query adapter implement this contract. Host/session
execution, concurrent-process crash qualification and readiness integration are
separate gates; v5 stays refused by the running server until those gates pass.
## 11.2c-2d: Object-store publication and recovery adapter
@@ -269,3 +268,20 @@ recording life ownership. The portable trace alone does not provide durability.
New-life request IDs use a separate operation namespace from M10 no-effect probe
actions. The future protocol must make that explicit rather than overloading the
existing probe result lookup. This avoids silently changing deployed probe rules.
## 11.2d-3: Primitive region host
`PrimitiveRegionHost` is separate from the environmental/lineage tick host. It
acquires and renews the region lease, becomes ready only after profile-3 recovery,
and applies a new-life command as one creation-only checkpoint batch. Each birth
advances the checkpoint's committed tick by one without advancing biological
state; this is a durable operation boundary, not a simulation tick. The host
reserves under the authenticated account-control generation, constructs a
detached replay candidate, and returns a born result only after the atomic
checkpoint/reservation transaction confirms. Funding and placement refusals are
recorded durably. Exact retries query the stored outcome; an ambiguous publish
retains the exact prepared commit and pauses admission until reconciliation.
This first host slice is not connected to `evo-server` or the v5 session protocol.
Network admission, routing, process-kill qualification and readiness wiring remain
separate implementation gates.
+14 -5
View File
@@ -98,10 +98,19 @@ Local checks do not close ADR-0097's reference-worker qualification.
migration, codec and PostgreSQL tests/docs are updated. Validation is pending:
the affected C++ files were compiled directly with MSVC and the updated network
and QUIC suites passed (2/2 and 5/5). PostgreSQL 18.6 is unavailable here, so
migration and adapter integration tests remain unrun. Host work remains paused
until database validation passes.
- Remaining 11.2d after 11.2d-2 validation: primitive-capable region host,
server admission/execution, crash-boundary qualification and readiness
integration. The generic two-profile host still cannot serve profile 3.
migration and adapter integration tests remain unrun locally; rely on CI for
this database gate before merging or advancing another subsection.
- 11.2d-3 implementation: a separate primitive host acquires/renews the fenced
region lease, recovers profile 3 before readiness, and executes one authenticated
new-life request as a detached replay plus atomic publication. Exact published
retries query the durable result; unknown publication retains and retries the
exact prepared commit, while uncertain/corrupt state withholds readiness. The
host does not advance biology and is not connected to `evo-server` or QUIC yet.
Release/NDEBUG translation-unit compilation and the changed integration-test
translation unit passed locally. Runtime PostgreSQL tests and full CI are pending;
do not enable v5 or claim 11.2d complete until they pass.
- Remaining 11.2d: `evo-server` profile selection/provisioning, authenticated v5
session admission and routing, process-kill qualification and readiness
integration. The generic two-profile host still serves only profiles 1 and 2.
No deployed world has been provisioned or changed by this work.
+18 -2
View File
@@ -5677,5 +5677,21 @@ objects; `ctest --preset network` passed (2/2) and `ctest --preset quic` passed
`psql` and PostgreSQL 18.6 are unavailable in this environment; Docker's Linux
engine is also not running. Schema v17 and its PostgreSQL integration, migration,
upgrade and privilege tests have not run. Do not continue to 11.2d host/session
execution until those database checks pass.
upgrade and privilege tests have not run locally. CI must pass these before the
host/session subsection advances; the maintainer will confirm that result.
## 2026-10-10 — M11.2d-3 primitive region host (CI pending)
Added a separate creation-only `PrimitiveRegionHost`: fenced lease acquisition
and renewal, profile-3 recovery before readiness, durable new-life reservation and
refusal handling, detached replay, atomic publication and exact retry/query
reconciliation. It does not advance biology and is not wired to `evo-server` or
QUIC. Added a real-PostgreSQL integration case for recovery, first birth, exact
retry and world/account exclusivity.
Executed: GCC 13.2 Release/NDEBUG compilation with warnings-as-errors for the new
host translation unit and changed PostgreSQL test translation unit; `git diff
--check`. Both compilations passed. The local Windows shell cannot configure the
Linux-only PostgreSQL target, and this turn did not run the PostgreSQL test binary,
clang-format, or clang-tidy. Awaiting CI for the database, migration, host test and
repository checks; no local runtime pass is claimed.