Keep every lineage, and never call absence extinction
M3.5 retains the genomes M3.4 produces and the organisms that carried them. The named risk is deleting extinct genomes, so the answer is structural: LineageArchive has no removal operation at all, not a guarded one and not a private one. Retention is a property of the interface rather than a rule someone has to remember, which is the only form of "keep extinct genomes indefinitely" that a later change cannot quietly undo. Four concepts assert that, with a positive control so the check is known to be live rather than vacuous. Admission requires the parent to be present, so ancestry never dangles and the parent graph is acyclic by construction: a cycle would need one of its members admitted before itself. A duplicate identity is refused rather than overwritten, because overwriting is deletion renamed. Organism identity and genome identity stay separate. A death is terminal for the organism and touches nothing about the genome it carried; ancestry, descendants and divergence all resolve afterwards. The quieter risk is calling something extinct that is merely unobserved. The archive reports living or absent and has no third answer: terminal extinction is a policy judgement over a reconciled watermark covering suspended members, eggs, spores and in-flight transfers, none of which this type can see, so the word does not appear in the API. Absence is also reversible, and a test shows a lineage regaining a carrier. Capacity is bounded and admission fails loudly at the limit, since refusing to record is not deleting but a silent drop would be. The roadmap lists an NPC-mutation decision as a dependency, and OPEN_QUESTIONS leaves it open until M12. It stays open: the archive records an origin event and never an actor, so whether an NPC may diverge changes nothing here. Two clang-tidy findings were fixed rather than suppressed. std::map members made the archive's move potentially throwing, because MSVC's map move constructor allocates; sorted vectors replaced them. A wrapper struct holding a Genome by value had the same problem, since ADR-0030 made Genome copy-only, so genomes are stored directly under their own id(). The redundant carrier tally went with it: carriers are counted from the organism records, so no second tally can drift. Native Release, clang-tidy analysis, ASan and format checks pass 21/21. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
+7
-1
@@ -89,7 +89,13 @@ itself, drawn uniformly without replacement from a recorded context and returned
|
||||
in canonical order with nothing ranked. Selection regenerates the offer and
|
||||
refuses a changed context rather than substituting. Candidate count, mutation
|
||||
cost as a game rule, inherited versus acquired expression, NPC mutation and
|
||||
recombination stay open, and no organism mutates yet.
|
||||
recombination stay open, and no organism mutates yet. M3.5 keeps what M3.4
|
||||
produces (ADR-0034): an archive with no removal operation at all, so retention is
|
||||
a property of the interface rather than a rule. A genome outlives every organism
|
||||
that carried it, ancestry and descendants resolve through dead links, and a
|
||||
lineage with no living carrier is reported absent and never extinct, because
|
||||
terminal extinction needs a reconciled watermark this type cannot see. NPC
|
||||
mutation stays undecided: the archive records an origin event and never an actor.
|
||||
|
||||
## M3 — Genome v0.1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user