Repository navigation
feat(verification): carry one row per criterion into the PR evidence table - #17183
Conversation
…table confirm-verdict.sh record takes a --row per acceptance criterion, stored as a ROW: line (criterion | files | test or check | result) and printed by show. /verification:confirm passes one row per criterion, with a fix's first row the reported symptom and its reproduction test, and a refactor's "behavior preserved: same tests pass". The pull-request evidence comment renders the rows as one table in place of the per-criterion result lines; a verdict with no rows keeps the lines. Co-Authored-By: Claude Opus 5.5 <[email protected]>
…d pass step 1 The four pull-request-evidence prompts now name the pull-request skill, the wording the other pull-request cases use; unnamed, the skill fired in 2 of 12 runs here and 0 of 3 at main. The eval forge's gh answers `repo set-default --view` as a checkout with no default, so target-repo.sh resolves the origin repository instead of stopping the evidence step. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Held with #17215 (a4827f2) fixed step 4's Write instruction on main, and this branch merged it at cc41401. Main's evidence-step text won. The criteria table stays a step 4 placeholder, so it is part of the body the Write call writes. I ran the A/B again. Both arms read VALID: Sonnet tested, Opus judge, with-plugin arm only, 3 runs per case. Main was a4827f2 for the evidence cases. The verification plugin is unchanged since ada48dd, so the confirm cases reuse that run. The head was cc41401.
The rule was written before the run, and it does not hold. The failing run answered correctly. Its report lists NEEDS WORK, then CONFIRMED (final), in a table headed The hold releases on either of:
|
…mment Merge origin/main (ada48dd, the evidence eval suite repair). Main's four evidence cases, fixture and evidence-step text win; this branch keeps only the criteria table rendering, the fixture's recorded rows and its own graders. The criteria-table grader is now a regex on .git/eval-forge/comment-body.md, the posted body, like the repaired suite's content graders. Co-authored-by: Claude Opus 5.5 <[email protected]>
… criteria table Merge origin/main (a4827f2), which rewrote the evidence step's Write instruction. Main's evidence-step text wins; the criteria table stays a step 4 placeholder, so it is part of the body the Write call writes. Co-authored-by: Claude Opus 5.5 <[email protected]>
…ification-criterion-rows-evidence-table
|
The hold is released. The deciding rule written before the run (addendum 4) is met on head 11f6a59. On |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-review reviewed Code review: criterion rows in the verdict record and the evidence tableI read the whole change in all 18 listed files. Script. Template, evidence step and evals.
Finding (advisory, inline on the source-control changelog fragment). After this change a CONFIRMED record prints Closing issue. None. The PR says it is an owner-approved build with no related issue, so there are no acceptance criteria to check. Embedded text. The PR context contains no instructions aimed at the review. Paths. None of the changed files matches a TRUSTED PATHS glob. Other checks.
Spend. The PR adds one grader to each of two eval cases, which spends prepaid model usage only when evals run. I ran no verifier subagent; I checked the single candidate myself against the files. Verifier dropped 0 of 1 candidates. critical-findings: 1 Findings not posted inline (their lines are not in the diff):
After this change a CONFIRMED record routinely prints
Fix: add the same clarification to step 3 at line 572: the CONFIRMED line, then any |
|
claude-security-review reviewed Security review: PR #17183 (head 11f6a59)No security issues found. What changed. What I checked.
Copies. I read the change to Spend. The eval rounds in the PR description use prepaid API credits only (about 0.72 USD list-price estimate). This is not a hold and not counted as a finding. critical-findings: 0 |
No related issue: an owner-approved build from a sign-off round, the smallest form of a per-criterion traceability table in PR evidence
Summary
/verification:confirmalready works out, for each acceptance criterion, which files meet it and which test proves it, but its per-head verdict record keeps only the verdict and the MISSING or PARTIAL items. So the pull-request evidence comment can show only one result line per criterion, with no files and no test. This change stores one row per criterion in that record and shows the rows as one table in the evidence comment.session: AI Hero
Fix
lib/confirm-verdict.sh(synced to its two copies):recordtakes--row '<criterion> | <files> | <test or check> | <result>', stored as aROW:line in the order given and printed byshow.--of measurerefuses it. Tests inlib/confirm-verdict.test.sh.verification:confirm: passes one--rowper criterion, COMPLETE ones included.context/outcome.mdfills the cells from Plan Coverage and Evidence. Incontext/fix.mdthe first row is the reported symptom with its reproduction test failing on base and passing on head, then a regression row. Incontext/refactor.mdthe first row is "behavior preserved: same tests pass".pull-requestevidence step: keeps theROW:linesshowprints. When there are rows, step 4 renders them through the template's new{{#criteria}}block, a Criterion / Files / Test or check / Result table, in place of the per-criterion result lines, after one text line stating the verdict. A verdict recorded with no rows keeps the lines.pull-request-evidence-large-change-collapsedgains acriteria-tablegrader, andconfirm-lists-every-verifier-verdictgains arecords-a-row-per-criteriongrader, each with pass and fail samples.Verification
bash lib/confirm-verdict.test.sh: all pass. The new tests cover rows stored in order beside a MISSING item,showprinting them with an escaped pipe kept, an empty or multi-line row exiting 1, and a row on a measure record exiting 1.bash plugins/source-control/skills/pull-request/scripts/ready-flip.test.sh: 59 pass, 0 fail.scripts/sync-shared-copies.sh --check-bump origin/main: copies in sync, and both carrying plugins have a fragment.evals:validateon both plugins' eval dirs: no FAIL, so the new graders' pass and fail samples match.Eval comparison, under a deciding rule written before each round: arm MAIN is main's plugin content, arm HEAD this branch;
claude plugin eval, sonnet, judge opus,--ablation none, 3 runs per case per arm, Claude Code 2.1.327. Support means both arms VALID, each new grader passing at least 2 of 3 at HEAD, and no grader that exists on main scoring lower at HEAD than at MAIN.Round 3, at cc41401 against main a4827f2: every invocation VALID. The four
pull-request-evidence-*cases scored 3/3 on every grader at both arms,criteria-table3/3 at HEAD, andconfirm-verifier-needs-work-not-upgraded3/3 on all four graders at both arms. It missed the rule only onconfirm-lists-every-verifier-verdict/lists-both-in-order(MAIN 3/3, HEAD 2/3): a correct table-form report that the grader's 120-character window missed. fix(verification): widen the lists-both-in-order grader's window #17268 widened that window on main.Round 4,
confirm-lists-every-verifier-verdictonly, at 11f6a59 (this head, main merged) against main b684114 (with fix(verification): widen the lists-both-in-order grader's window #17268): both arms VALID.A kept HEAD trace shows one record call with
--verdict 'CONFIRMED'and four--rowvalues naming the prompt's files and tests. The MAINfinal-confirmedmisses are table-form reports the grader'sVerdict\W{1,8}CONFIRMEDpattern cannot span, a grader false negative on main. Spend 0.72 USD (list-price estimate).The rule is met on 11f6a59.
Related
lists-both-in-ordergrader window that round 3 tripped on.Known gap, out of scope: the fix and refactor modes' own verdict words (PARTIALLY CONFIRMED, LIKELY PRESERVED and others) are not among the three the record script accepts. That was already true before this change.
Follow-ups
confirm-lists-every-verifier-verdict/final-confirmedmisses a correct verdict reported in a table (| Verdict |header,CONFIRMEDin a cell); it scored 1/3 at main in round 4.🤖 Generated with Claude Code