Repository navigation
test(debugging): close the drive-routing grader gaps left by the ready reviews - #11061
Conversation
…y reviews The no-profiler-run grader reads shell quoting and more command prefixes (assignments, nice, doas, command, npm/pnpm exec, bunx, yarn, kubectl exec, path-qualified tools and shells, unquoted ssh, watch and eval), catches more ways to run the worker, and no longer fires inside a quoted search pattern. The kind graders skip a negated kind, and every loop is bounded. Refs: #9657 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
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. |
|
claude-security-review reviewed No security findings. I read the whole diff and the PR context. The 10 changed files are eval-case YAML, eval sample JSON and one
critical-findings: 0 |
|
claude-review reviewed No findings. I read all 10 changed files and the PR context. The change is eval-case grader patterns and samples only, plus a
|
Refs: #9657
Summary
Closes the drive-routing grader gaps that the ready reviews of #9655 left open, in both
capture-request-routes-to-driveandcapture-request-unattended-names-drive. The two cases keep identical copies of the shared graders and their samples, as the 2026-10-27 decision on #9657 set. This PR leaves #9657 open: its--scaffoldreruns could not run on this host (see Verification).Fix
no-profiler-runnow reads shell quoting. It catches the command-position prefixes the issue lists: variable assignments,nice,doas,command,\gdb,npm/pnpm exec,bunx,yarn,timeout -s,xargs -I,kubectl exec --, unquotedssh/watch/eval, path-qualified tools and shells, backticks, andkill -10. It also catches more ways to run the worker: no.js,--require, flag values with spaces,nodemon,cat x.js | node,node -ethrough a variable, and a heredoc that writes a script and runs it.no-profiler-runno longer fires on a quoted search pattern (grep,pgrep), oncd node && grep ..., or onnpx sudo-prompt/npx gdb-js. It still catchesgdb-multiarchby name.names-cpu-kindandno-heap-kindskip a negated kind (not,never,without,no,don't,avoid) and accept. Passand(forms.samples/asks-for-the-file.jsongains the item 7 fail sample: a reply that reports the agent's own profile.[Nn]o[t]sotypospasses. The pattern is equivalent.Verification
/evals:validate(validate-cases.py plugins/debugging/evals, node 24.21.0 on PATH, so JavaScriptRegExpgrades too): exit 0, 0 FAIL.Fail before, pass after: graded against the
origin/mainpatterns, with the same results in each case.names-cpu-kind: 4 of 4 new samples fail on base and pass on head.no-heap-kind: 7 of 7 new samples fail on base and pass on head.no-profiler-run: 40 of 54 new samples fail on base and pass on head. The other 14 are regression guards, already right on base.The two cases are identical: the
no-profiler-run,names-cpu-kind,no-heap-kindanddrive-not-invokedgrader blocks are equal as parsed, and theirsamples/files are byte-identical.Timing: node 24.21.0, worst of 5 runs, 25 adversarial
no-profiler-runinputs and 4 kind-grader inputs, each repeated 30 times./app-control:drive capture arepeated 5000 times): 469 ms on base, 3 ms on head.node -arepeated 3000 times took 0.1 ms on both base and head. The 181 ms in the issue did not reproduce.Blind labels: three fresh agents labeled the 5 original
asks-for-the-filesamples plus the item 7 sample. Each agent saw only the rubric and the answers, in its own shuffled order, without the labels orwhyfields. All three matched every existing label:.cpuprofilecsv = csv + ...lineJudge recalibration:
calibrate-judge.py build/score,--runs 3 --judge-model opus, Claude Code 2.1.312. The opus judge agreed on 16 of 16 reproduced runs (100%, PASS). The item 7 sample reproduced in 1 of 3 runs, and the judge failed it, so the FAIL clause stays unchanged.--scaffoldreruns: not done. Each case was run on its own (--case,--runs 3,--allow-tools Bash,--judge-model opus), and the CLI refused all 12 runs because this host's Docker credential store holds a link undercontexts.run-validity.pyreports INVALID because of those run errors. This is the known WSL2 Docker Desktop condition inplugins/evals/skills/plugin-eval/reference/records.md(Sandbox and credential store), not a fault in these cases. test(debugging): close the drive-routing grader gaps left by the ready reviews #9657 keepshost-runfor these reruns.scripts/check-affected.sh --testson the committed head: 13 passed, 3 skipped.Left out: the
--scaffoldreruns, which the Docker credential-store refusal above blocks on this host.Related
--scaffoldreruns.🤖 Generated with Claude Code