M12.6: add scoped multi-region cellular census queries
Foundation / checks (deploy) (push) Successful in 5s
Foundation / checks (ecs) (push) Successful in 2m22s
Foundation / checks (network) (push) Successful in 20m57s
Foundation / checks (client) (push) Successful in 22m5s
Foundation / checks (tsan) (push) Successful in 24m37s
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 45m14s
Foundation / checks (postgres) (push) Canceled after 45m8s

This commit is contained in:
dingo
2026-10-18 15:11:51 -04:00
parent a180c41ae7
commit 82568da9cd
20 changed files with 621 additions and 4 deletions
+1 -1
View File
@@ -13,7 +13,7 @@ Commit and push each validated scoped segment separately.
| 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 | 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 | Regional census/lineage queries and replayed commit-bound history pages implemented (12.6a/b) | ADR-0150/0151; existing atomic biological commits are the durable events. Fixed regional watermarks and full replay bind observations; world/branch context, cross-region query/index costs and client path remain required. |
| 12.6 | Regional census/lineage queries, replayed commit-bound history pages and scoped multi-region queries implemented (12.6a-c) | ADR-0150–0152; atomic biological commits are the durable events. Fixed regional cuts and full replay bind observations; declared sets reject missing/stale/conflicting identity or duplicate residents. Durable world/branch coverage, reconciled migration cuts, target-host query/index costs and 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. |
+8 -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 archive, bounded regional census/lineage queries and fully replayed census history pages from atomic biological commits (12.6a/b) | World/branch history context and cross-region query/index qualification, client permission/presentation path and deployment-host query costs; no account power or invented precise statistical ancestry. |
| 12.6 | Retained archive, regional census/lineage queries, replayed commit-bound history and bounded scoped multi-region queries (12.6a-c) | Durable world/branch history context and required-region coverage, reconciled migration cuts, target-host query/index qualification and client permission/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. |
@@ -107,6 +107,13 @@ is not an external branch identity or complete world watermark. World-level
history context/queries, client presentation and M12.7 reconciliation remain open;
neither primitive accepts terminal extinction.
M12.6c adds [scoped multi-region queries](../../schemas/ecology/scoped-cellular-census-set-v1.md)
over 1..64 explicitly declared regions. Exact coverage and simulation boundaries,
complete shared-genome identity and disjoint resident organism IDs are checked
before querying. Nonresident historical records add no living stock. A required
list supplied by a caller is still not durable world coverage; equal ticks alone
cannot prove a consistent migration cut or branch. This does not close M12.7.
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.
+11
View File
@@ -1,5 +1,16 @@
# Validation strategy
M12.6c's scoped census-set contract compares declared-region queries with direct
resident count/body/reserve oracles. Require missing/extra/duplicate regions,
every boundary field, unknown/invalid scope, conflicting immutable successor IDs,
repeated permanent resident IDs, detached observations and the 64-region work
bound. Real funded transfers must preserve stock across the combined set while
source-plus-incoming-copy observations fail. Committed raw/cohort histories
must also compose after full recovery. A refused set yields no partial/zero
total. Native Release, Linux Release, relevant ASan/UBSan, private population
history integration and Clang analysis/format qualify this read-only change.
No global coverage or terminal-extinction claim follows from these checks.
M12.6b's private PostgreSQL history tests require exact fixed-watermark pagination
after new no-tick publications, preserved genesis/profile/migration cuts, unchanged
heads/stock and repeated event identity. Invalid limits, false cuts/regions/frames,
+56
View File
@@ -1,5 +1,61 @@
# Validation report
## 2026-10-18 - M12.6c scoped multi-region census queries
[ADR-0152](../adr/0152-scoped-cellular-census-sets.md) adds a portable detached
query over exactly 1..64 declared regions at one exact simulation boundary.
Missing/extra/duplicate regions, mismatched boundaries, conflicting complete
immutable genome records and duplicate permanent resident organism IDs refuse
construction. Queries preserve resident categories and checked count/body/reserve
sums. Unknown anchors remain errors; retained zero-carrier ancestry can report
scoped zero. Nonresident history is counted only as record occurrences.
Executed locally:
- MSVC **19.44.35217.0** Release full CTest **79/79 passed**, **14.56 s**;
final census rebuild/contract passed after the analysis-only test correction.
- GCC 14 Release census/migration contracts **2/2 passed**, **2.48 s**.
- Clang 19 Linux **ASan/UBSan**, same contracts **2/2 passed**, **66.57 s**,
without sanitizer reports.
- Optional GCC persistence/process targets rebuilt; private PostgreSQL population
qualification **exit 0**, **19 s** (15 s population phase). Committed raw/cohort
paired migration histories compose after full recovery and preserve resident
lineage counts across direction changes. The runner used a fresh isolated
temporary cluster and stopped it on exit.
- Explicit clang-tidy 19 covered both census sources and census, migration and
population integration tests. It found a missing defensive default in an integer
test selector; that was fixed and affected tests rechecked without owned warnings.
Repository clang-format 19 and `git diff --check` passed.
Real funded mutation successors exercise conflicting world genome identities;
funded migration checks every resident category's count/body/reserve, excludes
departed history, retains suspended stock and permits mixed raw/cohort observations.
A source plus incoming destination copy fails duplicate ownership checks.
Declared coverage, all boundary fields, unknown/invalid scopes, known absence,
detachment and the 64-region work bound are exercised under NDEBUG.
The first test fixture incorrectly supplied unequal founder allocation IDs;
public birth validation rejected it. Tests now use valid funded births/mutations,
without bypassing biology. The initial sandboxed native run could not create
existing hard-link fixtures; the complete rerun with filesystem access passed.
No golden, biological rule/format, SQL schema, dependency or ownership change.
Limits: the required list is caller-declared, not a durable complete world catalog.
No external branch identity or reconciled cross-region migration watermark is
supplied. Equal-tick source-after/destination-before cuts can omit a migrant;
duplicate detection alone cannot prove completeness. This API accepts neither
world absence nor terminal extinction. Client permissions/presentation and
deployment-host query/index costs remain open. No new TSan, full SQL/backup/DR
matrix, remote CI, multi-host drill or multi-day soak was run for this portable
read-only change; M12.6b retains the preceding full persistence regression.
No deployment, live database or World0 action.
Logs: `build/m126c-final-native.log`, `build/m126c-final-native-census.log`,
`build/m126c-final-gcc.log`, `build/m126c-final-asan.log`,
`build/m126c-postgres-build.log`, `build/m126c-postgres.log`,
`build/m126c-tidy.log`, `build/m126c-final-tidy.log`,
`build/m126c-final-format.log`.
## 2026-10-18 - M12.6b committed regional census history
ADR-0151 uses the retained immutable biological commit journal as canonical