Implement M6.5c persisted environmental community and bounded writers

This commit is contained in:
dingo
2026-09-27 13:07:35 -04:00
parent e9ea388cef
commit 364c090bc8
16 changed files with 970 additions and 42 deletions
+37
View File
@@ -1839,3 +1839,40 @@ all passed. `git diff --check` passed. These are specification checks, not runti
integration tests. No C++/CMake/schema change; builds, CTest and sanitizers were not
rerun for this documentation segment. M6.5c/d must supply executable evidence for
rollback, source exhaustion, temperature limits, lifecycle and restored replay.
## M6.5c persisted environmental community - 2026-09-27
Implemented the one-habitat/two-actor fixture and envelope v1, preserving source
identity/rate, residuals, last funded interval, lifecycle, resources and 64 exact
input/report receipts. Restore replays receipts from a historical anchor, validates
reports and compares the final state. Scalar candidate staging commits without
allocation; the world layer checks capacities and conserved totals before publication.
Executed Windows x64 checks:
- Release check: 53/53 CTests passed, NDEBUG enabled.
- Analysis check: clang-tidy/warnings-as-errors build and 53/53 CTests passed.
- ASan check: 53/53 CTests passed.
- After final tight-budget and continuous/restored comparison additions, analysis
ran all 53 tests again; Release and ASan rebuilt and the two environmental
transfer/community tests passed again.
- Release format check passed. No existing golden changed.
Coverage includes hand-calculated capture/growth/feeding, source disabled/unfunded,
frozen residuals, inclusive temperature gates, terminal producer, whole-tick rollback,
exact/conflicting/expired retries, eight deterministic input sequences through 90
ticks, continuous versus restored bytes/reports, every truncation length, corruption,
recomputed-checksum invalid config/anchor/report/count/state, identity and budgets.
M6.5d remains the broader adversarial, long-run and cost qualification gate.
The supplied Gitea log shows GCC 14 Release rejecting transfer_codec.cpp with
-Werror=free-nonheap-object in the vector reserve/push_back path. Changed that writer
and the new process writer to exactly sized buffers, checked writes and final cursor
validation. No warning suppression or resource format change. The next Gitea run must
confirm Linux: Docker's Linux engine was unavailable locally; WSL Ubuntu exists but
has no g++/g++-14, CMake or Ninja. No toolchain installation was attempted. No local
Linux/UBSan/TSan or cluster result is claimed.
Initial native static analysis flagged an unspecified enum base and integer widening
in a size constant; both corrected before the passing analysis runs. No disk/host-loss
recovery, biological maintenance, reproduction or player/offline progression added.