Repository navigation
fix(skills): make the reviewing-before-merge verdict format and A/B controls hold on the Claude pair - #725
Merged
Conversation
…e on the Claude pair Four pre/post-edit controls narrated the defect or the conclusion in their ground-truth context, so the pre-edit leg passed on claude-haiku-4-5 without the edit's behaviour. Their seeds now state facts only (diff, code, tests, fixtures) and they separate: runtime-scope, eval-validity, fence-parser and feature-flow (feature-flow's risk gate also no longer names the flow as R1). Four controls stay non-discriminating on the Claude pair and are documented as regression guards on the skill leg, with measured leg counts in their headers: feedback-memory and unproven-escalation (the saved-feedback block and the developer-named risk hand A0 the answer; stripping narration did not restore separation, so their seeds are unchanged), and the A/B/C controls reviewing-before-merge.ab and adversarial.ab (a no-skill candidate already reaches the skill's result). The eval README states the facts-only rule for pre/post-edit seeds and records each control's position. Refs #685
…a single pass On the Claude pair, with no risk naming the feature flow, the reviewing-before-merge candidate either skipped the feature-flow verification line or dropped the whole Verdict-format block when asked for a single-pass review. Step 10 never pointed at that block, and item 8 left its lines to the candidate's judgement of "that apply". Step 10 now emits the Verdict-format lines before the verdict, even in a single-pass review. Item 8 names its triggers: a skill or eval change, a new guard or .ab.yaml, and any UI/API/CLI/worker/artifact flow the change serves, whether or not a risk names it. The intro's duplicate step list and one redundant parenthetical are cut to stay under the 3000-token root ceiling (2991). feature-flow.ab now reads A0 0/3, A1 2/3 at --repeat 3. Refs #685
…per field On the Claude pair the review candidate filled the eval-validity module's A/B control line with bare YES/NO/UNPROVEN words, landing one of its two required findings but not both. The line now asks for the pre-existing rule A0 carries (on NO) and, for each input the rubric credits, what the broken and the correct impl do with it. The eval-validity anti-pattern now requires BOTH non-discriminating inputs to be flagged, matching the expected shape it enforces (the judge had passed an answer flagging one). eval-validity.ab keeps its original seed and separates on it (A0 0/3, A1 3/3); a facts-only variant failed the skill leg as well. Control descriptions no longer claim a lift their headers contradict, and the adversarial.ab description counts its seven seeds. Refs #685
…l-validity isolation claim Refs #685
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 132e1af879
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
…-only eval diff Item 8 names .ab.yaml changes as a trigger, but the closing sentence and the test-only-diff module listed only items 1, 3, 4, 5 and 6 as required outside a runtime review, so a diff touching only an .ab.yaml could skip it. Both now carry item 8 where it applies. Step 10 no longer attaches the verdict tokens to the format-lines clause.
… on the Claude pair On the final skill tree the eval-validity.ab A0 leg passed 2 of 2 graded samples on the same input that earlier failed 0/3, so the control does not separate its legs; its header and the eval README now say so. The adversarial.ab and feature-flow.ab headers record their reruns after the skill changes.
…n the verifier section
This was referenced Sep 25, 2026
sumithr
added a commit
that referenced
this pull request
Sep 25, 2026
🤖 I have created a release *beep* *boop* --- ## [0.65.1](v0.65.0...v0.65.1) (2026-09-25) ### Bug Fixes * **skills:** make the reviewing-before-merge verdict format and A/B controls hold on the Claude pair ([#725](#725)) ([51b637e](51b637e)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --------- Co-authored-by: release-please[bot] <release-please[bot]@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The reviewing-before-merge A/B controls stopped separating on the Claude pair (candidate
claude-haiku-4-5, judgeclaude-opus-5): the pre-edit or no-skill leg passed as well as the skill leg. Most seeds narrated the defect or the conclusion in their ground-truth context, so Haiku 4.5 passed without the skill. Removing that narration exposed two skill gaps, both fixed here:A/B control:line accepted bare YES/NO words, so the candidate landed one of its two required findings but not both.A rubric anti-pattern that was weaker than its own expected shape is tightened too.
Related issue
Closes #685. Child of #680 (classification and run evidence posted there).
Changes
skills/sumo-qa-reviewing-before-merge/SKILL.md(root, within its 3000 est. token cap).ab.yaml, and any UI/API/CLI/worker/artifact flow the change serves, whether or not a risk names it.modules/test-only-diff.mdsays the same for a skill/eval or.ab.yamlchange.skills/sumo-qa-reviewing-before-merge/modules/eval-validity.md(1292 of 1500): theA/B control:line requires, on NO, the pre-existing rule A0 carries, and for each credited input what the broken and the correct impl do with it.tests/evals/promptfoo/skill-reviewing-before-merge-*.ab.yamlruntime-scope,fence-parser,feature-flow: seeds state facts only (no narrated defect or conclusion).feature-flow's risk gate no longer names the flow as R1.eval-validity(.aband plain): the anti-pattern requires flagging BOTH non-discriminating inputs, matching the expected shape (a tightening). The.abkeeps its original seed, because a facts-only variant failed the skill leg too.feedback-memory,unproven-escalation,eval-validity,reviewing-before-merge.abandadversarial.abare documented as non-discriminating regression guards.tests/evals/promptfoo/README.md: the facts-only rule for pre/post-edit seeds, with its one documented exception; each control's position on the Claude pair.How it was verified
Evals while developing. 29 targeted promptfoo invocations on the Claude backend,
--no-cache, about 1.53M tokens (sum oftokenUsage.total). No full-matrix run.runtime-scope.abfence-parser.abfeature-flow.abafter the root fix,--repeat 3eval-validity.abafter the module fixEvals on the final skill tree (
1e61ea7), 15 candidate calls, about 289k tokens:verifier-evidence.abadversarial.ab, skill leg only (A0 and A1 read no skill)feature-flow.abeval-validity.ab, A0 three sampleseval-validity.ab's A0 input is unchanged since its 0/3, so it passes 2 of 5 graded samples and does not separate. It is now documented as non-discriminating in its header and the README. Judge reasons are posted on [Task]: align the eval rubrics and A/B controls with the Claude candidate/judge results #680.Siblings after the skill fixes (single pass, all PASS):
feature-flow.yamlboth seeds,ac-coverage"All ACs met",security-relevancegrounded-omission, basereviewing-before-mergeauth-helper,adversarialboth negative controls,eval-validity.yamlboth seeds,guard-coveragetwo-sided.Real surface. A headless
claude -pagent on the branch build over MCP, withuvx --frompointing at the worktree, reviewed a test-only.ab.yamldiff in a single pass. It emitted itsSurface verifier:andA/B control:lines, then the verdict. The router andsumo_qa_load_classificationsreturned output identical tomain.Tests.
pytest: 4128 passed, 5 skipped, 1 xfailed, 0 failed, coverage 100.00%. The host-neutrality grep overskills/is clean.Review. A sumo-qa self-review ran with the
eval-validityandsurface-verifiermodules; it found the single-A0-sample claims needed repeats, which were added. Six codex adversarial passes followed, with each fix re-reviewed, and the last pass was clean. At merge review, a per-file review and a codex review thread found that item 8 was not mandatory on a test-only.ab.yamldiff; that was fixed, and codex re-reviewed each follow-up commit clean. Declined findings: (1) "the eval-validity rubric requires calling the single A0-FAIL variance after the second-sample observation was removed": the variance conclusion is an axiom of theeval-validitymodule the skill leg is given, not an inference from that observation, and the seed was later restored anyway; (2) em-dashes and OpenAI-history narration that predate this branch (byte-identical tomain) were left, as was the sharedUNPROVEN — SAFE-blockerstatus token that module verdict lines pin.Checklist
pytest); commit hooks green. No Python changed, so mypy is not affected.tests/evals/promptfoo/README.md)Gaps surfaced while working this: #724 (the
surface-verifiermodule still requires an OpenAI key); evidence added to #348.