Repository navigation
test(source-control): port ready's evidence case to a runnable eval - #17219
Conversation
…t offline Port evals.json entry 64 (ready-posts-evidence-after-flip-for-confirmed-head) to a runnable plugin-eval case: ready --evidence on an offline draft whose head is verified and confirmed must post the evidence comment after the flip, attach the publishable capture, and name the comment in its report. The gh-forge stand-in now answers `gh repo set-default --view` with its repository, the read target-repo.sh makes first; without it the evidence step and the other ready case stopped on "not served offline". Refs: #15787 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Refs: #15787 Co-Authored-By: Claude Fable 5.2 <[email protected]>
Main (#17198) made the stand-in answer `gh repo set-default --view` as a checkout with no default set; this branch printed eval-fixture/app. Both make target-repo.sh resolve offline (with no default it falls back to the one github.com remote). Main's evidence cases depend on its answer, so the fixture keeps main's arm; this branch's test now expects it, and the changelog fragment no longer claims the fixture change. Refs: #15787 Co-Authored-By: Claude Fable 5.2 <[email protected]>
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. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 696ced0da7
ℹ️ 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".
|
claude-security-review reviewed Security review: PR #17219, incremental (696ced0 → eea2a95)Blocking only. This lane already reviewed an earlier head, so this review reports only CRITICAL and IMPORTANT findings. I read every hunk of the 3 files in scope:
None of them matches a trusted-path glob. The push changes no workflow, token request, trusted-actor list, kill switch, merge hold or standing instruction. No new security issue in this push.
Prior findings. The three manifest flags on the eval-only fixture Manifest lines (3)
critical-findings: 0 |
|
claude-review reviewed Code review: PR #17219, incremental from
|
ready's flip confirmation (2.5.4, "Confirm a ready run") polls gh run list for a run on the head that did not exist before the flip, and stops before the evidence step when none appears. The forge refused every run list call, so a run that followed the skill could not reach 2.5.5. The forge now serves run 1 for the PR's head commit, and run 2 once the PR is out of draft; any other commit has no runs. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
Owner decision, 2026-11-18, typed in the owning agent session: "go w/ recommendations" on the question about the three manifest flags, option A: accepted; the flagged manifest is byte-identical to the one already on main in pull-request-ready-merges-base-never-rebases. The hold is lifted. |
Refs: #15787
Summary
Ports the skill's evidence case for
ready(entry 64 ofskills/pull-request/evals/evals.json, whichclaude plugin evalcannot run) to a runnable plugin-eval case. This is the case the issue's "One new eval case shows the call" asks for: it drivesready, not theevidenceaction alone, and checks that the flip is followed by the evidence comment.Fix
pull-request-ready-posts-evidence-after-flip. It sets up an offline draft PR whose head has a passing verify record and a CONFIRMED verdict. The base's team config turns the review steps off. An ignoredevidence/e2e-summary.jsonholds one publishable screenshot. The prompt flips the PR with--evidence.gh pr ready;gh-forge.test.shcovers the stand-in'sgh repo set-defaultanswers:--viewreports no default, and setting a default is refused..changes/source-control/.#17198 already made the stand-in answer
--viewand repaired the fourpull-request-evidence-*cases. Those cases drive theevidenceaction directly. This case coversready's step 2.5.5, which calls that action after the flip, so it does not repeat them.Verification
bash plugins/source-control/evals/gh-forge.test.sh: 86 passed./evals:validateonplugins/source-control/evals: no FAIL. The new case's only findings are the Bash and Write grant notes.confirm-verdict.sh showprints CONFIRMED for the head;verify-gate.sh checkexits 0;target-repo.shresolveseval-fixture/appfrom origin;scripts/check-affected.sh: 17 passed, 2 skipped.18692ebd, afterd82c9c8e. Run as the registration eval-15787b with Claude Code 2.1.327, Sonnet, three runs a side,--case 'p15907-*'and a--max-cost-usdceiling per batch. The cases are this branch's copies. Verdict: PASS, 6.7294 USD. The record is on Post the evidence comment from the ready step once the head is confirmed #15787.pull-request-ready-merges-base-never-rebases: 1.000 before, 1.000 after (no loss).pull-request-ready-posts-evidence-after-flip: 0.867 before, 1.000 after.evidence-line-reportedpassed 1/3 before and 3/3 after.comment-after-flip,capture-attachedandcomment-names-headpassed 3/3 on both sides. The registered target (comment-after-flipin at least 2 of 3 after runs) is met.ready-for-review.md(step 2.5.5) was opened in 3 of 3 runs on each side.evidenceaction and the prompt's--evidencealready existed before PR 15907. The case shows the call, but the compare cannot show a rise in posting.pull-request-ready-hands-pr-to-explain-changewas dropped under the two-smoke-stop rule. It stopped the smoke on the skill-fired gate in this registration and in the earlier one. Its digest handoff after the flip (/review:explain-change --event ready) is unmeasured.gh repo set-default --view, which printedeval-fixture/app. The branch now keeps main's answer from fix(source-control): make the pull-request evidence eval cases measure the skill #17198, which reports no default. Under both answerstarget-repo.shresolveseval-fixture/app.Remaining
opusalias, which was not run (Sonnet only).readycasepull-request-ready-hands-pr-to-explain-change, which stays unmeasured in the compare./app-control:drive claude-code-plugins source-control/pull-request), which PR 15907 named but nobody has run.ghstand-in now servesgh run listfor the pull request's head commit (it refused the call before), so a draft following ready's "confirm a ready run" step reaches the evidence step. The compare above ran before that change; the case's prompt and graders are unchanged, its fixture behaviour is not.Related
set-defaultanswer)🤖 Generated with Claude Code