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
+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