Repository navigation
fix(ci): stop admission starving the issue lane - #12511
Conversation
The hub measured 52.1 of 121.9 issue-lane slot-hours idle (43%) while agent-ready never fell below 2 and 86 issues were status-ready. Admission changes in .github/scripts/intake-triage/admit.mjs: - deferredAhead counts only an older issue deferred for room: one that keeps status: ready, carries no person's hold or untrusted label, and has no open pull request. A failed or incomplete read still counts as ahead. - On a triage verdict whose only obstacle is missing criteria, and whose human-written body intake's refinement is due to refine (refineDue), the issue waits at status: ready instead of parking refused. The trusted criteria gate itself is unchanged. - The protected-path check also reads the body's prose outside task items and code fences, less evidence lines, line citations and negated mentions (bodyUnpushablePaths). - A model eval run is host work (EVAL_RUN), not a paid eval. Only an eval item that names a billing account (Azure, larger runners, Actions or private-repo minutes or storage, an API key past the credits) keeps the PAID_EVAL owner hold. Owner direction 2026-11-02: "Not cost, so spend it freely: model usage under the Claude subscriptions, and each account's promotional $200 API credits. Extra usage is off and spending limits are set on all 12 accounts, so reaching a limit stops work and never bills." The eval-kind test expectations move to the new kind for that reason. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
Codex Review SummaryThis 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: 1aca63facb
ℹ️ 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".
workCharges read the title and stated work word by word, so "retention" in a title that shortens it (#8295) or in a criterion that bounds a check by it (#7479) held the issue for the owner. Owner decision 2026-10-31 Q1: the check reads what the issue will do, not background text. A charge word now counts only in a clause that says the work will buy, add, create, raise, extend, enable, move to, use or need something that bills, and Azure counts as a billing account there. Tests that expected a hold on text that takes on no charge ("drop the billing alert", "Runs are billed per job", "Reduce the Azure subscription usage") now expect admission, or were reworded to take one on. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
The typos check read the `increas` stem as a misspelling. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
|
claude-security-review reviewed Security review: PR #12511 at
|
|
claude-review reviewed Code review: PR #12511, fix(ci): stop admission starving the issue laneI read every hunk of all 3 changed files in the diff: the changelog fragment, The round cap applied. The prior-findings file says this is past the cap of 3 rounds. So this review posts only blocking findings, and I found none at this head. Advisory findings dropped under the cap:
Settled threads. Every earlier cost-gate thread is resolved, and the fixes are at head:
The spend-guard thread is marked What looks right
Spend (not a hold): model eval runs ( |
A charge word now counts in every clause but one that only lowers or removes the charge, so a verb outside any list still holds the issue. An eval naming another provider (Bedrock, Vertex, Foundry, AWS, GCP, --provider, CLAUDE_CODE_USE_*) holds as a paid eval. The body protected-path check reads consecutive prose lines as one paragraph, so a soft-wrapped negation leaves its path out. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
|
The pr-verify verifier failed head What it wrote (33 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
… charge LOWERING exempted a clause by its verb alone, so "remove the Actions spending limit", "cut over to larger runners" and "retire the standard runners in favour of larger runners" lost their charge words and admitted with no owner hold. A clause now takes the exemption only when it names no guard on spend (spending limit, cap, budget, quota) and no charge word follows a destination marker (for, with, in favour of, instead of, in place of, over to); "cut over" no longer counts as lowering. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
…st word "Turn off the budget cap", "Delete the spend cap" and "Raise the quota" name no charge-words.json cost word, so they held nothing. A clause with a LOWERING or CHARGING verb and a SAFEGUARD word now reads as "a spend guard" when it has no other charge word. charge-words.json is unchanged. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
A clause with no cost word held as "a spend guard" on any bare cap, budget or quota, so lane work such as raising the verify cap was held for the owner. The spend-guard hold now needs a spend qualifier, a cap on spend or a money amount; the lowering exemption still keeps every cap. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE
No related issue: hub-routed admission fix (L64) from the 2026-11-02 slot metrics; issue lanes sat idle 52.1 of 121.9 slot-hours (43%) while agent-ready never fell below 2 and 86 issues were status-ready.
Summary
Admission was starving the issue lanes. This lets ready work through: the deferral queue counts only issues deferred for room, a first triage with a refine due waits instead of refusing, and a model eval run goes to the host queue instead of holding for the owner as a "paid eval".
Fix
admit.mjsdeferredAhead: an older deferred issue counts as ahead only when it was deferred for room (stillstatus: ready, no hold label, no open PR); a failed or incomplete read still counts it (fails toward deferring).admit.mjsrefineDue: when the only refusal is no trusted acceptance criteria and a refine is due, admission waits label-free atstatus: ready; refine asks triage again (refine.mjs:805-818). The trusted-criteria gate is unchanged.admit.mjsbodyUnpushablePaths: the protected-path check also reads paths the body names, outside code fences, task items, evidence lines andpath:Ncitations.admit.mjsEVAL_RUN: a model eval run is a host-queue item, no hold.PAID_EVALholds only an eval that names a billing account (Azure, larger runners, Actions or private-repo minutes or storage, an API key past the credits). Owner, standing direction s3, in session 2026-11-02: "Not cost, so spend it freely: model usage under the Claude subscriptions, and each account's promotional $200 API credits. Extra usage is off and spending limits are set on all 12 accounts, so reaching a limit stops work and never bills."admit.mjsworkCharges: a charge word counts in every clause except one that only lowers or removes the charge (LOWERING: shorten, reduce, drop, remove, disable, bound, "set a … policy") and takes none on (CHARGING, which includes set, bump, double, spin up, allocate, configure); a clause that lowers a guard on spend (SAFEGUARD: spending limit, cap, budget, quota) or names a charge it moves to (TOWARD: for, with, in favor of, instead of, over to) still counts, "cut over" is not a cut, and with no cost word such a clause holds as "a spend guard".BILLEDalso names Bedrock, Vertex, Foundry, AWS, GCP, OpenAI, OpenRouter,--providerandCLAUDE_CODE_USE_*. Owner decision 10-31 Q1: the check reads "what the issue will do, not background text". fix(lanes): secret-scan lane artifacts before upload and shorten their retention #8295's title ("... and shorten their retention") and pr-merge lane: dispatch proof artifacts expire while the post-merge floor still counts older merges #7479's criterion ("Bound the check to merges newer than the artifact retention ...") admit; "Raise retention to 400 days" and "Add an Azure storage account" still charge.Not in this PR:
workflow_runtrigger on work-unblock: the lanes token broker'scheckActorsexempts onlyschedulefrom its listed-human check, so the mint would be refused; it needs a broker change first.Verification
admit.test.mjs590/590 (14 new or rewritten cases: deferredAhead, refine due on a first triage, body-named paths, eval routing and billed evals).scripts/check-affected.sh --base origin/main11 passed, 4 skipped.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01VcupojVgxFqBnrah9DwFLE