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
+9
View File
@@ -132,3 +132,12 @@ fixed-slot, byte-budgeted local store. [The contract](../world/CHUNK_OWNERSHIP.m
specifies construction scratch accounting, current-revision read tokens, regeneration
and dirty eviction refusal. No database, distributed lease or durable acknowledgement
is implied. Cell edits remain M5.5 and persistence M5.6/5.7.
## Implemented M5.5 edit boundary
[ADR-0046](../adr/0046-transactional-excavation.md) implements bounded single-store
atomic excavation, per-material occupied-volume transfer to debris, current revisions,
request digest plus full-payload retry identity, and bounded history with a command
high-water mark. [The contract](../world/TERRAIN_EDITS.md) specifies failure semantics.
No mass/density model or persistence is implied. Debris/retry state must accompany
geometry in M5.6/5.7 recovery, and M6 must reconcile volume with chemical inventories.