Add fenced durable primitive life reservations (M11.2c-1)
Foundation / checks (deploy) (push) Successful in 14s
Foundation / checks (ecs) (push) Successful in 2m3s
Foundation / checks (postgres) (push) Canceled after 0s
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 (checks) (push) Canceled after 5m17s
Foundation / checks (client) (push) Canceled after 5m17s
Foundation / checks (network) (push) Canceled after 2m57s
Foundation / checks (deploy) (push) Successful in 14s
Foundation / checks (ecs) (push) Successful in 2m3s
Foundation / checks (postgres) (push) Canceled after 0s
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 (checks) (push) Canceled after 5m17s
Foundation / checks (client) (push) Canceled after 5m17s
Foundation / checks (network) (push) Canceled after 2m57s
This commit is contained in:
+7
-5
@@ -1,6 +1,6 @@
|
||||
# Project status and next steps
|
||||
|
||||
## Current gate - 2026-10-09 (M11.1)
|
||||
## Current gate - 2026-10-09 (M11.2)
|
||||
|
||||
ADR-0098 records the maintainer's decisions for the first playable cellular loop:
|
||||
- **Budding:** the parent keeps control and funds one wildlife bud.
|
||||
@@ -15,7 +15,7 @@ ADR-0098 records the maintainer's decisions for the first playable cellular loop
|
||||
- **Birth cost:** a first bud fundable within a session (a tunable playtest target).
|
||||
- **Friend recognition:** deferred.
|
||||
|
||||
11.1's ratified engineering half, time-based biological rates, is under way (ADR-0099;
|
||||
11.1's ratified engineering half, time-based biological rates, is complete (ADR-0099;
|
||||
the maintainer chose directional rounding):
|
||||
- **Segment 1 (done):** `accounting/rates.hpp` converts a per-second rate to a per-tick
|
||||
amount without saved state. Costs round up and capacities down, so rounding never
|
||||
@@ -33,7 +33,7 @@ the maintainer chose directional rounding):
|
||||
second. A full-grown founder that pays full-speed movement throughout funds its first
|
||||
bud in 5, 10 and 15 minutes when feeding 100%, 50% and 33% of the time (ADR-0099).
|
||||
11.1 is complete.
|
||||
- **Next:** 11.2, primitive lives and persistent control. Server side only; client UI
|
||||
- **In progress:** 11.2, primitive lives and persistent control. Server side only; client UI
|
||||
parts of 11.x are deferred to the maintainer. Its
|
||||
[delivery plan](engineering/M11_2_DELIVERY_PLAN.md) and accepted
|
||||
[ADR-0100](adr/0100-primitive-lives-and-persistent-control.md) identify the new
|
||||
@@ -42,8 +42,10 @@ the maintainer chose directional rounding):
|
||||
11.2a adds in-memory funded creation: full-grown primitive founders, equal
|
||||
energy-only reserves, conserved pool/body/heat and exact successful retries.
|
||||
11.2b adds a bounded creation-state checkpoint codec with full inventory/archive
|
||||
closure and exact retry recovery. Durable publication, world-wide binding and
|
||||
session integration remain.
|
||||
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.
|
||||
|
||||
Open from M10 (BACKLOG):
|
||||
- the maintainer's native-client observation, moved to the later 2k drill;
|
||||
|
||||
@@ -190,3 +190,16 @@ re-encoding. It refuses unknown versions, mismatched region identity, duplicate
|
||||
life bindings and inconsistent funding. No biological timers exist in this
|
||||
creation-only version; introducing progression requires a new format first.
|
||||
Durable publication and session integration remain 11.2c/d.
|
||||
|
||||
## 11.2c-1: Durable identity reservations
|
||||
|
||||
Schema v15 adds [life reservations](../../schemas/life-reservations-v1.md):
|
||||
one pending request per world/account, world-wide durable identity allocation,
|
||||
exact retries and immutable refusal records. Reservations spend no resources
|
||||
and are never reported as organisms. The owner must provision an audited unused
|
||||
identity range; runtime cannot initialize it. Control/lease expiry is checked
|
||||
after lock waits. This precedes atomic body/checkpoint publication in 11.2c-2.
|
||||
|
||||
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.
|
||||
|
||||
@@ -62,5 +62,15 @@ migration/ownership and process-kill checks when those segments exist. Run netwo
|
||||
presets whenever a replicated type changes. Record unavailable environments.
|
||||
Local checks do not close ADR-0097's reference-worker qualification.
|
||||
|
||||
This initial review changes documentation only. No spawn, migration, provisioning
|
||||
or biological implementation has been performed.
|
||||
## Progress
|
||||
|
||||
- 11.2a: funded in-memory creation, committed as `69101a7`.
|
||||
- 11.2b: creation-state codec, committed as `48684d3`. Published checkpoint profile
|
||||
registration is still required with 11.2c-2; this codec alone is not durability.
|
||||
- 11.2c-1: schema v15 reservations/identity allocation and durable refusals. These
|
||||
spend nothing and do not publish an organism. Focused PostgreSQL tests and the
|
||||
full migration/process, backup/restore, upgrade and privilege regressions pass.
|
||||
- 11.2c-2 and 11.2d remain: atomic funded checkpoint publication, reconciliation,
|
||||
host/session integration and crash-boundary qualification.
|
||||
|
||||
No deployed world has been provisioned or changed by this work.
|
||||
|
||||
@@ -5514,3 +5514,32 @@ Windows MSVC release 62/62 CTest checks, clang-tidy 19 on the two changed source
|
||||
files, repository format-check and `git diff --check`. All passed. The Linux
|
||||
full-suite results from 11.2a are not claimed as new codec runs. No wire type or
|
||||
deployed profile changed; no deployment occurred.
|
||||
|
||||
## 2026-10-09 — M11.2c-1 durable life reservations
|
||||
|
||||
Schema v15 adds a world allocator, one pending reservation per account and
|
||||
retained refusals. Reservation success allocates identity only; it neither spends
|
||||
funding nor publishes a body. Dedicated real-PostgreSQL tests cover independent
|
||||
connections/regions, concurrent retries, takeover routing, stale generations,
|
||||
expiry after allocator lock waits, exhaustion, rollback, immutable refusal
|
||||
results and runtime table-access rejection.
|
||||
|
||||
Executed successfully:
|
||||
- Focused `tools/ci/postgres-check.sh --life-reservations-only` against a fresh,
|
||||
disposable PostgreSQL 18.6 cluster, including the final exhaustion/rollback cases.
|
||||
- Full GCC 14 PostgreSQL/QUIC build in `build/m97-postgres`, then the complete
|
||||
`tools/ci/postgres-check.sh build/m97-postgres/evo-postgres-tests`: adapter,
|
||||
lease/control, checkpoint, host/session, process-kill, recovery, clone, migration,
|
||||
backup/restore, host-loss, upgrade, constraints and effective privilege checks.
|
||||
Log: `/tmp/m112c-pg-correct.log` in WSL; final success marker verified.
|
||||
- Shell syntax checks and CI path-selection regression checks (16 cases).
|
||||
- Clang 19 clang-tidy on `tests/region_migration_tests.cpp` using the Clang
|
||||
PostgreSQL compilation database, repository format-check and `git diff --check`.
|
||||
|
||||
Environment: WSL required escalated access. An earlier run selected an obsolete
|
||||
build cache with PostgreSQL disabled and was stopped; it is not counted. An initial
|
||||
clang-tidy invocation used a GCC compilation database and rejected GCC module flags;
|
||||
the proper Clang database completed cleanly. No sanitizer rerun is claimed for this
|
||||
SQL subsection; prior lifecycle sanitizer results remain recorded above. No wire
|
||||
type changed. All database work used disposable local clusters; no world deployment,
|
||||
reset or provisioning occurred.
|
||||
|
||||
Reference in New Issue
Block a user