Repository navigation
feat(genome): a trained gene opens a trial in her work instead of an eval A/B beside it (integrated gate, slice 3; stacked on #4474) - #4475
Merged
Conversation
This was referenced Sep 27, 2026
joelteply
force-pushed
the
feat/a-trained-gene-opens-a-trial
branch
from
September 27, 2026 19:34
fdfdaff to
9bec3e7
Compare
…inned around each work turn (integrated promotion gate, slice 2) Joel, 2026-09-27: "The point is integrated not parallel." A trained gene is judged in her own work. genome/gene_trial.rs holds the trial file (~/.continuum/genome/trials.json, bounded by genes ever trialled): a GeneTrial per candidate gene (persona, alias, path, base, share, state Trial/Promoted/Retired, the verdict and its counts: the adoption receipt and the rollback record). GeneTrial::candidate_arm draws one arm per (trial, card), so every turn of a card, across restarts, runs the same genome; genes_for_turn gives her promoted genes plus each open trial's gene when the card drew it, and on a turn with no card (conversation) the promoted genome alone. persona/act_question.rs pins those genes on her cycle before a work turn and puts her promoted genome back after it, the same seam that roots her hands at the card's workspace. Probe persona.genome.card_genes. An unreadable trial file or no served base leaves her genome as it is (genome.trial.unreadable). PERSONA-COGNITION-PIPELINE.md's landing table gets the row. Next slices: the completion sentinel opens a trial instead of its eval A/B, and the gate tallies settled credit by receipt genes. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…p guard, so a cancelled turn or an unreadable trial file never leaves a trial gene on her conversation turns (Cormac on #4474) Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
…eval A/B beside it (integrated gate, slice 3)
The completion sentinel ran cognition/eval in A/B mode on a forked copy of her mind and
paged the gene in on lift > 0: the parallel path Joel ruled out ("The point is integrated
not parallel"). Now a completed job is converted as before, then:
- pre-filter: training's own held-out loss must be a finite number (a diverged or
unmeasured run never reaches her work), probe genome.trial.refused otherwise;
- registered in the adapter manifest under its served base, so the engine loads it in
place and dormant (#4467); engine-trained GGUF genes were never registered before;
- a GeneTrial opens (slice 2's file), probe genome.trial.opened.
Nothing is paged in here and nothing is decided: each card she works now draws an arm,
and the gate (next slice) promotes or retires the gene from the room's outcomes. The
recipe's eval gym is no longer required; the signature stamp stays.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
joelteply
force-pushed
the
feat/her-genes-ride-her-card
branch
from
September 27, 2026 20:22
6509339 to
6cf4055
Compare
joelteply
force-pushed
the
feat/a-trained-gene-opens-a-trial
branch
from
September 27, 2026 20:22
9bec3e7 to
35f6171
Compare
Contributor
Author
|
@fable #4475 at 35f6171: APPROVED (Cormac). 8/8 success. The completion sentinel registers the gene (dormant, in place via #4467) and opens a trial instead of an eval A/B beside her. The pre-filter admits any finite held-out loss; 'it learned' (final eval below the first epoch's) remains my non-blocking suggestion. I read the code and did not build it. 🤖 Generated with Claude Code |
joelteply
changed the base branch from
feat/her-genes-ride-her-card
to
canary
September 27, 2026 20:45
joelteply
added a commit
that referenced
this pull request
Sep 27, 2026
…ome that worked them; the gate promotes or retires (integrated gate, slice 4; stacked on #4475) (#4476) * feat(genome): her work decides the gene: settled cards credit the genome that worked them, and the gate promotes or retires (integrated gate, slice 4) Where a card's verdict settles her staged credit (training_producer::settle_card_credit), her open gene trials hear it. genes_that_ran reads the card's receipts: only generations SERVED by an engine that applies adapters count (a cloud call ignores the gene, a fault ran nothing; Cormac on #4473), and a card no such engine served credits no arm. The card goes to the candidate arm if the trial's gene ran on it, the stable arm otherwise, once per card (a re-graded instance does not count twice). The gate (pure): nothing until both arms have 6 settled cards; then PROMOTED when the gene's cards passed at least as often as her genome's (integer cross-multiplication, a tie is no worse), RETIRED otherwise. The decision is written on the trial (the adoption receipt, with its counts); a retired gene leaves the adapter manifest so the serving engine retires it in place (adapter_manifest::unregister); either verdict joins the fitness ledger (progress/<persona>.jsonl, source "her-work") that gene recall ranks by. Probe genome.trial.decided. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(genome): a card credits only a trial it was worked under: after the trial opened, on its base, one genome throughout (Codex on #4476) credit_card credited a settled card to every open trial of the persona, reading "the gene did not run" as the stable arm, so a card worked before a trial opened, or on another base, counted against that trial. arm_of now decides per trial from the card's turns (CardTurn: staged_at_ms, and each llama-server-served generation's model and genes): every turn staged after the trial opened, only generations served on the trial's base read, the gene on all of them → candidate, on none → stable, on some → neither. A card that says nothing about a trial is not credited to it. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(genome): the gate looks only at checkpoints and promotes only a likely gain; a card counts only in the arm it drew (Cormac on #4476) Ties promoting at 6 cards per arm promoted a no-effect gene 61-71% of the time (Cormac's numbers), and promoted genes become the next baseline: drift. The gate now computes P(her cards pass more often with the gene) exactly (two Beta posteriors, uniform priors, Evan Miller's closed form) and looks only when both arms reach 10, 20, 30, 40 settled cards, each checkpoint once (the trial records it): promote at >= 0.975, retire below 0.10, and at 40 anything not promoted retires. Simulated: a no-effect gene is promoted 3-8%, a harmful one 1%, a +0.2 gene about half the time within 40 cards. Looking after every card instead let chance cross the bar (6-11% at the same bar). A card now counts only when the genome that worked it matches the arm it drew; one that drew the gene but ran without it (an unreadable trial file that turn) is no evidence. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo --------- Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The completion sentinel ran cognition/eval in A/B mode on a forked copy of her mind and
paged the gene in on lift > 0: the parallel path Joel ruled out ("The point is integrated
not parallel"). Now a completed job is converted as before, then:
unmeasured run never reaches her work), probe genome.trial.refused otherwise;
place and dormant (feat(serving): a new gene joins the running engine in place, no relaunch (charter S1; pin fb6b7fdb4) #4467); engine-trained GGUF genes were never registered before;
Nothing is paged in here and nothing is decided: each card she works now draws an arm,
and the gate (next slice) promotes or retires the gene from the room's outcomes. The
recipe's eval gym is no longer required; the signature stamp stays.
Stacked on #4474 (the trial file). Retargets to canary when that merges.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo