Propose mutations without proposing a best build
M3.4 adds the candidate-generation experiment GENOME_MODEL describes: a static catalog of four effects over the seven capabilities, drawn from a recorded context with an explicit stream. The named risk is a hidden best build or offerings biased toward what would help, so the defence is structural rather than asserted. Nothing is ranked: candidates are drawn without replacement by rejection sampling, making every eligible operator exactly as likely as any other, and the result is returned sorted by operator ID. No score exists in the record, position carries no meaning, and nothing about an organism's situation makes a helpful mutation more likely to be offered. Eligibility is not a second rulebook. An operator is eligible when the genome it would produce passes the M3.1 validation unchanged, so prerequisites, required capabilities, ranges and the acyclic development graph are enforced once, where they were defined. Shedding a capability another declares as a prerequisite fails that check with no rule written here to catch it. Range boundaries are refused rather than clamped, since a clamp would make two operators agree and offer a no-op as a choice. The draw reads the parent digest and the context and nothing else, so the same context always returns the same candidates and a retry cannot reroll; a new event index is what earns a new draw. select_mutation regenerates the offer and refuses unless it still matches, so a changed context is rejected rather than answered with a different mutation. Cost is not invented: a candidate reports the successor's own maintenance and mass under ADR-0032, and reserves nothing. The eligible set is pinned by hand from the schema rather than observed, and the uniformity check is confirmed to fail against a draw that takes the first eligible operators. The rejection sampling that removes modulo bias is correct by construction, not test-verified: at this scale the bias is one part in 10^18. That is recorded rather than claimed. No organism mutates and no fixture calls any of this. Candidate count, mutation cost as a game rule, inherited versus acquired expression, NPC mutation and recombination all remain open, as GENOME_MODEL requires. Native Release, clang-tidy analysis, ASan and format checks pass 20/20. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -188,3 +188,46 @@ budgets differing by orders of magnitude make every tradeoff invisible. That is
|
||||
legibility choice for tests, not tuning, and must be re-derived before balancing.
|
||||
A budget is a derived quantity, not a rule: nothing here decides starvation,
|
||||
death or repair, and no organism spends any of it yet.
|
||||
|
||||
## Implemented M3.4 mutation candidates
|
||||
|
||||
[ADR-0033](../adr/0033-seeded-mutation-candidates.md) implements the
|
||||
candidate-generation experiment this document describes, and only that. Four
|
||||
effects over the seven capabilities give a static catalog with stable IDs:
|
||||
adjust a parameter up or down by a hundredth of its declared range, acquire a
|
||||
capability the genome lacks, or shed one it carries.
|
||||
|
||||
Eligibility is not a second rulebook. An operator is eligible when the genome it
|
||||
would produce passes the M3.1 validation unchanged, so prerequisites, required
|
||||
capabilities, ranges and the acyclic graph are enforced once, where they were
|
||||
defined. Shedding a capability another declares as a prerequisite fails that check
|
||||
without a rule written for it.
|
||||
|
||||
Nothing is ranked. Candidates are drawn without replacement by rejection sampling
|
||||
on an explicit SplitMix64 stream, so every eligible operator is exactly as likely
|
||||
as any other, and the result is returned sorted by operator ID. No score exists in
|
||||
the record, position carries no meaning, and nothing about an organism's situation
|
||||
makes a helpful mutation more likely to be offered.
|
||||
|
||||
The draw reads the parent's content digest, a seed, a stream, an eligible event
|
||||
index, growth, environment and the requested count, and nothing else. The same
|
||||
context always returns the same candidates, so a retry cannot reroll; a new event
|
||||
index is what earns a new draw. `select_mutation` regenerates the offer and
|
||||
refuses unless it still matches exactly, so a changed context is rejected rather
|
||||
than answered with a different mutation. A candidate reports the successor's own
|
||||
maintenance and mass under ADR-0032 and reserves nothing.
|
||||
|
||||
| Contract | Status after M3.4 |
|
||||
|---|---|
|
||||
| ValidateGenome | Implemented for schema 1, and reused as the eligibility filter |
|
||||
| PlanDevelopment | Implemented: a proposal, narrowed by the composition layer |
|
||||
| ApplyDevelopment | Half: the transfer still does not exist |
|
||||
| DerivePhenotype | Implemented for rule version 1 |
|
||||
| GenerateMutationCandidates | Implemented: uniform, canonical, context-recorded |
|
||||
| SelectMutation | Implemented: revalidates and refuses a changed context |
|
||||
|
||||
Uniform offering is not a claim about real mutation rates, and the catalog is not
|
||||
a claim about which mutations are possible in biology. Candidate count, context
|
||||
window, mutation cost as a game rule, inherited versus acquired expression, NPC
|
||||
mutation and recombination all remain open, exactly as stated above. No organism
|
||||
mutates, no fixture calls any of this, and heredity history is M3.5.
|
||||
|
||||
Reference in New Issue
Block a user