M12.6: add bounded regional cellular census and lineage queries
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m33s
Foundation / checks (network) (push) Successful in 21m15s
Foundation / checks (client) (push) Successful in 22m8s
Foundation / checks (tsan) (push) Successful in 25m2s
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 38m24s
Foundation / checks (postgres) (push) Canceled after 38m24s

This commit is contained in:
dingo
2026-10-18 13:57:52 -04:00
parent df680810af
commit da39fc8095
17 changed files with 757 additions and 4 deletions
+3 -3
View File
@@ -4,16 +4,16 @@ Requested scope: ecological identity, population qualification, durable automati
tier transitions, unattended scheduling/migration and environmental coupling.
Commit and push each validated scoped segment separately.
## Gate status (2026-10-17)
## Gate status (2026-10-18)
| Subset | State | Evidence or condition for completion |
|---|---|---|
| 12.1 | Engineering evidence policy and explicit deferrals documented | ADR-0133, identity/time contract and worked histories; no new game rules or runtime versions. |
| 12.2 | Exact local model selected and paired qualification implemented (12.2d); production cost gate open | ADR-0139, exact canonical equality across 196,608 paired ticks per platform. Regional approximation disabled; no compression claim. Deployment-host capacity and fuller interaction coverage remain open. |
| 12.3 | Exact population profile/trace/store and opt-in host integration implemented (12.3b) | ADR-0142, schema 44; exact publication/recovery, mutation race guards, ambiguous replies and process kills. Executable/network population fault drills and target-host qualification remain open. |
| 12.4 | Unattended demand/pacing plus owned population interval admission/recovery implemented (12.4b) | ADR-0143/schema 45; bounded durable pending work, exact settlement, replacement-owner and uncertainty tests. Biological migration escrow and boundary/stock-in-transit evidence remain open. |
| 12.4 | Owned intervals and durable paired migration/fault qualification implemented in scoped segments through 12.4l | ADR-0143–0149/schema 49; bounded admitted work, source freeze, staged ghost, atomic pair and exact recovery, local TLS and storage faults. Multi-host/orchestrator, linked ecology and integrated stock audits remain open. |
| 12.5 | Blocked on 12.2-12.4 | Finite M6 process fixtures do not qualify coupled persistent cellular/cohort atmosphere/water budgets. |
| 12.6 | Existing local archive retained; integrated population history open | World-level durable event/query/client path remains required. |
| 12.6 | Local archive plus regional resident/presence/cohort census and exact/descendant queries implemented (12.6a) | ADR-0150; local detached observations exclude departed history from stock. Commit/branch binding, atomic durable events and world-level query/client path remain required. |
| 12.7 | Evidence policy defined; reconciler open | Complete durable world watermark and every viable/in-flight store remain required. |
| 12.8 | Not qualified | Actual multi-day integrated ecology/restart/clone evidence remains required. |
| 12.9 | Not accepted | Returning-player product evidence and expansion review remain required; World0 stays separately blocked. |
+9 -1
View File
@@ -27,7 +27,7 @@ or authorize production enablement.
| 12.3 | Dedicated population profile/trace/store/owning host; exact recovery and private PostgreSQL fault tests | Population-specific executable/network fault drills and target-host publication/capacity qualification. |
| 12.4 | Owned intervals; exact transfer/accounting; durable atomic pair/recovery; independent loopback TLS path loss and owner expiry/replacement/heal; local object sync/read-failure matrix | Multi-host/kernel-network, storage-host and orchestrator drills, linked-boundary contracts and integrated ownership/stock audits at scale. |
| 12.5 | Finite cellular contact feeding/decay and separate M6 producer/consumer resource owner | One jointly owned cellular/environment budget, explicit effective depth and source entitlements, versioned water/atmosphere species mapping and producer coefficients, plus closed/open and nutrient-exhaustion comparisons. |
| 12.6 | Retained genome/organism archive with ancestry and common-ancestor queries | Append-only population census/history events in the same durable commit, bounded world history queries/indexing and client presentation; no account power or invented precise statistical ancestry. |
| 12.6 | Retained archive plus bounded regional resident/presence/cohort census and exact/descendant queries (12.6a) | Append-only population census/history events in the same durable commit, bounded world history queries/indexing and client presentation; no account power or invented precise statistical ancestry. |
| 12.7 | ADR-0133's viability/unknown semantics | Durable region-set/watermark reconciliation covering every owned representation, suspended/viable stock and migration escrow. Missing/stale regions must prevent terminal extinction. |
| 12.8 | Deterministic seed/regime drivers and separate-process exact continuation | Reproducible integrated worlds running for actual days, real restarts/clone comparisons and retained accounting/diversity/cost audits. Accelerated tests cannot supply elapsed days. |
| 12.9 | M11 feedback and current UI review retained | Returning-player samples on the integrated ecology and explicit product/3D readiness decision after soak evidence. No M12 product acceptance or World0 promotion is inferred. |
@@ -94,6 +94,14 @@ Finite extra food alone does not close repeated wildlife generations. A versione
growth contract and real multi-generation evidence remain necessary; transfer
tests must not fabricate adult wildlife or silently change the rules to pass.
M12.6a's [regional census projection](../../schemas/ecology/regional-cellular-census-v1.md)
independently implements local current-genome and descendant-closure queries.
It keeps suspended stock and retained zero-carrier ancestry, separates exact cohort
tags from additional ownership, and excludes nonresident history from living stock.
It has no commit/branch/epoch binding or complete world coverage, so it cannot
publish authoritative world history or accept terminal extinction. Durable atomic
history publication and M12.7 reconciliation remain the next history boundaries.
Current expansion readiness: **no-go for M13 integration or World0 promotion**
while these M12 integration/evidence gates remain open. This records the present
engineering evidence, not a substitute for the later maintainer product review.
+12
View File
@@ -1,5 +1,17 @@
# Validation strategy
M12.6a's regional census tests compare per-category counts and body/reserve
inventories with direct individual observations. Cover active/lingering/suspended
controlled lives, real funded wildlife, exact cohort conversion/restoration,
permanent death and empty owners, all 256 resident slots, mutation-current versus
immutable birth genomes, zero-carrier ancestry and sparse IDs whose numeric order
differs from ancestry. Unknown anchor/scope and older biological rules must fail.
Existing migration tests additionally verify nonresident historical counts,
per-member migrant inventory, repeated return trips and imported cohort tags.
Full native regression and relevant ASan/UBSan/Clang checks qualify this portable
projection; durable commit-bound history, complete world coverage and client
queries remain separate M12.6/12.7 gates. No terminal-extinction outcome exists.
M12.4f's checkpoint contract exercises explicit portable bundle-9 to 10 upgrades
for raw owners and a real nonempty cohort with retained policy/sequence. It
requires complete candidate equality, canonical restore, continued batch-2
+50
View File
@@ -1,5 +1,55 @@
# Validation report
## 2026-10-18 - M12.6a bounded regional census and lineage queries
ADR-0150 adds a detached rules-8 regional projection, with explicit presence and
representation categories, per-channel living body/reserve stock, exact/current
genome and descendant-closure queries, zero-carrier retained ancestry and separate
nonresident historical counts. A const archive genome span permits bounded sparse
enumeration without a scan to the largest ID. No archive removal/mutable access,
biological rule, persistent codec or database publication is added. See the
[projection contract](../../schemas/ecology/regional-cellular-census-v1.md).
Executed locally:
- Native MSVC Release full CTest **79/79 passed**, **13.97 s**, with NDEBUG.
- GCC 14 Release census, lineage and migration contracts **3/3 passed**, **2.45 s**,
including the final funded two-step mutation ancestry case and NDEBUG checks.
- Linux Clang 19 ASan/UBSan lineage, population, census and migration contracts
**4/4 passed**, **76.78 s**, without reports. After the final ancestry/sentinel
test addition, the census sanitizer test passed again, **21.66 s**.
- Explicit clang-tidy 19 on the implementation and census/lineage/migration tests
passed with no owned warnings; repository clang-format 19 and `git diff --check`
passed. No new warning suppression was added.
Direct individual observations independently check category counts and every
body/reserve channel. Actual funded mutations distinguish immutable birth and
current genomes; the grandchild's sparse ID is numerically below its parent's.
Exact-genome zero retains its ancestor while a descendant query finds the living
successor. Active, lingering and suspended controlled stock stays distinct.
Real wildlife collapses/materializes without a second inventory; cohort restore
reproduces the same rows. Death leaves history but no living count. Empty worlds,
all 256 resident slots, unknown anchors/scopes and unsupported legacy rules are
covered. Migration tests audit departed historical records, exact individual
migrant inventories, 100 return transfers and imported envelope-2 cohort tags.
Initial test setup incorrectly supplied zero capacity to the shared empty-opening
fixture; it now provisions positive capacity with no births. The first direct
analysis invocation lacked CMake-generated module scan maps. A separate scan-free
Clang compilation database resolves that tooling issue. An explicit named invalid
scope sentinel replaces the analyzer's rejected out-of-range literal test cast;
the API still rejects every scope other than exact or descendants.
Limits: this is a portable in-memory observation, not a durable historical event,
committed evidence envelope, client query service or globally complete census.
No commit/epoch/branch/watermark binding or terminal-extinction outcome exists.
Archive capacities bound the algorithm; maximum-depth history performance on the
deployment host is not measured here. No new PostgreSQL, TSan, Docker or remote-CI
result is claimed; no thread or I/O path is introduced. Goldens and retained
biological formats are unchanged. Linked ecology/maturation, durable history,
world reconciliation and actual elapsed-day soak remain open. No deployment or
World0 action; unrelated `Build_Errors.txt` and `tash drop` remain untracked.
## 2026-10-18 - M12.4l migration object sync/read failures
Test-only qualification extends ADR-0147–0149 using the existing filesystem