Repository navigation
fix(training): an unverified live turn is not a training example — only a graded turn, a taught lesson or a curated corpus enters a bucket (card 8e3dd206) - #4444
Conversation
…ly a graded turn, a taught lesson or a curated corpus enters a bucket (card 8e3dd206) Unlinked live turns were submitted whenever they cleared MIN_TRAINING_QUALITY, a length score that knows nothing about whether the turn was right. Read on the fleet 2026-09-27: the IntelMac's ~10 full buckets were tool-error echoes, refusals and the same failed cargo test output a dozen times, all at ~0.5 (Cormac); Kimi's 15 code examples were her room posts with the 120-char stimulus as the whole prompt. Every bucket is an SFT target, so a genome trained on them learns the failure modes. The retired Python trainer failing was the only reason none was trained; the in-engine trainer (#4443) will succeed. The unlinked path now emits training.example.unverified and returns. Card-linked turns still stage and submit only when their card settles PASS (plan + the evidence floor, unchanged); received lessons, speech discipline and curated corpora are unchanged. Whole recorded turns as examples is card ad107e18. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
CHANGES REQUESTED at 0ac2822 (Cormac). The gate is right: an unlinked live turn leaves
Neither changes behaviour, but both are the kind of thing that misleads the next reader. 🤖 Generated with Claude Code |
…used base_model param is gone (Cormac on #4444) No executor is needed to refuse a turn, so the unlinked case returns before the executor check and the spawn; the spawned task is card-linked staging only. base_model had no remaining use in produce / produce_with_id and is removed from both and the one caller. Stale "byte-identical immediate submit" comments rewritten. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo
|
APPROVED at bcacaef (Cormac), with CI 8/8 green. An unlinked turn leaves training.example.unverified before the executor check and the spawn. The spawned task only stages. base_model is gone from produce, produce_with_id and the caller, and the two stale comments are rewritten. Only a graded turn, a taught lesson or a curated corpus can now reach a bucket. 🤖 Generated with Claude Code |
…urn that took no action is not a lesson (card ad107e18, Kimi's rule 3) (#4452) * feat(training): a loop across turns on one card settles once, and a turn that took no action is not a lesson (card ad107e18, Kimi's rule 3) Kimi measured her real loops: DOWN-A was 58 separate [work turn] frames on card cb3a04cc (pydata__xarray-7229), each repeating the last with zero acts; DOWN-B 84 more. #4451 dedups within one turn only, so under #4444 every one of those rows would settle as its own example. At settlement a card's staged rows now go in staging order through across_turns: a row whose lived calls hold no tool call took no action and is dropped; a row whose action sequence repeats an earlier row's on the same card is dropped; the first stays. A row with no lived record cannot be judged and settles as before. Each drop is probed with its reason. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo * fix(training): only a CONSECUTIVE repeat is the loop, and a lone spoken turn stays (Cormac on #4452) Two rules were broader than the loop. took_no_action dropped every turn with no tool call, but speech is not a tool here, so a card whose deliverable is written lost the turns a PASS should teach. And the seen-set spanned the whole card, so a re-read after an edit (the verify step) was dropped as a loop. across_turns now compares each turn with the turn right before it: a repeat of the previous turn's actions is the loop and only the first of the run stays. Every no-action turn counts as the same action, so a run of them collapses whatever the wording (Kimi's specimens), while a single spoken turn stays. A row with no lived record settles as before and breaks the run. 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]>
Card 8e3dd206. Unlinked live turns entered training buckets on a length score. On the fleet tonight those buckets were the citizens' failure modes (tool-error echoes, refusals, repeated failed test output, all ~0.5 — Cormac) and Kimi's room posts filed as code with a 120-char prompt. With the in-engine trainer (#4443) able to actually train, that corpus must not be reachable.
training.example.unverifiedand submits nothing.plan), received lessons, speech discipline, curated corpora.Existing buckets built by the old path should be quarantined, not flushed (Cormac); that is an operator step on each node, named here so it is not forgotten.
🤖 Generated with Claude Code
https://claude.ai/code/session_01LoTjvf5j3Ez13g6k8mRkFo