Bud unowned wildlife from the cellular owner under rules 4
Owner format 5 / rules 4 (ADR-0125) adds the bud intent: after the tick's mutations a parent pays fund_bud's investment and provision, and the bud is placed touching it with the next region-namespace identity, the parent's current genome and its parent life. Buds are wildlife with no account and never earn mutation offers; restore enforces the identity namespace and sequence. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -72,6 +72,20 @@ cause. The checkpoint manifest pins these as cellular version bundle
|
||||
founder 1, archive 2, mutation_state 1}` with the revision history profile
|
||||
(schema v34).
|
||||
|
||||
### Format 5 (rules 4, ADR-0125)
|
||||
|
||||
Magic `AEVCLV05`, format 5, rules 4: format 4 plus budding. The envelope header
|
||||
is 220 bytes: the 212 above, then the u64 next bud sequence (at least 1). Each
|
||||
life record is 488 bytes, the format 2/3 record followed by the u64 parent life;
|
||||
each corpse record is 124 bytes, the format 4 record followed by the u64 parent
|
||||
life. A founder has parent 0, an account and an allocated identity below 2^63. A
|
||||
bud has a non-zero parent, the zero account, an empty mutation progress and
|
||||
equal life, organism and event identities of the form
|
||||
`2^63 + region * 2^32 + sequence` with `1 <= sequence < next bud sequence`;
|
||||
regions above 2^31 - 1 have no bud identities. Restore refuses a bud identity
|
||||
outside that range, an owned bud, an unowned founder, and wildlife with
|
||||
mutation progress.
|
||||
|
||||
## Restore validation
|
||||
|
||||
The decoder checks envelope bounds and checksum, identity/tick, versions,
|
||||
|
||||
Reference in New Issue
Block a user