Implement M6.6 retained corpses and versioned bounded decay
This commit is contained in:
@@ -1,5 +1,21 @@
|
||||
# Environmental community envelope v1 (M6.5c)
|
||||
|
||||
## Version 2 extension (M6.6, ADR-0056)
|
||||
|
||||
Format 2 requires rules 2; format 1 requires rules 1. The v1 layout below is
|
||||
unchanged. In v2 append decay[10] to config (39 u64 total), consumer_terminal
|
||||
to each progress (7 u64; anchor 37 u64), terminal[2] after each input's bite,
|
||||
and consumer_transition plus decomposed[10] after each report's terminal_transition.
|
||||
Each v2 receipt is 38 u64 (304 bytes). Fixed overhead is 712 bytes plus receipts
|
||||
and nested resource bytes. Lifecycle flags are 0/1; decomposed uses source field
|
||||
order. Both versions replay their own rules. V1 rejects nonzero extension fields
|
||||
at creation/input validation; they are not silently omitted. No conversion API.
|
||||
Terminal accounts may retain balances in v2; v1 retains its empty-terminal rule.
|
||||
Caps are whole fg/pJ per tick, not rates requiring fractional carry. Remaining
|
||||
corpse inventory resides in nested resource accounts, never duplicated here.
|
||||
|
||||
## Version 1 layout
|
||||
|
||||
Authority ADR-0055. All integers little-endian, no native struct serialization.
|
||||
Header u64 magic 0x3150434f564541, u64 format=1, u64 total bytes. Maximum 1 MiB.
|
||||
Then config, current progress, audit anchor, u64 receipt count, chronological
|
||||
|
||||
Reference in New Issue
Block a user