Repository navigation
Description
What was generic / wrong / missing?
On the #688 branch (fix/issue-688-strengthening-tests-ab, commit d42bf06), the orchestrator ran a per-file sumo_qa_reviewing_before_merge review. It flagged only the unrerun sibling configs and the leaked HARD-GATE label. The codex adversarial pass on the same diff then found three real defects the per-file review missed:
- Confounded A/B control (
tests/evals/promptfoo/skill-strengthening-tests.ab.yaml, shared prompt in all three legs). The prompt says "Decide whether the survivor is a real assertion gap or an equivalent mutant", gives only those two output formats, and forbids additional sections. The new production-defect seed's correct answer is neither. A0 and A1 cannot give it without disobeying their prompt, while B gets a skill that overrides the prompt. The measured lift (A0 FAIL, A1 FAIL, B PASS) is confounded by unequal answer-space constraints. The recorded A1 answer did exactly this: it saw the off-by-one, then supplied the required test anyway. - Spec authority unchecked (
skills/sumo-qa-strengthening-tests/SKILL.mdstep 3 outcome (c), step 5). Any acceptance criterion, ticket, docstring or test comment that matches the mutant counts as a production defect. There is no check that the spec is current. With an obsolete comment, the skill stops, leaves a real survivor alive, and steers the user toward restoring obsolete behaviour. - False doc claim (README [Task]: rework or document the non-discriminating strengthening-tests A/B control on the Claude pair #688 subsection and YAML header). The docs say every original seed's recap hands over "the technique name and the missing boundary input". The equivalent-mutant seed supplies neither.
Expected QA behavior
- A/B check (iv): the review asks whether the A0 leg could pass on pre-existing rules. It should also ask the inverse: whether the shared prompt structurally forbids the passing answer for A0/A1. A prompt that enumerates the only allowed outcomes, or pins an output format that excludes the rubric's PASS shape, makes the lift a prompt artefact, not skill evidence.
- A new classification rule that trusts an input as authoritative (a spec, a comment, a docstring): the review should probe the stale/obsolete-input direction, the same both-directions discipline as check (iii).
- Documented claims about eval seeds ("each seed does X"): the review should verify them per seed, like the documented-inventory drift rule.
Which skill produced the output?
sumo-qa-reviewing-before-merge
Files / change type (if shareable)
A promptfoo .ab.yaml A/B control (new seed plus rubric text), a SKILL.md triage rule, the eval README. Change type: eval-driven skill change. Issue #688, epic #680.
Were catalogues / standards loaded in the conversation?
Yes: the skill was loaded via sumo_qa_load_skill_context (manifest, iron-law and checklist sections).
Host and model
Claude Code, orchestrator Opus 5. Codex adversarial pass via the codex CLI companion.
Other context
The skill's check (i) still says an eval-surface change must run "with Node 24 + the configured OpenAI key". The gate moved to the Claude pair in #682 (PR #692), so this line in the shipped SKILL.md is stale. It should name the Claude pair and a proportionate run of the touched configs. #653 and #685 have landed; the wording fix is now follow-up work on the shipped modular review skill.
Roadmap fields
Status: Backlog; Priority: P2; Size: M; Depends on: none
Acceptance criteria
-
sumo-qa-reviewing-before-mergechecks whether an A/B baseline leg is structurally allowed to produce the rubric's passing answer. - Review guidance probes stale or obsolete spec-authority inputs before treating a matching ticket, docstring, comment, or test note as authoritative.
- Documented eval-seed claims are verified per seed before being repeated in README or YAML prose.
- Eval-surface review wording names the Claude-pair gate and proportionate touched-config runs.
Test plan
Focused review-skill conformance/content tests plus a reviewing-before-merge eval or fixture for A/B prompt-confounding and stale spec-authority checks.
Non-goals
- Changing the [Task]: rework or document the non-discriminating strengthening-tests A/B control on the Claude pair #688 implementation directly from this issue.
- Loosening rubrics to pass model-pair failures.
- Closing [Task]: stop .ab judge prompts telling the judge every leg loaded the catalogue, and close the guard hole #701 or [Task]: split the strengthening-tests, implementing-with-tdd and triaging skills into lazy modules before their next edit #703 without preserving their distinct harness and budget requirements.
Activity
sumithr commentedon Sep 14, 2026
Same run, second branch: #686 (
fix/issue-686-triaging-isolation-step, commit7ca5b09,skills/sumo-qa-triaging-test-failures/SKILL.mdstep 4 rewrite). The per-filesumo_qa_reviewing_before_mergepass flagged only that four seeds were not rerun. Codex then found three defects it missed:Experiment:/If/Ifshape bans reading source as the step, yet the test-bug branch's experiment is a spec comparison, and the external-service branch ("stub the boundary") states no two outcomes.Expected QA behavior, in addition to the #688 items above: when a diff makes an instruction MANDATORY for every branch of a rule (here a pinned output shape across six causes), the review should walk each branch against it, and check each existing example and each eval seed's supplied context against the new mandate, not only the branches the diff edited.
sumithr commentedon Sep 14, 2026
Same run, #684 (
fix/issue-684-preparing-for-work-eval, commite90fced, the risk and test count rules inskills/sumo-qa-preparing-for-work/SKILL.md). The per-file review caught the stale "Name 3-7 risks" in the security-relevance prompt. Codex found three more defects it missed:tests/scenarios/worked-examples/01-plan-qa-for-story.mdasserts outcomes that its own open-assumptions list says are unconfirmed.Expected QA behavior: when a diff adds a pinned rule next to existing pinned rules (concreteness, anchor-fit, minimum counts), the review should test the rules against each other on a minimal input where they could collide. It should also check each worked example and scenario doc against the new rule, not only the lines the diff touched.
sumithr commentedon Sep 15, 2026
#686 again, at the merge boundary (PR #705, head
9c6b6a4). The codex GitHub app left two P2 threads onskills/sumo-qa-triaging-test-failures/SKILL.mdstep 4 that the PR-open per-filesumo_qa_reviewing_before_mergepass did not raise:9070870.Same probe gap as the earlier entries: the review checks that each per-cause branch states two outcomes, not that each outcome is a correct inference from that one check.
fix(skills): make strengthening-tests.ab discriminate on the Claude p…
fix(skills): cap the preparing-for-work brief at the smallest useful …
fix(skills): make the triage isolation step a run experiment, not a r…
sumithr commentedon Sep 29, 2026
Triaged under the review-miss policy (epic #753): this is an instance miss (an already-loaded review module covered it), category
eval-validity. Recorded on the review-miss ledger: #752 (comment)It is absorbed by the category issue #759, which strengthens the review lens for eval-validity as a whole.
Closing as not planned in favour of that record. Reopen if this turns out to be a class gap (sumo-qa steered the run wrong or had no move for the step).