Repository navigation
fix(intake-triage): pass a done-when item that excludes the eval run - #17813
Conversation
The unrunnable-rules.json eval row's before-and-after match flagged an item saying the eval run is not part of the work, so admission refused the issue. Its `unless` now also clears an eval or eval run stated as not part of, or out of, scope. The refine prompt puts a scope exclusion in `outcome`, never in `criteria`. 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: 55f89fe64b
ℹ️ 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 (incremental, blocking only): no findingsThis pass covers only what changed since What changed
What I checked
critical-findings: 0 |
|
claude-review reviewed Code review: PR #17813 (incremental, blocking only)No blocking findings. I read the one hunk in the incremental diff, which touches What changed. The push adds one line at the top of the test suite, Settled / prior. All earlier threads on the Loosened checks. This push loosens no check. The wrapper sent no Verification. I read the diff and confirmed the declared path exists. I ran nothing, so the PR's test pass counts are as the author reported them and I have not checked them. This review was blocking only, because the lane already reviewed earlier heads of this pull request. Verifier dropped 0 of 0 candidates. |
… asks for one The eval row's new `unless` matched anywhere in the item, so an item asking for a before-and-after eval run and excluding a different eval run in another clause was admitted. The exclusion must now open the item, and nothing after it may name an eval, trigger, measured or VALID result. Co-Authored-By: Claude Opus 5.5 <[email protected]>
… word The eval row's `unless` prefix rejected only an eval word while the suffix also rejected trigger, measured and VALID, so "A before-and-after trigger rate is recorded, and the eval run is not part of this work." was admitted. The alternative now names the guarded words once, in a lookahead that refuses an item holding two of them, so the excluded eval must be the only one. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The guard exempted every hyphenated eval word and counted only whole `eval` and `trigger` words, while `match` also finds eval-suite, triggers and evaluations. So "A before-and-after eval-suite run is recorded; the full eval run is not part of this work." and "Before/after triggers are recorded on Bedrock; the eval run is out of scope." were admitted. The guard now counts `eval\w*` and `trigger\w*` and exempts `eval-gated` by name. Co-Authored-By: Claude Opus 5.5 <[email protected]>
The guard exempted every `eval-gated`, so "A before-and-after eval-gated run is recorded; the eval run is not part of this work." was admitted, and on Bedrock it passed the paid-eval check. `eval-gated` now counts as an eval word when a before-and-after names it, or when it is neither "by eval-gated" nor followed by do-not-merge, hold or label. That also refuses "An eval-gated run shows no loss; the eval run is out of scope." Both #17795 reproducer lines still clear. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Held for the owner by the backlog-drive session (8f198af1). This change narrows intake admission's refusal of issues that ask for a paid eval run, which is a cost control, so the owner decides it. Review has twice found wordings that ask for an eval yet pass the narrowed check. The worker's fix for the latest two review threads continues; the merge waits on the owner's decision. 🤖 Generated with Claude Code |
|
The pr-verify verifier failed head What it wrote (31 lines)This pull request leaves the merge queue, and ci-status holds it out while it carries |
|
On review thread PRRT_kwDOTCGFQM66UdG3 (before-and-after |
…clusion An exclusion whose own eval word completed match's no-loss alternative cleared, so "The eval run is out of scope, but show no loss on Amazon Bedrock." passed as a no-run item while main held it as a paid eval. No loss now counts as a guarded word, so exclusion plus no loss is two words and stays refused. Refs: #17795 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…s eval The eval row's exclusion lived in `unless`, which the paid-eval check also reads, so "The before-and-after eval run is not part of this work, but run the full benchmark on Amazon Bedrock." cleared while main held it for the owner. The exclusion moves to a new optional `excluded` pattern that clears only the row's own kind; the paid-eval check reads `match` and `unless` alone, both byte-identical to main, so every paid eval decision stays as on main. Refs: #17795 Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The owner decided Q138 on 2026-11-21: option (a), resolve the claude-security-review threads on #17813 and #17930 that are fixed in code, and merge each once pr-verify and both review lanes are green at its head. That lifts the owner-decision hold above. Both lanes show 0 findings at 🤖 Generated with Claude Code |
…package.json The merge group's Test Selection found admit.test.mjs reads the package.json and a change to it did not select the suite (scripts/affected-tests.sh R8). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
The unattended merge path is about to ask GitHub to enqueue this pull request at head |
Closes #17795
Summary
Intake admission refused a done-when item that says the eval run is not part of the work, as kind
eval. The match came from theevalrow of.github/actions/resolve-config/unrunnable-rules.json(itsbefore(?:[/ -]and[/ -]|[/-])after (?:evals?|trigger)alternative); the built-in kinds inadmit.mjs(EVAL_PATTERNand the rest) do not match either reproducer line.Fix
admit.mjs,unrunnableRulesOfand the paid-eval check inunrunnableCriteria: a row may carry an optionalexcludedpattern, which clears the row's own kind but not the paid-eval check. The paid-eval check reads eachevalrow'smatchandunlessalone (held), and both are byte-identical to main, so every item that names a billing account gets main's decision: an exclusion can clear the plaineval(host-queue) refusal, never the owner's paid-eval hold.The before-and-after eval run is not part of this work, but run the full benchmark on Amazon Bedrock.stays a paid eval.unrunnable-rules.json,evalrow:unlessis main's; the newexcludedclears the item only when the item says its evalis/are not part of,not in scopeorout of scope, and that eval is the item's only guarded word. The guarded words are counted by the stemsmatchuses (eval\w*,trigger\w*,measured,VALID,no loss), listed once in a leading lookahead that refuses any item holding two of them. That covers every clause, so no separate clause anchor is needed.eval-gatedis exempt only as the hold's name (by eval-gated, or followed by the hold label's name,holdorlabel), and never when a before-and-after names it.no losscounts because it completesmatch's no-loss alternative with the exclusion's own eval word:The eval run is out of scope, but show no loss on Amazon Bedrock.asks for a paid run, and stays held. So an item that asks for an eval run, trigger rate, measured pass orVALIDrun beside the exclusion, in either order, still matches, and so does one that excludes something else. No other row or built-in kind changes.refine-prompt.md, step 4: a scope exclusion goes inoutcome, never as an item incriteria.admit.test.mjs: the two reproducer lines pass; the before-and-after eval run line from the issue, an eval-run line with an unrelated exclusion, and two lines that exclude one eval and ask for another (either order), a trigger-rate line, aneval-suiteline, a before-and-aftereval-gatedrun line and aneval-gatedno-loss line and two lines that excluded the eval and ask for no loss beside it still route to the host queue; the same with a billing account named, includingBefore/after triggers ... on Bedrock, a before-and-aftereval-gatedrun on BedrockThe eval run is out of scope, but show no loss on Amazon Bedrock., the Bedrock benchmark line above and an excluded reproducer on Vertex, stays a paid eval; an empty or invalidexcludedthrows.Trust surfaces:
.github/actions/resolve-config/**is atrust-class floor path indocs/conventions/pr-pipeline.yaml, andpath-holdsisfalse, so it adds no hold.refine-prompt.mdis the refine lane's model prompt and is not on the floor-path list.Verification
Scratch check (
unrunnableCriteriawith the rows from the JSON beside the script;builtinOnlypasses no rows):Before (main):
After (this branch):
node --test --test-concurrency=4onadmit.test.mjsandrefine.test.mjs: 909 pass, 0 fail on d7fa859.Paid-eval diff (
unrunnableCriteriawith main's rules and the branch's over 1,587 lines: every string literal of 12 or more characters inadmit.test.mjs,unrunnable-rules.vectors.jsonand the wording probe): theevalrow'smatchandunlessare identical to main's, the paid-eval decision changes on 0 lines, and any kind changes on 4, the four in the table below.Wording probe (
unrunnableCriteriawith the branch rules and main's, 34 lines, seven of them naming a billing account: the Bedrock benchmark line, both reproducers on Bedrock and Vertex, AWS, a paid API key, Azure, and a Bedrock eval beside another exclusion): every line naming a billing account gets main's kind (six a paid eval;The eval run on Azure is not part of this work.is admitted on main too, sincematchnever reaches it). every line that asks for an eval and thatmatchreaches is refused on this branch, as on main, at the same kind. The branch admits four lines that main refuses, each excluding its one eval run and namingeval-gatedonly as the hold:The before-and-after eval run is not part of this work; it lives in #17719 and the PR carries the eval-gated ... hold., the elided word being the label's name)eval-gatednames the holdThe before-and-after eval run is not part of this build; it is host-run child #17719 and the PR is held by eval-gated.held by eval-gatedThe PR is held by eval-gated; the before-and-after eval run is not part of this work.The before-and-after eval run is not part of this work; the eval-gated label stays on.Refused on both, at the same kind:
The eval run is out of scope, but show no loss on Amazon Bedrock.(a paid eval),The eval run is out of scope, but show no loss.andThe eval run is not part of this work, so no loss is shown.(eval). Linesmatchnever reaches (a non-breaking hyphen,benchmark,pass rate,grader suite,ev run,until a before-and-after is recorded) pass on main and here alike. That includes every vector inunrunnable-rules.vectors.jsonat its recorded kind.scripts/check-affected.sh: 15 passed, 5 skipped.Related
🤖 Generated with Claude Code