Preserve terminal inventories and add bounded decomposition

This commit is contained in:
dingo
2026-09-20 15:26:58 -04:00
parent 5196c0aadd
commit e17a9a7279
9 changed files with 365 additions and 15 deletions
+17
View File
@@ -254,3 +254,20 @@ implemented. These are co-located synthetic process fixtures.
passed all four jobs for source `b7dd466f57f385d6a8ffccfaa69f639077545587`:
Linux checks, ECS regression, separate TSan and image smoke/publication.
No deployment image pin was changed.
## M2.4 terminal inventory and decomposition (2026-09-20)
Native Release, analysis and MSVC ASan passed 8/8 CTests; formatting passed.
Commands: `tools/windows-check.ps1 -Preset <release|analysis|asan> -Action check`
and Release `-Action format`. Tests preserve corpse inventories on death, suppress
producer activity immediately, reject repeated/invalid terminal events and roll
back death with later invalid feeding. Sixteen seeds × 256 ticks compare a
closed-form depletion reference, reversed terminal-event order, per-tick budgets,
inventories and conservation. Additional cases cover shared corpse/waste limits,
mixed and zero channel caps, u64-maximum inventories, diagnostic rollback, and
returned nutrients funding producer structure on the next tick.
The existing feeding, standalone producer, ledger and particle tests pass unchanged.
This does not validate reaction chemistry, actual death causes, corpse scavenging,
serialized recovery, allocation-failure injection or persistent history. There is
no deployment change. Linux CI is pending source push.