Implement M6.5a coupled resource snapshots and restore

This commit is contained in:
dingo
2026-09-27 09:31:23 -04:00
parent 407477ec06
commit 53e4037587
14 changed files with 396 additions and 9 deletions
+25
View File
@@ -1800,3 +1800,28 @@ ADRs 0050/0051 and 0053. ADR-0054 proposes a resolution; it is not accepted or
implemented. `git diff --check` passed. No source, public API, test, schema or build
configuration changed, so builds/sanitizers were not rerun for this proposal. The
M6.4 validation above remains historical evidence, not M6.5 completion evidence.
## M6.5a coupled resource codec - 2026-09-27
ADR-0054 accepted by the maintainer. Added resource envelope v1 without changing
nested terrain/field formats or existing simulation goldens. Rates are still disabled;
source configuration/residuals and biology join the later M6.5c fixture envelope.
Executed Windows checks:
- Release check: 52/52 CTests passed with NDEBUG.
- Analysis check: clang-tidy/warnings-as-errors build and 52/52 CTests passed.
- ASan check: 52/52 CTests passed.
- After tightening restore to require all mapped chunks already in the snapshot,
Release and analysis rebuilt and environment-transfers-contracts passed again;
the ASan full run includes this final adjustment.
- Release format target passed.
Codec tests cover empty history, 66 transfers crossing the retry-ring boundary,
canonical restored bytes, exact/conflicting/expired retries, equivalent continuation,
all truncation lengths, checksum errors, recomputed-checksum invalid version/counts/
amounts, identity mismatch and each budget. Initial compilation caught missing codec
error enum entries; corrected before the passing runs above.
No Linux/UBSan/TSan, disk crash, allocation-failure injection or cluster validation
was performed locally. Buffer round trips are not durable publication. M6.5b-d remain.