Skip to content

Capture the coding core's turns; add operator corrections to the datasets - #43

Merged
daniel-rossier merged 1 commit into
mainfrom
ft-corrections
Nov 27, 2026
Merged

daniel-rossier merged 1 commit into
mainfrom
ft-corrections

Conversation

@daniel-rossier

Copy link
Copy Markdown
Contributor
  • The coding core's model calls and tool results now reach the training recorder (every unbound episode had 0 turns since 2026-10-08).
  • /fix <answer> / /fix @file: operator correction → SFT final-response target + exact-context preference pair (chosen = correction, rejected = answer given); the corrected answer is no longer a target.
  • Public standards no longer make episodes UNKNOWN origin; standard.* reads count as reads.
    Verified through spear-chat: an unbound turn now stores 4 turns with tool statuses, and /fix yields one corrected SFT target and one AUTO_APPROVED EXACT_CONTEXT pair.

…sets

The coding core calls the model itself, so since its arrival every
implementation turn was stored as an episode with no turns: two months
of ordinary use yielded nothing a dataset could use. Its model calls now
open and close training turns, and its tool results are attached to
the calls that asked for them.

/fix records the operator's corrected answer to the last exchange
(manifests/operator-corrections.jsonl) and puts it in the history in
place of the answer. The SFT builder makes it a final-response target
over the context of the turn that answered, and drops that answer as a
target; the preference builder pairs the two over that context, the
first exact-context pairs the store can produce.

A public standard (--origin PUBLIC) no longer turns an episode's origin
into UNKNOWN; only a licensed one overrides it. Reading the bound
standard counts as reading for SFT target selection.
@daniel-rossier
daniel-rossier merged commit e2a1f88 into main Nov 27, 2026
2 checks passed
@daniel-rossier
daniel-rossier deleted the ft-corrections branch November 27, 2026 15:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant