evals: run-validity calls runs VALID when every Bash call failed to start the sandbox (long TMPDIR)
Maintainers usually reply within 1 day
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 72/100
Research direction
Start with plugins/evals/skills/plugin-eval/scripts/run-validity.py and inspect how it reads kept traces and evaluates tool results; compare that with the reported sandbox initialization failure. Then read plugins/evals/skills/plugin-eval/reference/sandboxes.md for the TMPDIR guidance. Done when validity flags or warns on these failed Bash calls and the reference explains the path constraint by pointing to CLI documentation.
Written by the indexing model from the issue text.
Description
What happened
claude plugin eval (Claude Code 2.1.310, WSL2) with TMPDIR set to a directory on disk at a 50-character path (<home>/<dir>/<dir>/eval-tmp) ran 150 session-flow runs (--scaffold --keep-temp --runs 3 --allow-tools Bash Write Edit).
- 129 of the 150 kept traces show every Bash call failing with
Sandbox is required but failed to initialize: Failed to create bridge sockets after 5 attempts. Restart to retry. Running it outside the sandbox (dangerouslyDisableSandbox) is not allowed either.The runs finished normally (error: null), and their scores measured a session with no shell. plugins/evals/skills/plugin-eval/scripts/run-validity.pyreportedverdict: VALIDfor 20 of the 25 cases. Its run-error check reads the run'serrorfield and the trace's final state, not tool-result errors.- A one-case probe isolates the cause: a Bash-only case fails the same way at that
TMPDIR. The same case prints its output at a 24-characterTMPDIR. Likely the sandbox's socket paths under$TMPDIR/claude-eval-<id>/tmp/...exceed the Unix socket path limit (UNVERIFIED; the exact limit was not measured).
Expected
run-validity.pyreports a run as invalid, or at least warns, when its trace holds a sandbox start failure on a tool call.- The plugin-eval skill says that a long
TMPDIRbreaks the sandbox, with the limit stated by pointer to wherever the CLI documents it.
Suggested fix location
plugins/evals/skills/plugin-eval/scripts/run-validity.py: asandboxcheck that scans kept traces forSandbox is required but failed to initialize.plugins/evals/skills/plugin-eval/reference/sandboxes.md: theTMPDIRlength note.
Related
- #9514: the same gate also misses 0-turn runs caused by a sandbox write failure.
Found while running the session-flow handoff-efficiency baselines (branch feat/session-flow-handoff-efficiency).
- Dominant language
- Shell
- Stars
- 22
- Forks
- 2
- Avg merge
- 3h 42m
- Merged PRs (30d)
- 938
Getting set up
- No Dockerfile or Docker Compose file
- No pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from melodic-software/claude-code-plugins
-
admission-deferred priority: medium status: ready work-class: scoped
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
melodic-software/claude-code-plugins#9914 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: low status: ready work-class: mechanical
Difficulty 1/5 Under an hour Newbie friendliness 88/100
melodic-software/claude-code-plugins#9911 · 2 comments ·
Maintainers usually reply within 1 day
-
priority: medium status: ready work-class: scoped
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
melodic-software/claude-code-plugins#9901 · 2 comments ·
Maintainers usually reply within 1 day
-
admission-deferred needs-human needs-triage status: needs-decision
Difficulty 2/5 1-2 days Newbie friendliness 78/100
melodic-software/claude-code-plugins#9865 · 1 comment ·
Maintainers usually reply within 1 day
-
priority: medium status: needs-decision work-class: scoped
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
melodic-software/claude-code-plugins#9855 · 2 comments ·
Maintainers usually reply within 1 day
All issues in melodic-software/claude-code-plugins
Similar issues
-
Difficulty 1/5 Under an hour Newbie friendliness 88/100
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 1 day
-
resource-submission validation-passed
Difficulty 1/5 Under an hour Newbie friendliness 67/100
hesreallyhim/awesome-claude-code#3264 · 1 comment ·
Maintainers usually reply within 1 day
-
area: install bug good first issue hacktoberfest
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 3 days
-
Good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
armbian/build#11107 · 2 comments ·
Maintainers usually reply within 1 day