Skip to content

fix(evals): a skill that failed to load still reads VALID #16146

Closed

Description

@kyle-sexton

Problem

Two checks in the evals plugin let a skill that never loaded pass as a clean run.

  1. plugins/evals/skills/plugin-eval/scripts/run-validity.py returned verdict: VALID for result files in which the skill under test failed to load in every run. On 2026-11-14, the sonnet result files for the six skill-authoring-* cases read VALID (warnings: skill fired) and VALID (warnings: permission denials in case ..., skill fired) while all 36 traces held Shell command permission check failed for pattern ...: Permission to use Bash has been denied. on the Skill call. The plugin-eval skill's Gotchas say the gate fails a run whose pre-computed command failed. The compare of those files then read "non-inferior at margin 0.05" with a change of +0.00, which measured nothing.

  2. plugins/evals/skills/plugin-eval/scripts/validate-cases.py warned about a pre-computed line for six pe-* cases whose skill loaded in every run, and said nothing for the skill-authoring-* cases whose skill failed to load in all 72 runs.

A related gap is already filed as issue 16110 (a sandbox with no working node still reads VALID). This one is the failed pre-computed command.

Outcome

A result file in which the skill under test did not load reads INVALID, with the reason named, and the static validator's pre-computed-command warning points at the cases that will actually fail.

Done when

  • run-validity.py reads a with-arm run whose Skill call returned a load failure (the Shell command permission check failed text, or any failed pre-computed command) as a counted failure, and the file as INVALID, with the case and run named. A test feeds it a recorded trace of that shape (taken from a real run, not hand-written) and one clean trace.
  • The existing skill fired warning is no longer the only signal for "the skill did not load": the verdict line distinguishes "did not fire" from "failed to load".
  • validate-cases.py: the pre-computed-command warning is checked against both observed shapes (a file that warns and loads, a file that does not warn and fails), and the pull request explains the rule it now applies and why those two differ.
  • The plugin-eval skill's Gotchas text matches what the gate does after the change.
  • If the skill text changes, the before/after eval docs/review/skills-and-agents.md requires is in the pull request body.

Evidence

Two-version compare record on issue 15707 (comment of 2026-11-14), result files kept by the hub session.

Activity

  1. added
    needs-triage
    on Nov 14, 2026
  2. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    Size: Medium
    Complexity: Medium
    Uncertainty: Known
    Flags: none
    Blocked by: none

    I read this as two defects in the evals plugin. run-validity.py reports VALID when the skill under test failed to load, for example on a denied pre-computed Bash command. validate-cases.py warns about the wrong cases for the pre-computed-command check. The done-when list is specific: INVALID with the case and run named, a verdict line that separates "did not fire" from "failed to load", a validator rule checked against both observed shapes, matching Gotchas text, and a before/after eval if the skill text changes.

    Related but not a duplicate: #16110, which covers a sandbox with no working node. It touches the same gate, so the two changes may overlap. #16145 looks like the cause on the skill-authoring side, not the same request. I found no merged pull request that already fixes this.

    Automated triage. A maintainer reviews it.

  3. removed
    needs-triage
    on Nov 14, 2026
  4. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    {"v":1,"actor_id":337595936,"title_sha256":"82860bb1cd2ebb2aa8347cb24dc8c74c0e474808f13ea002bc7d4ee1292c6981","body_sha256":"9dd6314eb541eaa00b9d56abcc686dace9d9bd0e307f4c00dd27dfb3a1cc44c2"}

  5. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor
    No description provided.
  6. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Pull request #16150 merged with Refs:, so this issue stays open and nothing starts the lane on it again. work-unblock removed status: ready and agent-ready, so the hourly triage sweep sends it back to intake triage. Admission then parks it at status: confirmed for a check of what that pull request left, until a **Decision recorded.** comment says what is left or someone closes it.

  7. github-actions commented on Nov 14, 2026

    @github-actions
    Contributor

    The triage sweep dispatched intake triage for this issue (dispatch 1; 2 runs that reach intake, or 6 dispatches, hand it to a maintainer).

  8. melodic-automation-lanes commented on Nov 14, 2026

    @melodic-automation-lanes
    Contributor

    Not admitted to the issue lane: merged pull request #16150 names it with Refs: after its newest decision or refinement comment, so its work may already be done: close the issue if it is, or post a comment whose first line is **Decision recorded.** saying what is left, which sends it back through intake. Admission takes the issue once each of those is met, when intake triages it again (.github/actions/resolve-config/admission-rules.json).

  9. kyle-sexton commented on Nov 14, 2026

    @kyle-sexton
    MemberAuthor

    Every done-when item is on main

    Hub session (GitHub Support). Item by item, as read by a scoping agent from the commits; the review-doc lines below were read by the hub.

    1. A with-arm run whose Skill call returned a load failure reads as a counted failure and the file as INVALID, with a test fed a recorded trace: detection in 071a2ea564 (pull request fix(evals): read a skill that failed to load as INVALID, and warn on the pre-computed lines Claude Code runs #16150), the recorded-trace test and its fixture fixtures/run-validity/traces/IF6xuu.jsonl, taken from a real run, in f34847f776 (pull request test(evals): feed run-validity a recorded skill-load failure trace #16168).
    2. The verdict line tells "did not fire" from "failed to load": 071a2ea564.
    3. validate-cases.py is checked against both observed shapes and the pull request explains the rule: 071a2ea564 and the body of fix(evals): read a skill that failed to load as INVALID, and warn on the pre-computed lines Claude Code runs #16150.
    4. The plugin-eval skill's Gotchas text matches the gate: plugins/evals/skills/plugin-eval/SKILL.md and reference/reading-results.md, both in fix(evals): read a skill that failed to load as INVALID, and warn on the pre-computed lines Claude Code runs #16150.
    5. "If the skill text changes, the before/after eval docs/review/skills-and-agents.md requires": that page requires eval evidence for "a cut to an existing skill" (docs/review/skills-and-agents.md:7-8). fix(evals): read a skill that failed to load as INVALID, and warn on the pre-computed lines Claude Code runs #16150 added text to the two files and cut none, so the page requires no run for it.

    Nothing is left to build or measure for this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Fields

    Work status

    confirmed

    Priority

    medium

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions