Skip to content

fix(intake): send a before/after eval done-when item to the host queue - #16250

Merged
kyle-sexton merged 1 commit into
mainfrom
fix/admission-before-after-eval-slash-form
Nov 14, 2026
Merged

kyle-sexton merged 1 commit into
mainfrom
fix/admission-before-after-eval-slash-form

Conversation

@kyle-sexton

Copy link
Copy Markdown
Member

No related issue: admission pattern miss that let issue 16239 reach the lane with an eval in its done-when

Summary

Intake admission let an issue onto the unattended lane even though its done-when asked for "A before/after eval of re-session-noop-steering-line on Sonnet, at least 12 runs per side ...". The lane cannot run a model eval. The eval row in unrunnable-rules.json matched "before and after eval" and "before-and-after eval", but not the slash form "before/after eval" or the hyphen form "before-after eval". It now matches all four, so such an item goes to the host queue.

Fix

.github/actions/resolve-config/unrunnable-rules.json, eval row, match alternative:

  • Old: before[/ -]and[/ -]after (?:evals?|trigger)
  • New: before(?:[/ -]and[/ -]|[/-])after (?:evals?|trigger)

The rest of the row is unchanged, and so is its unless (the no-spend claude plugin eval validate, dry-run and no-spend forms). The evals? ... no loss alternative still stops at a period. That alternative did not catch #16239's item, but the widened alternative does, so it was left alone. measured is unchanged because the study's scoring script and its 154 host-run and 147 control issues are not in the repository, so the row cannot be re-scored here.

Verification

Related

session: GitHub Support

🤖 Generated with Claude Code

The unrunnable-rules.json `eval` row matched "before and after eval" and
"before-and-after eval" but not the slash or hyphen forms, so a done-when
item asking for a "before/after eval" was admitted to the lane, which
cannot run a model eval. The row now matches before/after and
before-after too, with the same eval or trigger word after it.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 14, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-14T22:41:17.072009Z b7057d3 PR opened
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed b7057d36c671bb0cde2e369066848581eddee7dd: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This PR widens one alternative in the eval row of .github/actions/resolve-config/unrunnable-rules.json and adds tests for it in admit.test.mjs.

The pattern change

  • Old: before[/ -]and[/ -]after (?:evals?|trigger)
  • New: before(?:[/ -]and[/ -]|[/-])after (?:evals?|trigger)

The new pattern still matches every string the old one matched. It also matches the slash form before/after eval and the hyphen form before-after eval. It does not match a bare-space form like before after eval, because the short branch allows only / or -. That keeps it from matching ordinary prose.

Checks I made by reading the code (I ran nothing):

  • Each of the 5 new positive fixtures contains before/after eval, before-after eval or before-and-after eval.
  • None of the 7 new negative fixtures has eval or trigger right after before/after. They also don't trip the other alternatives (eval evidence, the evals? … no loss window, trigger rate|score).
  • The helpers the new tests use (first, doneWhen, facts) are in scope at admit.test.mjs:2843-2844 and admit.test.mjs:67.
  • No other file in the repository copies the old pattern that would need the same change.

Side effect worth knowing. The trigger branch widens the same way, so before/after trigger is now also flagged as an eval. The old pattern already treated before and after trigger that way, so this is consistent.

Author-claimed, not verified by me: the counts in the PR body (709 of 709 admit tests passing, 147 refine tests, 18 merge-holds sync tests), the offline re-scoring of 93 recent done-when items and 114 study vectors, and the 200,000 generated-string comparison.

Closing issue: none. The PR closes no issue, so there are no acceptance criteria to check.

Embedded text: none found in the PR context.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed b7057d36c671bb0cde2e369066848581eddee7dd: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: PR #16250

No security issues found.

I read every hunk of both changed files in the diff, along with the pull request description and the prior-findings file. This lane had not reviewed an earlier head, so this was a full review, not a blocking-only one.

.github/actions/resolve-config/unrunnable-rules.json (trusted path)

  • The only change is to the match regex in the eval row.
  • Old pattern: before[/ -]and[/ -]after (?:evals?|trigger)
  • New pattern: before(?:[/ -]and[/ -]|[/-])after (?:evals?|trigger)
  • The new pattern keeps the old one as its first branch, so every string the old pattern matched still matches.
  • The added branch [/-] also catches "before/after eval" and "before-after eval". Each of those done-when items is now refused as eval and sent to the host queue, where before it could reach the unattended lane.
  • The unless clause is unchanged.
  • Net effect: this narrows what intake lets onto the unattended lane. It widens no trust control. No trusted actor, token scope, kill switch, merge hold or untrusted-text path is loosened.
  • The new branch is a fixed, bounded set of characters with no nested quantifier, so it adds no backtracking (ReDoS) risk.

.github/scripts/intake-triage/admit.test.mjs

  • This file only adds tests: positive and negative fixtures for the widened pattern.
  • It has no runtime security surface.

Other notes

  • Plugin manifests: none changed.
  • Merge-hold or instruction-surface deletions: none.
  • Spend: none added. The change can send a few more issues to the host queue rather than the lane, which moves work but adds no billed resource.
  • Embedded text: the PR context file holds no text telling the lane to pass the PR, skip a check, drop a finding or post elsewhere.

critical-findings: 0

@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 14, 2026
Merged via the queue into main with commit 2f9f390 Nov 14, 2026
50 checks passed
@kyle-sexton
kyle-sexton deleted the fix/admission-before-after-eval-slash-form branch November 14, 2026 22:58
@github-actions github-actions Bot added the merge-path: owner-agent Post-merge accounting record (README.md, Merge paths) label Nov 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-path: owner-agent Post-merge accounting record (README.md, Merge paths)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant