Add atomic conserved energy and elemental inventory ledger

This commit is contained in:
dingo
2026-09-19 19:42:29 -04:00
parent 7e0aa4d057
commit 8fd3591b0e
12 changed files with 517 additions and 7 deletions
+3 -1
View File
@@ -21,6 +21,7 @@ network service. Dev verification manifests are separate from the simulation.
- [Opt-in ECS evaluation and measurements](docs/engineering/ECS_EVALUATION.md)
- [Sequential command scheduling and recovery](docs/architecture/SCHEDULER_CONTRACT.md)
- [Local periodic spatial queries](docs/architecture/SPATIAL_CONTRACT.md)
- [Energy/matter model and implemented ledger boundary](docs/biology/ENERGY_MODEL.md)
Read [AGENTS.md](AGENTS.md) before changing code. Architecture and contracts are
authoritative over implementation. No external runtime library is needed for
@@ -78,7 +79,8 @@ restore. See [testing strategy](docs/engineering/TEST_STRATEGY.md) and
`include/evo` exposes core values and the headless simulation API.
`src/simulation` implements component state, tick ordering and local snapshot
codec. `apps/evo-sim` owns CLI/file I/O and reporting. `tests` holds contract,
codec. `src/accounting` provides the independent finite-inventory ledger;
it is not yet part of particle snapshots. `apps/evo-sim` owns CLI/file I/O and reporting. `tests` holds contract,
fuzz and measurement programs. Future biology, world, networking and persistence
modules are documented boundaries; they are added when they have real behavior.