Repository navigation
Description
Goal
A compare run of pr-run-plugin-evals.yml can run on the maintenance subscription token (MAINTENANCE_CLAUDE_CODE_OAUTH_TOKEN) while the org API key stays off (CLAUDE_API_KEYS_DISABLED=true since 2026-11-19), so eval-held PRs such as #18356 and #18188 can land.
Owner decision
docs/owner-decisions.md#L364, "Eval runs on a subscription token, case pruning, and how #18356 lands", 2026-11-23 (melodic-software/architecture#200), amending Q53 and Q14. Owner, before the questions, verbatim: "I think we should probably allow these to run on subscription tokens, but I want to make sure that it's not going to, again, kill the subscription token." Then, on question (1) "Should eval runs use subscription tokens?", verbatim: "Go with recommendations."
Loosened checks (named for the review lane, docs/conventions/review.yaml:5)
- The key-only eval credential rule:
docs/review/evals.md"Every run uses the maintenance API key ... No eval run uses a subscription token (Q14, Q53)" and the.github/scripts/plugin-eval/credential-legs.test.mjstruth table that asserts compare passes run on the key alone. - The compare jobs' secrets:
compare-beforeandcompare-aftermay also receiveMAINTENANCE_CLAUDE_CODE_OAUTH_TOKEN.
Bounds (all required)
- Dispatch only (
workflow_dispatch); no pull_request, label or schedule path uses the subscription token. - Opt-in per dispatch: a
credentialinput,api-key(default) orsubscription. - Only on a PR whose author is a trusted actor (our login or our bots), checked in
compare-preparebefore any pass starts; refused otherwise. - Affected cases only (
casesinput), the per-runmax-cost-usdceiling (a list-price estimate cap, not a plan-usage cap: https://code.claude.com/docs/en/plugin-evals#command-options),--no-publish, and theCLAUDE_EVALS_DISABLEDmaster switch, unchanged. - No fallback: the subscription fallback legs deleted in ci(evals): run evals on the API key alone, never subscription tokens #18268 stay deleted; a subscription limit stop ends the pass and says so.
Done when
- A compare dispatch with
credential: subscriptionon a trusted-author PR runs both passes on the subscription token; on any other author it fails incompare-prepare. -
credential: api-keybehaves exactly as today. - Tests cover both credentials and the author refusal;
docs/review/evals.mdstates the new rule with this decision.
🤖 Generated with Claude Code
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 23, 2026
Size: Medium
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius:
pr-run-plugin-evals.yml(thecompare-prepare,compare-beforeandcompare-afterjobs),credential-legs.test.mjs, anddocs/review/evals.md. Maintainers and the eval and review lanes read or run these.Reversible: yes; revert the workflow, test and doc edits. Dispatches that use
api-keyare unaffected.Open questions: none
I read this as a request to let a manual compare dispatch run on the maintenance subscription token. The dispatch would opt in through a
credentialinput, defaultapi-key. It would be accepted only for PRs by a trusted author, whichcompare-preparechecks before any pass starts. There is no fallback, and the existing cost ceiling andCLAUDE_EVALS_DISABLEDswitch stay as they are. The issue names its design and a done-when for each part, so I'm treating it as ordinary workflow work. The review lane will judge the credential and trust-boundary change in the diff. The issue treats eval-held PRs such as #18356 and #18188 as blocked, hence high priority.I found no open duplicate and did not check the merged-PR list.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 23, 2026
{"v":1,"actor_id":337595936,"title_sha256":"39b2bb0e39df16c72caa7675297881e2b0b78ed074a737705e30e9e5c3e15165","body_sha256":"09f5fec7e79de817fb47cf716d47283e01b9edd179d8070ee96f01641eb68de6"}
github-actions commentedon Nov 23, 2026
melodic-automation-lanes commentedon Nov 23, 2026
The work-resolve-issue lane stopped partway through this issue and needs a person.
Reason:
securityMatched security word:
credential. A match holds the stop whether or not the text names a risk, so read the word in context below.Why, in the run's own words:
What the run says it did not do:
credentialdispatch input, the trusted-author gate in compare-prepare, and the subscription token secret for compare-before/compare-after in .github/workflows/pr-run-plugin-evals.yml: protected path, needs a person or a lane with workflow writeRun: https://github.com/melodic-software/claude-code-plugins/actions/runs/45203885086
To retry, set Work status to agent-ready again (clearing the
needs-humanhold).