One harness repair after a verify failure — CYBERINE_HARNESS_REPAIR (k5dc7)
Off by default (operator decision D3-A). With CYBERINEHARNESSREPAIR=1, a code task that cyberine autopilot runs on its fleet engine with sync dispatch (the default; --dispatch sync or --verify)...
Off by default (operator decision D3-A). With CYBERINE_HARNESS_REPAIR=1, a code task that cyberine autopilot runs on its fleet engine with sync dispatch (the default; --dispatch sync or --verify) gets one repair attempt when its winner diff fails the task's verify: command or done-when check:
- One improver call on the strong judge backend chain (
routing.judgesin fleet.json, else the default judge backends) reads the task, the verify failure, the worker's output and its diff, all fenced as untrusted text. It answers either "no repair" (a wrong implementation is not a harness defect) or a process failure (skipped step,tool misuseormissing context) with a span quoted from the worker's output and an overlay ofbrief.mdandrules/<name>.mdtext. - The repair is refused unless the quoted span occurs verbatim in the worker's output and the overlay passes
cyberine harness check(no guardrail, permission, secrets or owner-rule change). - Exactly one re-run follows on one worker of the task's pool, with the overlay rules and brief note added to the prompt; the overlay is never written into
.cyberine/. - The re-run's diff lands only when the same verify check exits 0. Otherwise the original failure stands, and the task's failure line ends with
harness repair: <outcome>: <why>.
CYBERINE_HARNESS_REPAIR=1 cyberine autopilot| Env | Default | Effect |
|---|---|---|
CYBERINE_HARNESS_REPAIR | (off) | 1, on or true enables the single repair attempt described above |
Known Limitations and Deferred Work: the improver reads the winner's final output and error text, not its full tool transcript, so a process failure that left no trace in that text cannot be cited and is refused. The re-run worker is the first worker of the task's pool, not a separately chosen cheap worker. It costs one strong-model call plus one worker run per failed task, on top of the failed attempt; whether it beats an equal-budget plain retry is what kp1mv measures before anyone turns it on by default. Non-code tasks and the background (non-sync) dispatch path are not covered.
Validate a harness overlay — cyberine harness check (kdgkp)
A harness overlay is a directory of proposed edits to what Cyberine injects into workers: rules/<name>.md (replaces or adds a project rule file in .cyberine/rules/), skills/<id>/SKILL.md and files...
Contrastive reflection into a lesson library — cyberine lessons (k79pw)
Reflect on one completed step only when the record contains a passed worker and a failed worker with the same brief. A judge selecting one of several successful workers is not a failure signal....