Repository navigation
feat(pr-verify): add the manual-dispatch whole-map verification workflow - #16951
Conversation
maintenance-verify-whole-map.yml runs /testing:run-e2e map on a listed human's dispatch, on the default branch, first attempt only, in the capture's sandbox, launch broker and key proxy on the pr-verify API key. It stops on the kill switch (with the budget), upstream status and the human gate, prints the entry count, both token caps, the driven model and the driver's turns before any model turn, keeps findings.json as map-findings for 90 days and the evidence for 7, and takes the newest earlier pass's map-findings as its baseline. Every step it shares with pr-verify-capture.yml is held identical to the capture's by whole-map/workflow.test.mjs under a declared substitution table; the capture is unchanged. The driver leg takes the new verify-map run route and profile. The lane joins the funding catalog, transcript puller, kill-switch classes, retention registry, key-proxy pin, key-only leg exemption and the hold floor (regenerated), and the plugin scripts it runs join CARRY_REFUSES. Refs: #16564 Co-authored-by: Claude Opus 5.5 <[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: ae51700e06
ℹ️ 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".
…cked A summary the map skill wrote with capture.status blocked was collected as a success. The collect step now sets the blocked reason, so the report step fails the run. Co-Authored-By: Claude Fable 5.2 <[email protected]>
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundThis review covers only what changed since What changed: a pass narrowed by
Trust controls: none are touched. The trigger, Test change: the test only adds assertions on the new step shapes and their scan gates. Spend: nothing billed. Narrowed passes now store one more artifact for 90 days. The retention entry records this as the repository's retention with no paid storage, and the change adds no model turns. critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only):
|
…atures A later whole-map pass compared with a narrowed pass's findings would report every other feature's finding NEW. A narrowed pass now uploads its findings.json with the evidence only, not as map-findings. Co-Authored-By: Claude Fable 5.2 <[email protected]>
…wn name Every pass keeps findings.json at the repository's retention. A pass narrowed by features uploads it as map-findings-narrowed, which the baseline lookup never reads, so a later whole-map pass does not report the other features' findings NEW. This replaces the earlier change that kept a narrowed pass's findings with the 7-day evidence. Co-Authored-By: Claude Fable 5.2 <[email protected]>
Refs: #16564
Summary
Adds
maintenance-verify-whole-map.yml: a workflow a listed human dispatches by hand to run/testing:run-e2e mapover the whole feature map, in the pull-request capture's sandbox, launch broker and key proxy on the pr-verify API key. It has never been dispatched: the pr-verify key is out of credit, so everything below was checked without a real run.Fix
workflow_dispatchonly, default branch and first attempt only, behind the kill switch (as budget-spending work) and the listed-human gate. Inputsfeatures,max_entries(default 40, ceiling 100) andbaseline_runreach scripts throughenvonly.findings.jsonuploads alone at 90 days and is registered in the artifact retention registry with this workflow as its reader; evidence uploads at 7 days. The baseline is the newest successful run'sfindings.json, or none.pr-verify-capture.yml's, held identical by a parity test under a declared substitution table.pr-verify-capture.ymlis unchanged.verify-maprun route with its own profile (300 turns) indocs/conventions/pr-pipeline.yaml; the capture's token caps are kept.Outside the planned file list, each forced by an existing test:
CARRY_REFUSES(both copies) gainsplugins/testing/scripts/**and the run-e2e scripts, because the new workflow loads them and it is a hold path; the hold-floor pins and digests are regenerated.outcome != 'skipped',outputs.x != ''and a parenthesized group as false on a budget stop.Verification
node --teston the new whole-map tests, the pr-verify directory, check-kill-switch, resolve-config callers and models, lane-transcripts and the all-workflow suites: 603 tests, 0 failures (build session). Breaking a shared step on purpose failed the parity test.sync-hold-floor.py --checkexit 0; the babysit pytest suite, 4388 passed.actionlintexit 0, offlinezizmorno findings, artifact retention 158 uploads matched, runner policy and vocabulary checks pass.Left out: any real dispatch (no key credit), so these are unverified:
resolve-config.sh mapanddateunderdontAsk, real turns and tokens against the 300-turn limit and the caps (300 turns covers 40 entries at about 3 turns each, not the 100-entry ceiling), the 355/340/330-minute timeouts, the baseline artifact round trip, and the collect step's root-owned checker. The full.githubsuite and the online zizmor audits were not run locally.Related
Known limit
max_entriesfollowed by a larger one reports the extra entries' findings NEW, becausefindings-compare.shdoes not know which entries the baseline drove. A pass narrowed byfeaturesuploads itsfindings.jsonasmap-findings-narrowed(90 days), which the baseline lookup never reads, so it does not cause this (owner decision on Add the manual-dispatch workflow for the whole-map live verification pass #16564).Remaining
findings.json.Read first
Two edits outside the plan change safety checks. The opening session read both; no independent reviewer has yet:
.github/actions/check-kill-switch/check-kill-switch.test.mjs: the budget-stop reading accepts three more condition shapes.CARRY_REFUSESin.github/scripts/pr-merge/merge-holds.mjsandbabysit_merge_policy.py, with the regenerated hold-floor pins. It adds two paths, so more pushes stop an approval carrying; it removes none.🤖 Generated with Claude Code