Repository navigation
Description
Priority / sequencing
P1 / priority: next
Suggested labels
No response
Roadmap fields
Status: In progress; Priority: P1; Size: L; Depends on: #683 (closed), PR #653 (merged 2026-09-25 as 2ec3f46). Parent epic: #680. Also owns the .ab-control criterion handed over from #665.
Problem
Two Claude-pair runs (candidate claude-haiku-4-5, judge claude-opus-5, single pass) produced results that differ from what the reviewing-before-merge configs expect.
Run 1: #679, 2026-09-14, main before the lazy-module split.
| Config | Result | Judge reason (abridged) |
|---|---|---|
skill-reviewing-before-merge-adversarial |
0.10 | Rollback data loss named but called pre-existing, not a blocker |
skill-reviewing-before-merge-feedback-memory |
0.30 | SHAPE fail despite an evidence-led NOT SAFE verdict |
skill-reviewing-before-merge-scorecard (2 cases) |
0.55, 0.45 | SHAPE pass, GROUNDING fail: the scorecard never marks coverage/mutation as "not measured" nor says it is an evidence summary |
Run 2: #665, 2026-09-25, PR #653's split skill (graded tree 6296f94, byte-identical in skills/, configs and providers to the merged 92fb593). Full result on #451: #451 (comment)
- All 19 plain configs passed, 45 of 45 cases, including the three run-1 failures above. One pass on a different skill tree, so this is not yet a classification.
.abcontrols, per leg:
| Config | Run 1 (#679) | Run 2 (#665) | Separates in run 2 |
|---|---|---|---|
skill-reviewing-before-merge-adversarial.ab |
A0 3/7, B 7/7 | A0 7/7, A1 7/7, B 7/7 | no (regressed from run 1) |
skill-reviewing-before-merge.ab |
A0 2/3, A1 1/3, B 3/3 | A0 3/3, A1 3/3, B 3/3 | no |
skill-reviewing-before-merge-eval-validity.ab |
1/1, 1/1 | both legs pass | no |
skill-reviewing-before-merge-feature-flow.ab |
not flagged | both legs pass | no |
skill-reviewing-before-merge-feedback-memory.ab |
not flagged | both legs pass | no |
skill-reviewing-before-merge-fence-parser.ab |
not flagged | both legs pass | no |
skill-reviewing-before-merge-runtime-scope.ab |
1/1, 1/1 | both legs pass | no |
skill-reviewing-before-merge-unproven-escalation.ab |
pre 0/2, post 1/2 | pre 1/2 fail, post 2/2 pass | on one seed |
skill-reviewing-before-merge-verifier-evidence.ab |
not flagged | pre FAIL 0.00, post PASS 0.90 | yes |
The seven non-separating controls fail because their control legs pass as well. Those legs read no skill, or a frozen fixtures/reviewing-before-merge-PRE-*.SKILL.md snapshot, so the split cannot be the cause: the control input no longer defeats the Claude candidate without the skill.
Expected outcome
- Rubric-judged failures (run 1): rerun each once on current
main. If it passes, classify it as variance or fixed by the split, citing both runs. If it fails, classify it as skill gap (fix the root SKILL.md or the owning lazy module), model-pair artefact in the rubric (the rubric encodes a GPT-specific expectation) or variance. Useeval-failure-diagnoserfor the diagnosis. Skill gaps are fixed in the skill, never by loosening a rubric. A rubric change is allowed only where the rubric itself is model-specific, and the PR and the YAML comment name the expectation removed. .abcontrols: for each of the seven non-separating controls, and the one-seedunproven-escalation.ab, work out why the control leg passes on the Claude pair. Then either rework the control input so the no-skill or PRE leg fails for the reason the control exists (without changing what the skill leg is graded on), or document it in the config header and the eval README as non-discriminating on this pair. Record the pass count for every leg.
Scope
- The nine
tests/evals/promptfoo/skill-reviewing-before-merge*.ab.yamlcontrols and the three plain configs from run 1 (adversarial,feedback-memory,scorecard) skills/sumo-qa-reviewing-before-merge/(root SKILL.md and the lazy modules) where a failure is a skill gaptests/evals/promptfoo/fixtures/reviewing-before-merge-PRE-*and control-leg inputs where a control is reworkedtests/evals/promptfoo/README.mdfor any control documented as non-discriminating
Run budget
Eval runs are proportionate to the change (set 2026-09-14). Never run or start the full matrix here. Prove wiring statically before any real call. Run 2 is the "before" evidence, so do not rerun a config just to re-observe it. Rerun only the configs a change touches, single pass; add a repeat only for a specific case whose result is borderline or differs between runs 1 and 2, to tell variance from a real failure. After any skill change, rerun adversarial.ab and verifier-evidence.ab once. Report exactly which eval runs were made.
Acceptance criteria
- Each run-1 rubric failure (
adversarial,feedback-memory,scorecardx2) is classified skill gap / rubric artefact / variance, with the run-1 and run-2 results and any rerun cited. - Every skill-gap failure passes on a targeted rerun after a fix in the SKILL.md or lazy module.
- Each of the seven non-separating
.abcontrols andunproven-escalation.abeither separates its legs on the Claude pair (B > A0, or post-edit > pre-edit) after a rework, or is documented as non-discriminating on this pair in its config header and the eval README. This is the criterion handed over from [Task]: run the reviewing-before-merge matrix under the new gate and post the result on #451 to unblock PR #653 #665. -
verifier-evidence.abstill separates after any skill change. - Classification and rerun evidence (leg pass counts, judge reasons) posted on [Task]: align the eval rubrics and A/B controls with the Claude candidate/judge results #680 for every item above.
- No rubric clause loosened to get a skill-gap failure to pass; every rubric change names the model-specific expectation it removes.
- Full pytest suite green.
Test plan
Targeted single-pass reruns through run-eval.sh on the Claude backend, before (run 2 is the baseline) and after each change.
Context
Child of #680. Runs after the judge catalogue-context decision (#683) so the triage is not skewed by a judge-prompt change. Related sumo-qa gaps logged from #451: #649, #650, #659. Check them before diagnosing from scratch.
Activity
feat(skills): split reviewing-before-merge into a compact root and la…
sumithr commentedon Sep 25, 2026
Unblocked: PR #653 merged as
2ec3f46. The 'before' evidence from #665 is here: #451 (comment). That run is one pass on the Claude pair, with per-leg counts for all 9 reviewing-before-merge.abcontrols. On that run,verifier-evidence.abseparates.unproven-escalation.abseparates on one seed. The other 7 do not separate, because their control legs pass.sumithr commentedon Sep 25, 2026
Verification for PR #725 (head
2f66691)adversarial,feedback-memory,scorecardx2: variance or fixed by the split. Run-1 and run-2 results plus run-1 judge reasons are on #680 (classification, final-tree reruns)feature-flow.abA1 PASS 0.85,eval-validity.abA1 PASS 0.92runtime-scope(A0 0/3, A1 2/3),fence-parser(0/2 graded, 3/3),feature-flow(0/3, 2/3; final tree 0/1, 1/1). Documented non-discriminating in the header and the README:feedback-memory,unproven-escalation,reviewing-before-merge.ab,adversarial.ab,eval-validity.ab(A0 2 of 5 graded samples)verifier-evidence.abstill separateseval-validityanti-pattern, which now requires BOTH inputs, a tightening. The other configs change seeds onlyBehaviour checked on the real surface: a headless
claude -pagent on the branch MCP build reviewed a test-only.ab.yamldiff in a single pass. It emitted itsSurface verifier:andA/B control:lines, thenNOT SAFE TO MERGE. The router output matchedmainexactly.Eval runs at merge review:
verifier-evidence.ab,feature-flow.ab,eval-validity.abplus its A0 leg twice more, and theadversarial.abskill leg. That was 15 candidate calls, about 289k tokens. Codex re-reviewed each follow-up commit and found nothing.fix(skills): make the reviewing-before-merge verdict format and A/B c…
docs(evals): state that the #685 triage has closed in the lift note
docs(evals): state that the #685 triage has closed in the lift note