Files
aevolution/schemas/cellular-lives-v11.md

29 lines
1.8 KiB
Markdown
Raw Permalink Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Cellular owner format 11: recorded revamp declarations
Authority: [ADR-0179](../docs/adr/0179-cellular-gameplay-revamp.md) and
[ADR-0181](../docs/adr/0181-cellular-reproduction-safety.md). Magic `AEVCLV11`,
rules 13, raw bundle 15 and trace 4. Format 10's light/liquid fields remain intact.
The revamp header follows its liquid block at byte 444. Its rules and spent pool
occupy 120 bytes; growth declaration, offers, catalog bounds, cadence, 49 mutation
entries, reproduction and organism settings follow. The complete header is 4,644
bytes before spawn sites and life records. Existing lengths, checksum and bounds
remain authoritative in `cellular_lives.cpp`.
The reproduction-safety revision uses formerly reserved little-endian u32 words:
| Offset | Declaration | Accepted values |
| ---: | --- | --- |
| 568 | Safety simulation-law revision | 0 historical; 1 safety trial |
| 600 | Protected growth fuel, seconds of resulting-body full demand | 0 for revision 0; 1–3,600 for revision 1 |
| 624 | Mutation offspring launch speed, micrometres/second | 0 for revision 0; 1–10,000 for revision 1 |
Unknown revisions or inconsistent declarations are rejected. Revision 0 encodes
the same zeros as historical files and preserves historical split/fee/growth
semantics exactly. Revision 1 interprets the existing split-share field as the
controlled cell's share and enables the behavior defined by ADR-0181. It does not
alter genome schema, body construction prices, organism mutation or session bytes.
Launch motion is stored in the existing per-life motion record; no transient
immunity or unrecorded timer exists. Replay uses the stored declarations, never
the current tuning file. Old readers reject revision-1 files at reserved words;
retain the writing build. Opening upgrades retain their audited source and target.