Repository navigation
fix(evals): excuse a without-arm search of its own eval root - #17491
Conversation
A finished without-arm run's denied Grep or Glob whose path is that run's own eval root now warns instead of making the run INVALID, per the owner decision recorded in architecture docs/owner-decisions.md L235. The verdict line, which is all CI keeps in validity.txt, names each excused call with its tool, root and pattern. With-arm runs, other tools, a path under or above the root, and a Glob pattern that is rooted or holds .. still fail. Refs: #17262 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd
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-review reviewed Code review (incremental, blocking only): PR #17491Scope. This review covers only what changed since The change is correct.
Still blocking: the denial check is loosened without a closing-issue spec.
Other checks.
Verifier dropped 0 of 0 candidates. |
|
claude-security-review reviewed Security review (incremental, blocking only): no security issues foundThis review covers only what changed since
This review was blocking only ( Spend: the change adds no billing and no new lane runs. critical-findings: 0 |
root_searches prints the path input as given, so the expected verdict line uses the unresolved root; realpath differs on a temp directory reached through a link (macOS /var, Windows short names). Refs: #17262 Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd
Refs: #17262
Summary
Post-merge eval run 44589476148 scored INVALID only from 5 Glob and Grep denials in its without-plugin runs, each searching that run's own eval folder; the with-plugin runs scored 3 of 3 at 1.00 with no denial.
run-validity.pyexcused such a search only when its pattern named the plugin. The owner decided to excuse a without-arm Grep or Glob rooted at the run's own eval folder (owner-decisions.md L235; verbatim: "Excuse own-folder search (Recommended)").Loosened check: the permission-denials check of
plugins/evals/skills/plugin-eval/scripts/run-validity.py. A finished without-arm run's denied Grep or Glob whosepathis that run's own eval root now warns instead of failing. With-arm runs and every other denial are unchanged.Fix
own_root_search: a finished without-arm run's denied Grep or Glob whosepathresolves tosandbox_dir(run)(the folder holding itsout/trace.jsonl). A Glob pattern that is rooted or holds.., a path under or above the root, another run's root, and any other tool do not qualify.check_denialssets these aside after the absent-plugin search rule, adds a summary clause, and appendsown eval root searches excused: <tool> root <root> pattern <pattern>, ...to the check's reason. That reason reaches the verdict line, the only line CI keeps invalidity.txt, so every excused call is listed (redacted, no cap).shown_textis factored out ofnamed_callsfor reuse.reference/reading-results.md(sixth set-aside kind), SKILL.md; changelog fragment.Verification
plugins/evals/skills/plugin-eval/scripts/run-validity.test.sh: 196 tests, OK. New tests cover Glob and Grep at the root (warn, verdict line names tool, root and pattern), and the subfolder, parent, sibling root, missing and relative path,..and rooted Glob patterns, Read, Bash grep, with-arm, unfinished and non-out/trace cases (fail).scripts/run-ruff.sh checkclean;scripts/check-changelog-fragments.sh --checkvalid.simulation-default-markdown, so this PR does not close it.Remaining
simulation-default-markdowneval on main after merge; fix(event-storming): give the simulation-default-markdown eval case the tools it needs to score #17262 closes on a VALID verdict.Related
🤖 Generated with Claude Code
https://claude.ai/code/session_01KeBVgaQE4QB75SPD3ky1jd