Implement M5.5 atomic terrain excavation and debris accounting

This commit is contained in:
dingo
2026-09-26 14:56:44 -04:00
parent 25ac646f93
commit 8b5bf48795
19 changed files with 770 additions and 30 deletions
+30
View File
@@ -1502,3 +1502,33 @@ accounting excludes allocator/runtime overhead and is not an RSS cap.
Linux CI/UBSan and target-host performance have not been run locally. No deployment
or World0 change occurred. Next: M5.5 accounted transactional edits.
## M5.5 transactional excavation - 2026-09-26
Added bounded atomic excavation, finite per-material debris volume, full-payload
retry identity and a 64-command replay ring under ADR-0046. Existing biology/world
base goldens and persisted formats were not changed. Formatter coverage now includes
private headers under src, including the shared chunk-state definitions.
Executed on Windows x64 / MSVC 19.44:
- `tools/windows-check.ps1 -Preset release -Action check`: 44/44 passed, including
the final late-source-failure test and nonthrowing commit static assertions.
- `tools/windows-check.ps1 -Preset analysis -Action check`: clang-tidy 19 build and
44/44 passed. After the final targeted additions, rebuilt analysis and reran
`ctest --test-dir build/analysis -R world-edit-contracts --output-on-failure`: passed.
- `tools/windows-check.ps1 -Preset asan -Action check`: 44/44 passed. After those
additions, rebuilt ASan and reran the same targeted test in build/asan: passed.
- `tools/windows-check.ps1 -Preset release -Action format`: passed.
- `git diff --check`: passed.
Coverage includes seam-crossing excavation, four chunks/64 cuts, partial fills,
rock/regolith volume conservation, all-or-nothing capacity/memory/source failures,
missing/stale revisions, duplicate/changed requests, malformed bounds and retention
expiry. Late source failure verifies an earlier prepared chunk is not published.
No allocator failure injection, revision exhaustion injection or crash recovery is
claimed. The source/replacement commit operations have compile-time nonthrowing guards.
Linux CI and UBSan were not run locally. These are typed volume transfers, not a
validated density/mass/chemistry model. No deployment or World0 modification occurred.
Next: M5.6 canonical snapshots/edit journals preserving geometry, debris and retry state.