Repository navigation
test(evals): feed run-validity a recorded skill-load failure trace - #16168
Conversation
Adds traces/IF6xuu.jsonl, cut from a real playbooks eval run (Claude Code 2.1.325) whose Skill call returned "Shell command permission check failed for pattern", with its ids replaced by placeholders, and a test that reads it INVALID under skill loaded as the only failing check, with the case's skill-fired grader removed as in the recorded suite. Refs: #16146 Co-Authored-By: Claude Opus 5.5 <[email protected]>
…twin Co-Authored-By: Claude Fable 5.2 <[email protected]>
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-security-review reviewed Security review: no security issues foundI read the whole diff for all 3 changed files. This is a test-only change:
None of the changed files matches a trusted-path glob. The diff changes no trust control, merge hold, workflow, token request, plugin manifest or standing instruction, and no shipped plugin code. The PR context file contains no embedded directives aimed at this lane. The PR text says the test passes and that it fails when the detection is disabled. That was not re-run here. critical-findings: 0 |
|
claude-review reviewed Code review: PR #16168, no findingsI read every hunk of all 3 changed files: the changelog fragment, the new What I checked
Not verified: I had no shell, so I did not run the tests. The 171-of-171 pass count and the in-process mutation check in the PR description are the author's claims and are unverified. Closing issue: the PR only refers to #16146 ( No plugin manifest changed. There are no prior findings and no settled threads. Verifier dropped 0 of 0 candidates. |
Refs: #16146
Summary
Adds a run-validity fixture cut from a real eval run whose Skill call failed to load, and a test that feeds it to
run-validity.pyand reads the run INVALID. #16150 delivered the detection with a hand-written trace; the issue's done-when asks for a recorded one.Fix
fixtures/run-validity/traces/IF6xuu.jsonl: 4 of the 14 events of a recorded run (Claude Code 2.1.325, caseskill-authoring-background-left-out): the init line, the Skilltool_use, itstool_result, and the result line. The Skill call and its result keep every key. Session, message, request and tool ids are replaced with zero placeholders of the same shape; the paired tool id is the same in all three places. Paths, plugin list and answer text are dropped.test_a_recorded_skill_call_that_failed_to_load_is_invalid: asserts exit 1,verdict: INVALID,check skill loaded: FAILas the only FAIL line, and the detail line naming the case and run.The recording differs from the hand-written shape in one way: the real
tool_resultcontent is a bare string with notool_use_errorwrapper. The detection matches both.Verification
plugins/evals/skills/plugin-eval/scripts/run-validity.test.sh: 171 of 171 pass.load_failuredisabled in-process (no file edited), the new test and the hand-written one both fail withcheck skill loaded: PASSandverdict: VALID, so the test depends on the detection.subtype: success,is_error: false,num_turns: 3,permission_denials: []in both, so dropping events hides no second failure.scripts/check-affected.sh --no-fetch: 17 passed, 1 skipped (shellcheck: no shell file changed).No eval case loads a changed skill: this change touches only a test file, a fixture and a fragment.
Remaining
docs/review/skills-and-agents.mdrequires for fix(evals): read a skill that failed to load as INVALID, and warn on the pre-computed lines Claude Code runs #16150's plugin-eval skill-text change.Related
session: GitHub Support
🤖 Generated with Claude Code