Schema v8 binds authority to builds (ADR-0068): acquisition names the host build and only retained, unretired builds may hold a lease; no commit may name a retired build; upgrade_barrier retires a build and fences every holder in one transaction, while build-less pre-v8 hosts keep working until the first barrier. Tests cover a writer surviving a failed and then a real online migration, old-writer fencing on every path, whole-history recovery by the new build, and the M7 qualification fixture (19.6 s SIGKILL-to-ready under the production lease, no lost acknowledgements). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
7.2 KiB
Architecture decision records
-
ADR-0058: Region durability contract - accepted M7.1 full checkpoint batches and explicit state closure; storage implementation follows.
-
ADR-0057: Environmental interval scheduling - accepted M6.7 bounded explicit intervals and committed-prefix results.
-
ADR-0056: Environmental terminal decay - accepted for M6.6 retained corpses, bounded decay and rules/envelope v2.
Locked requirements outrank these records. Review architecture, ADRs, public contracts, tests, then implementation. Stop expanding implementation on conflict.
Adopted for proof applies only to the bounded initial headless slice. Proposed recommends without adopting a dependency. Deferred requires a named experiment. Later Accepted and Superseded preserve rationale. Proof choices do not silently settle gameplay or production infrastructure.
Records 0001–0015 cover language, build, dependencies, tests/benchmarks, ECS, ticks, randomness, serialization, units, errors, threads, logging, PostgreSQL, messaging and metrics. 0016–0019 cover durability/ownership, networking/security, infrastructure and voxels. 0020 scopes Gitea delivery and the stateless dev Job. Each record has the eight required sections. 0021 authorizes the opt-in ECS comparison only, not a production dependency. 0022 adopts the bounded sequential lifecycle-command scheduler for the proof. 0023 defines local periodic neighborhood queries and a measured linear baseline. 0024 adopts finite, typed energy/matter inventory transfers for M2.1. 0025 scopes finite capture, growth recipes and residual accounting for M2.2. 0026 adds shared community ownership and bounded synthetic feeding for M2.3. 0027 adds terminal inventory ownership and budgeted nutrient return for M2.4. 0028 adopts funded reproduction, bounded slot capacity and retained lineage IDs. 0029 scopes the deterministic ecosystem driver and bounded measured episodes. 0030 adopts the immutable genome v1 record, validation and canonical encoding. 0031 adopts deterministic development, derived phenotype and bounded plans. 0032 derives non-uniform metabolic budgets and the first genome/ledger path. 0033 adopts the bounded mutation catalog and uniform seeded candidate draws. 0034 adopts the permanent lineage archive and absence that is never extinction. 0035 derives strategies from genomes and measures them over a split-half gradient. 0036 defines the tier 2 cohort, its declared resolution and exclusive ownership. 0037 collapses individuals into a cohort as one sampled, ledger-exact transaction. 0038 accounts a proposed interval, refusing rather than clamping, without picking a model. 0039 materializes representatives on shares that round down and ages that never fall. 0040 measures what aggregation costs and refuses to call the result equivalence.
Every dependency adoption records exact version/commit and integrity hash, transitive license obligations, maintenance/security review, owner and removal boundary. Candidate performance and binary-size comparisons are hypotheses until benchmarked. Primary sources were reviewed during the initial September 2026 design. No unadopted candidate is a link dependency of the proof.
-
ADR-0041: Aggregate cost and fidelity budget - M4.6 measurement only.
-
ADR-0042: Local voxel contract - accepted for M5.1; layout and planet mapping deferred.
-
ADR-0043: Bounded chunk layout - accepted for M5; 16-cube uniform/palette/dense geometry.
-
ADR-0044: Abiotic generation - accepted for M5.3 synthetic integer base, version retention and material table.
-
ADR-0045: Bounded chunk ownership - accepted for M5.4 local memory, revision tokens and dirty eviction guards.
-
ADR-0046: Transactional excavation - accepted for M5.5 atomic local volume transfers and bounded exact-request replay.
-
ADR-0047: World codecs - accepted for M5.6 bounded canonical snapshots and detached edit-journal replay.
-
ADR-0048: Local publication - accepted for M5.7 single-writer snapshot/journal publication and recovery.
-
ADR-0049: Bounded world proof - accepted for M5.8 restart regression and cost evidence.
-
ADR-0050: Environmental units and coupling - accepted for M6's bounded habitat/accounting contract; no field storage or terrain conversion yet.
-
ADR-0051: Optional environmental fields - accepted for M6.2 finite sparse pages, local transfers and field snapshot v1.
-
ADR-0052: Environment views - accepted for M6.3 bounded read-only footprint queries and freshness validation.
-
ADR-0053: Atomic environmental transfers - accepted for M6.4 tagged resource ownership, atomic local batches and bounded exact retries.
-
ADR-0054: M6.5 source persistence prerequisite - accepted: coupled codec brought forward into M6.5; M6.5a implemented, rate/biology envelope follows.
-
ADR-0055: Environmental process contract - accepted M6.5b synthetic conversions, source interval policy and process checkpoint boundary; implementation follows in M6.5c.
-
ADR-0059: PostgreSQL bootstrap - accepted for M7.2 optional adapter, pinned server/client, migrations and Secret boundary.
-
ADR-0060: Fenced region ownership - accepted for M7.3 database-time leases, guarded head advance, runtime grants and selected timings.
-
ADR-0061: Checkpoint publication - accepted for M7.4a manifest v1, immutable filesystem objects, OpenSSL SHA-256 and verified recovery.
-
ADR-0062: Lineage checkpoint profile - accepted for M7.4b archive codec, LineageRegion closure and history-capable profile 2.
-
ADR-0063: Batch outcomes - accepted for M7.5 manifest v2, validation trace replay, durable decisions/outbox and commit resolution.
-
ADR-0064: Region host - accepted for M7.6 single-owner host state machine, bounded admission, final-only-after-commit and evo-server process.
-
ADR-0065: Recovery before readiness - accepted for M7.7 head tail replay verification, schema v6 commit lookup and real kill-boundary tests.
-
ADR-0066: Operations endpoints - accepted for M7.8 liveness vs authority readiness, bounded metrics, dependency-free responder and the server image.
-
ADR-0067: Region clones and retained-history audit - accepted for M7.9a re-identified clone genesis naming its source cut, isolated clone databases and full-chain retention audit.
-
ADR-0068: Upgrade barrier and durability qualification - accepted for M7.9b build-bound authority, retirement barrier fencing old writers, explicit refusal of rule/format changes and the measured recovery fixture.