Repository navigation
ci(evals): run compare passes on one arm and add an org eval master switch - #18234
Conversation
…one arm Compare mode passed only MAINTENANCE_CLAUDE_API_KEY, so with the org's API keys disabled a compare run (45062297747) ran nothing. A new subscription-opt-in input hands the passes MAINTENANCE_CLAUDE_CODE_OAUTH_TOKEN only when the dispatcher sets it; the fallback token is never passed. The passes also run the with-plugin arm only (--ablation none), since compare-verdict.mjs reads only that arm: half the agent runs for the same verdict. The pass workflow gains an ablation input (empty or none) so hill-climb passes keep both arms. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTQ8rMTZethQ3AV5ZP
A compare run on the subscription token spends plan usage, and no documented read of that account's remaining weekly usage exists for CI yet. Refuse an opted-in dispatch whose cost-cap-usd is above 5, so one such run stays near 25 agent runs per pass; split larger case sets across dispatches. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTQ8rMTZethQ3AV5ZP
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-security-review reviewed Security review (incremental, blocking only): no security issues foundThis review covers only the changes since Subscription opt-in removed: this narrows secret exposure.
New eval master switch: it fails closed.
Spend. This change starts no new spend. The switch can only stop eval runs, and the compare passes stay on the API key. The PR context file has no embedded instructions aimed at this lane. No plugin manifest changed, and no standing instruction was deleted. critical-findings: 0 |
|
claude-review reviewed Code review (incremental, blocking only): PR #18234, compare runs on the API key alone, and an org eval master switchNo blocking findings. This lane already reviewed an earlier head ( Prior finding resolved. The earlier finding (discussion_r4659956046) said the compare-section guard had been loosened to Checked, no finding:
Spend (not a hold, not counted): none added. This push only gates or removes eval runs. With the opt-in gone, compare mode no longer uses the maintenance subscription's plan usage. No closing issue: the PR cites owner decisions Q52, Q53 and Q136 (#17854) and only references #18235, so there are no acceptance criteria to check. The PR body says 29 of 29 tests pass and that the variable is set to Loosened checks would be marked: fail (default; the prompt has no Verifier dropped 0 of 0 candidates. |
…r switch The owner kept decision Q136 (2026-11-22, Q53): no subscription token reaches compare mode, so the subscription opt-in and its 5 USD cap are removed. The one-arm change stays. New org variable CLAUDE_EVALS_DISABLED: each eval path's entry job runs only while it reads exactly `false` (the suite and label legs, compare mode, the hill-climb, and the shared pass workflow), so an unset or mistyped value keeps evals off, as the lanes kill switch does (owner, Q52). Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01RAoAtTQ8rMTZethQ3AV5ZP
No related issue: owner decisions Q52 and Q53 of the eval-run-policy interview (2026-11-22, this session: "Yes, go with recommendations.").
Summary
Two eval CI controls. First, compare runs spent half their agent runs on a no-plugin arm that
compare-verdict.mjsnever reads. Second, nothing stopped an agent session, which acts under the owner's login and passes the listed-human check, from labeling or dispatching an eval run that spends the automation accounts' usage.Fix
--ablation none).compare-verdict.mjsreads onlyarms.with, so the verdict is unchanged and the agent runs halve.maintenance-measure-skill-edit-pass.ymlgains anablationinput (empty ornone); hill-climb passes keep both arms.CLAUDE_EVALS_DISABLEDas the master switch. The entry job of every eval path runs only while the variable reads exactlyfalse:check-key-creditandcompare-prepareinpr-run-plugin-evals.yml,check-inputsin the hill-climb, and the shared pass'scheck-key-credit. An unset or mistyped value keeps evals off, the same as the lanes kill switch. The variable is set totruenow.Verification
node --teston.github/scripts/plugin-eval/{workflow,hill-climb-workflow,credential-legs}.test.mjs: 29 of 29 pass. That includes a new test pinningvars.CLAUDE_EVALS_DISABLED == 'false'on all four entry jobs, and theablation: nonelines.gh variable list -o melodic-softwareshowsCLAUDE_EVALS_DISABLED=true.Related
false.🤖 Generated with Claude Code
https://claude.ai/code/session_01RAoAtTQ8rMTZethQ3AV5ZP