feat(persistence): admit durable funded maturation upgrades
Foundation / checks (deploy) (push) Successful in 6s
Foundation / checks (ecs) (push) Successful in 2m24s
Foundation / checks (network) (push) Successful in 20m40s
Foundation / checks (client) (push) Successful in 21m57s
Foundation / checks (tsan) (push) Successful in 26m32s
Foundation / checks (postgres) (push) Successful in 1h3m17s
Foundation / checks (checks) (push) Successful in 1h14m29s
Foundation / postgres-tools (push) Successful in 34s
Foundation / server-image (push) Successful in 4m6s
Foundation / image (push) Successful in 4m52s

This commit is contained in:
dingo
2026-10-19 06:23:51 -04:00
parent a5307c768b
commit 463b091056
25 changed files with 799 additions and 74 deletions
+81
View File
@@ -1,5 +1,86 @@
# Validation report
## 2026-10-19 - Durable funded cellular maturation
[ADR-0158](../adr/0158-durable-cellular-maturation.md)/schema 53 admits bundle 11
through an explicit same-profile, same-tick bundle-10 upgrade. The existing
immutable version journal, fenced head transaction and exact source/target
recovery are reused. Raw trace 3 and population envelope/batch 2 keep their
layouts; no default, DEV provisioning, old golden or numbered migration changes.
The host can continue an explicitly upgraded owner in either representation.
Executed locally:
- MSVC default Release full CTest **81/81 passed, 17.72 s**, with NDEBUG.
- GCC 14 Release maturation/process/manifest contracts **3/3 passed, 1.59 s**.
- Private PostgreSQL raw/population upgrade, publication/history/migration/census
regression and host fault matrix **exit 0, 19 s** (17 s population). The final
raw/cohort pending-handoff upgrade refusal and journal-rollback assertions pass
in a separate complete matrix rerun, also **exit 0, 19 s**.
- Clang 19 ASan/UBSan manifest contracts and complete affected private matrix
passed **exit 0, 55 s** (53 s population), without sanitizer reports. The final
pending-handoff guard rerun passed **exit 0, 56 s** (54 s population), without
reports. These runs use private Unix-socket databases; the full qualification
separately runs the existing loopback TLS migration/storage matrix.
- The full frozen-executable private persistence/process/backup/DR and SQL suite
reported **exit 0, 563 s**: C++ integration/process/load/history **435 s**, TLS
migration/storage faults **44 s**, life reservations **3 s**, backup/restore
**31 s**, host-loss DR **8 s**, upgrade **10 s**, migration history **5 s**,
effective runtime permissions **14 s**, checksum/future refusal **8 s**, plus
setup/migration. It includes schema-53 admission and legacy pre-context restore.
The later test-only pending-handoff assertions passed the separate final
Release/ASan matrices above; no implementation changed after freezing.
- clang-tidy 19 passed on the three changed persistence sources, cellular host,
both checkpoint/publication tests and schema-migration integration tests. The
final pending-handoff assertions passed a separate recheck. Repository
clang-format 19, changed-script `bash -n` and `git diff --check` pass.
The inline outer WSL launcher mishandled its status variable after the full suite
finished and left an empty completion file. The original log contains both the
all-phase success marker and the suite's own `timing (exit 0)` trap. A separate
successful verifier checked that complete final summary, every expected phase
and the exact 563-second total before recording the zero completion result. The
outer runner is now a saved shell file for future use; the original log was
preserved and unchanged tests were not repeated solely for that capture error.
Both profile-4 and profile-5 candidates preserve complete state, policy, cohort
tags and conversion history. Ordinary raw continuation, batch-2 growth and
representation transitions retain bundle 11. A real, player-origin juvenile
increases its realized growth in a funded 64-tick interval, publishes under its
durable admission and recovers byte-identically. Host replacement restores the
upgraded population, settles retained admitted work with no fresh tick debt,
and materializes before returning-player lookup. No biological rule was changed
to manufacture this evidence.
The reused fault matrix covers source-object absence/corruption, a valid but
unequal conserved target, pre-transaction publisher kill, uncertain transaction
retaining exact prepared bytes, duplicate/conflicting requests, ordinary publisher
process loss and exact owner replacement. The maturation cases additionally
reject stale upgrade authority, SQL-level skipped prerequisites and downgrades.
Pending intervals block upgrades. Both raw and cohort prepared handoffs also
block them: the head stays unchanged and no partial upgrade journal row remains.
Pure manifests reject repeated/skipped operations, incompatible tuples and genesis;
rules-8 manifests still reject rules-9 payloads, and unknown rules remain unsupported.
The first private run exposed best-effort shutdown in a deliberately uncertain
host fixture: the next test could not immediately acquire its lease. The fixture
now confirms release through an independent connection before handing authority
to the next test. Another new positive growth test initially omitted its required
durable interval admission and correctly failed EVL18; adding the real admission
made the complete path pass. Neither fix relaxes runtime ownership/admission.
Schema 53 adds no state table and preserves all previous migration bytes. Runtime
can execute only the existing fenced entry points; newly retained parser/publisher
helpers remain private. The legacy history-domain backup fixture restores the
exact pre-53 function definitions/grants before making its pre-context backup.
Biological migration remains bundle 10 only. Rules-9 census is unsupported until
separately qualified, preventing a complete census rather than producing zero
life. Autonomous generations, linked environmental stocks, deployment-host cost,
actual days and product readiness remain open. No live database, deployment or
World0 operation occurred. TSan was not rerun: no shared-memory ownership or
scheduler concurrency changed.
## 2026-10-18 - Portable M12 funded maturation prerequisite
[ADR-0157](../adr/0157-funded-cellular-maturation.md) adds an explicit detached