Repository navigation
fix(evals): run plugin evals with a short TMPDIR on Linux and WSL2 - #10104
Conversation
Under the default temp directory the eval sandbox cannot write, so on this host 97 of 123 kept runs had every Bash call fail, and the validity gate now marks such runs INVALID. The Run step tells the operator to set TMPDIR to a short directory outside the system temp directories, pointing at sandboxes.md for the cause. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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: bd81d2276e
ℹ️ 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-review reviewed Incremental review of The change cuts the inline cause clause ("under the default temp directory the sandbox cannot write, and the gate fails the runs") from the Run step and replaces it with "Why: sandboxes.md, Sandbox start". This matches the PR description, which keeps the cause in
|
|
claude-security-review reviewed No security issues found in the incremental change (bd81d22 → 7bfd9db). The only change is one line in I read it under the instruction-surface lens. The instruction itself is unchanged: on Linux and WSL2, run No manifest, trusted-path or workflow files changed in this increment, so there are no critical-findings: 0 |
The Run step gave upstream sandbox behavior as its reason, which the skill-bodies rule forbids; the reason stays in the sandboxes.md record with its pointer, as-of date and recheck trigger. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Refs: #10096
Summary
Since #10096 the eval validity gate fails runs whose Bash calls all failed. Under the default temp directory, that was 97 of 123 kept runs on this host, because the eval sandbox cannot write there (anthropics/claude-code#104631). The workaround lived only in
reference/sandboxes.md, so evals run the usual way now mostly come back INVALID, including evals gating a skill change on "no loss".Fix
env TMPDIR=<dir> claude plugin eval …, with<dir>a short directory outside the system temp directories (for example/run/user/$(id -u)/ev). The cause and its pointers stay insandboxes.md, the one place they live.SKILL.mdstays at 499 lines, under its 500-line cap.Verification
scripts/check-changed-skills.sh origin/main: plugin-eval PASS.TMPDIR=/run/user/1000/ev, runs executed (3-5 turns, the feat(harness-ops): show per-role lane spend in the morning brief #9494 rerun VALID). With the default, runs ended at 0 turns. A long path under the repository failed the sandbox's socket setup. The probe table is on evals: plugin eval with-arm runs end at 0 turns when a skill's ! pre-compute line fails in the sandbox, and the validity gate still says VALID #9514.env TMPDIR=… claude plugin evalspelling. It differs from the probedTMPDIR=… claude plugin evalonly in usingenv, so it sets the same environment.Related
🤖 Generated with Claude Code