Repository navigation
Description
Summary
plugins/evals/skills/plugin-eval/scripts/run-validity.py reports VALID for a result file whose every run failed to start an interpreter the skill under test needs. Two before/after evals of the prototype plugin were read as valid evidence while node could not run in any sandboxed session.
Steps to reproduce
- On a machine where
nodeonPATHis a mise shim, launchclaude plugin evalonplugins/prototypethrough the Docker link-swap wrapper without putting a real node directory onPATH, for a case that runs the skill's node resolver (for exampleed-offline-mockup-handover, whose skill text runs the medium resolver). - Run
run-validity.py <result>.json --runs <n> --scaffolded.
Expected
The file is INVALID, or carries a warning that names the runs, when a trace holds a tool result showing that an interpreter or tool could not start: a shim error (mise ERROR ... is not a valid shim) or the shell's command not found for a command the session ran.
Actual
verdict: VALID. The script counts a denial only by the text denied by your permission settings (run-validity.py:300) and its session check looks for a sandbox failure and zero-turn runs (:1102-1105); nothing reads a tool result for a missing program.
Evidence, counted from the result files' trace paths on 2026-11-13:
- PR 16069 (picker slice S5): 72 of 72 traces across three files hold
node is not a valid shim. All three files readVALID. Both new cases scored 0 of 6 because the level resolver never ran. Result. - PR 15868 (picker slice S1, merged): 16 of 16 round-4 traces hold the same error. Both files read
VALID, and the result was used as "no loss". Correction.
Severity
High for the eval lane's evidence, low for users: a verdict that gates a merge can rest on runs that never exercised the code path under test, in both arms, with no signal. No data is lost and nothing ships broken by this defect alone.
Suggested fix location
plugins/evals/skills/plugin-eval/scripts/run-validity.py: a new check beside the permission-denial check that scansis_errortool results (and Bash output) for a shim error orcommand not found, lists the runs and the command, and makes the fileINVALID(or a named warning that a registration can treat as an exclusion).plugins/evals/skills/plugin-eval/reference/sandboxes.md: state how to give the sandbox a working interpreter. One launch on this machine already prefixes the real install directory,env TMPDIR=<tmp> PATH=<mise installs>/node/<version>/bin:<rest of PATH> claude plugin eval ..., inside the wrapper; whether that is the documented form is UNVERIFIED.
Found during workshop 03 landing work; the run-validity script was not changed by the session that found it.
Metadata
Metadata
Assignees
Labels
Type
Fields
Work status
Priority
Activity
github-actions commentedon Nov 14, 2026
Size: Small
Complexity: Medium
Uncertainty: Known
Flags: none
Blocked by: none
Blast radius: run-validity.py and its test file in the plugin-eval skill; eval authors and CI read the verdicts.
Reversible: yes; revert the check and its tests.
Open questions: none
I understood the report as:
run-validity.pyreads a result as VALID even when every run failed to start an interpreter (a mise shim error orcommand not found).A recorded decision covers this issue, quoted below.
Decision link: #16110 (comment)
The decision settles the open questions, and its acceptance criteria give the done-when. I found no duplicate among the open issues and no merged pull request that already fixes this.
Automated triage. A maintainer reviews it.
melodic-automation-lanes commentedon Nov 14, 2026
Not admitted to the issue lane yet: no trusted-human acceptance criteria: a listed human must put the confirmed
- [ ]criteria in the body or post them as their own comment, or, on an issue a listed human filed, intake's newest refinement comment must hold them unedited; intake's refinement of this body is due and may supply them.melodic-automation-lanes commentedon Nov 14, 2026
Refinement. A read-only run explored this repository, searched its issues and pull requests, and read the allowed docs to draft what follows. On an issue a listed human filed, it counts as the issue's spec once posted, while unedited; it is still model text, so check it.
Intended outcome: run-validity.py gains a check beside check_denials that scans is_error Bash tool results for a shim error or command not found, names the runs and command, and fails or warns the file; sandboxes.md documents a working-interpreter launch form.
Related work
Open questions
RECOMMENDED: FAIL when the error is a shim error or the failing command is the skill's own interpreter; WARN naming runs and command otherwise, so cases that deliberately run a missing command are not failed. Basis: run-validity.py:3061-3073 (FAIL gives INVALID, WARN only annotates VALID); judgment on false positives
RECOMMENDED: Both, matched in is_error Bash tool results, reporting the run list and the first failing command. Basis: run-validity.py:905-946 (shell_failure reads only silent failures and sandbox failures); issue Expected section
RECOMMENDED: Owner to confirm the env PATH=<install>/node/<version>/bin:$PATH prefix inside the wrapper before it is documented; the issue marks it UNVERIFIED and sandboxes.md has no PATH text now. Basis: judgment: issue Suggested fix location; Grep of sandboxes.md found no PATH or interpreter mention
Sources read
To answer, post a comment that starts with this line:
Automated refinement by the lanes App. Answer with a comment whose first line is
**Decision recorded.**.kyle-sexton commentedon Nov 17, 2026
Decision recorded. run-validity reports INVALID on a shim error or
command not found, and warns otherwise (option A).Question as put to the owner (Q39): "run-validity says VALID when every run failed to start."
command not found, warn otherwise.No other option was shown. Chosen: A. The owner answered the batch on 2026-11-17, typed in an agent session, verbatim: "Go with recommendations."
This adopts the refinement's recommendations for questions 1 and 2: the
command not foundthat makes a file INVALID is the one for the interpreter the skill under test runs, so a case that probes a missing command on purpose only warns. Question 3 (the documented PATH form insandboxes.md) stays out of scope until a host checks it on a machine where node comes from a mise shim.Acceptance criteria
plugins/evals/skills/plugin-eval/scripts/run-validity.pyhas a new check beside the permission-denial check that readsis_errortool results and Bash output in each run's trace for a shim error (is not a valid shim) orcommand not found.command not foundfor the interpreter the skill under test runs, makes the check FAIL, so the file readsINVALID; the output names the runs and the first failing command.command not foundmakes the check WARN, naming the runs and the command, and the verdict staysVALID.plugins/evals/skills/plugin-eval/scripts/test_run_validity.pycovers: a shim error givesINVALID, the interpreter'scommand not foundgivesINVALID, another command'scommand not foundgives a warning withVALID, and a clean file is unchanged. CI passes.plugins/evals/skills/plugin-eval/reference/sandboxes.mdgains no PATH or interpreter-launch text in this change.Posted by an agent session.
github-actions commentedon Nov 17, 2026
A listed human released the issue's Work status hold, so it goes back to intake triage.
melodic-automation-lanes commentedon Nov 17, 2026
{"v":1,"actor_id":337595936,"title_sha256":"23086092b8c609537d480612db32188b48e7f18d18e2acae0b2c73b1f67d418f","body_sha256":"c33f87b7af18849039fc46a28382e8c398d78dff93d7b72af15af27090c50542"}
github-actions commentedon Nov 17, 2026