Judge calibration on your own verdicts: cyberine judges (kb14m)
A judge that accepts wrong answers should not decide a run. cyberine judges calibrate scores the configured judge model against your own pass/defect verdicts on past results, and a judge under 80% on either rate becomes advisory: its verdict is still recorded in run.json, but it is never the primary verdict while a non-advisory judge picked a winner.
Run recipe:
cyberine judges status # "no calibration has run yet" until the first calibrate; --json prints the records
cyberine judges calibrate --labels .local/judge-labels/2026-10-30-labels.niafam-m3max.jsonl
# two judge-model calls per labelled row; prints each judge's rates and status
cyberine judges calibrate --labels <file.jsonl> --judge llm-judge --json- Labels file: one JSON object per line with at least
id,title,preview(the change, for example a redacted diff) andowner, set topassordefect; rows with an emptyownerare skipped. A file needs at least one pass and one defect. - How a row is ruled: the judge first commits, from the task title alone, to what a correct change must do; only then does it see the preview (fenced as untrusted text) and answer
{"verdict":"pass"|"defect"}. An unparseable answer or an error counts as wrong. - Rates: true-positive rate is defects ruled defect over defects; true-negative rate is passes ruled pass over passes. Both at or above 0.8 is
calibrated, anything elseadvisory. - Where it lands:
$CYBERINE_HOME/judges/calibration.json(schemajudge-calibration/1), one record per judge id; a later calibrate replaces the records of the ids it names. One measurement is recorded underllm-judgeandadversarialby default, since both run on the same judge model. - Effect on runs: the workflow engine (and the async orchestrate path behind the MCP tool) picks its primary verdict as before (an error first, then
CYBERINE_PROFILE_JUDGE_METHOD, a consensus majority, the first other verdict with a winner), but among non-advisory judges first; when every judge with a winner is advisory, it falls back to the old choice. With no calibration file nothing changes. - Acceptance check:
node .cyberine/accept/kb14m.mjs.
Known Limitations and Deferred Work: the calibration prompt is a binary pass/defect ruling, not each judge's own ranking prompt, so it measures the judge model rather than the exact LlmJudge or AdversarialJudge behaviour; non-LLM judges (consensus, diff, behaviour) are never calibrated and never advisory. The workflow engine and the async orchestrate path (the MCP tool) read the records when they pick the primary verdict; the sentinel advisor (task k3yn5) does not yet. The run on your own 20 labels is task kph27, after you fill the labels file (k0xr1).
Which verdict wins a step (k0fxw)
Every judge in a step's panel returns a verdict; the step records ONE of them as verdict. ConsensusJudge wins only when a real majority of candidates produced the same answer (agreement above 0.5,...
Judge phase is fail-bounded (T551)
Every judge (ConsensusJudge, LlmJudge, AdversarialJudge, DiffJudge, BehaviorJudge, SwarmMergeJudge/LaneMergeJudge) is raced against CYBERINEJUDGETIMEOUTMS (default 60000ms) in...