Skip to content

fix(skill-quality): stop naming JSON-schema validator tools in validate-evals - #17222

Merged
melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16801-44371022680-1
Nov 18, 2026
Merged

melodic-automation-lanes[bot] merged 1 commit into
mainfrom
work-resolve-issue/issue-16801-44371022680-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #16801

Summary

Opened by the work-resolve-issue lane. The run's own summary:

Cuts row F0371 (R11, K5) from skill-quality. Before the change, validate-evals step 3 in plugins/skill-quality/skills/check/SKILL.md read "If a JSON-schema validator is available (check-jsonschema, ajv, or python -m jsonschema), run it". It now reads "If a JSON-schema validator is available, run it". The step still routes between running a validator and checking the structure by hand, so the generic wording stays there and the tool list is deleted with no replacement. The rest of the paragraph is unchanged apart from rewrapping.

Row count (bulk-mutation standard): 1 row.

Row Rule Kind Cited at Outcome
F0371 R11 K5 plugins/skill-quality/skills/check/SKILL.md:145 Cut: the parenthetical tool list is deleted and the step's own generic text stays, because this is a routing site (validator if available, else a structural check).

Kept rows, not touched (count per rule): R6 2.

Script-reader search for R11 (run this session with the Grep tool, the equivalent of git grep -n -F 'skills/check/SKILL.md' -- plugins scripts .github):

  • plugins/skill-quality/probes/baselines/listing-overlap.json:9 names the file as listing_file. That is the listing-overlap probe baseline, which reads the skill's description listing, not the validate-evals body. A repository-wide search for check-jsonschema / python -m jsonschema finds no hit in it.
  • scripts/test_check_vocabulary.py:333 names plugins/machine-health/skills/check/SKILL.md, a different skill.
  • The other hits are another plugin's eval scaffold (plugins/docs-hygiene/evals/ae-cross-plugin-script-cite/scaffold.sh:23, lint-kit) and CHANGELOG lines in other plugins.
    No script reads skill-quality's check SKILL.md body, so the row is cut here.

Eval cases that read the cut text: in skill-quality, ck-validate-evals-reports-json-path runs validate-evals over a malformed evals.json and reaches step 3, so it reads the changed text. ck-validate-evals-absent-not-failure stops at step 1 (no evals.json) and does not. The lane ran neither.

Whole page or part:

  • plugins/skill-quality/skills/check/SKILL.md: part (one parenthetical in step 3).
  • .changes/skill-quality/...-55f4203f.md: a new changelog fragment, not a cut.

References outside the plugin: the issue lists scripts/test_check_vocabulary.py as naming this file. On this checkout its only skills/check/SKILL.md entry is machine-health's (line 333). No entry names skill-quality's file and none goes stale, so that file is unchanged.

AC10: no new enforcement-placing skill is added.

The PR body should carry Closes #16801. The host-session eval (do-not-merge hold, a targeted sonnet case at 3 runs a side, and a detection-control result for this partial cut) is left to the host session, as the issue says.

Not verified

  • Eval run (targeted before/after case on sonnet, detection-control result for this partial cut, do-not-merge hold and the eval-pair record) is the host session's work per the issue; the lane ran no eval.
  • check-affected skipped typos (not installed), comment-hygiene (its fetch failed: the network to raw.githubusercontent.com is denied), three validate-plugins sub-checks and changed-skills (they run code from the checked tree), and left the CI-only gates (evals-schema, portability-lint, vocabulary…
  • tidy: passes 1-3 had no code lines. Pass 4 (write-for-agents and write-for-humans) found nothing to change. Pass 5 (ai-slop fix) could not run its deterministic detector, since this lane's Bash runs only the named wrappers, so the listed lines were read by hand against the catalog instead and…
  • review-venue.txt was absent from the scratchpad, so a local fresh-context subagent did the review.
  • Untracked home-directory dotfiles in the checkout root (.bashrc, .bash_profile, .gitconfig, .idea, .mcp.json, .profile, .ripgreprc, .vscode, .zprofile, .zshrc) are environment artifacts this run did not create or change; they are not part of the change.

Fix

  • plugins/skill-quality/skills/check/SKILL.md: validate-evals step 3 no longer names check-jsonschema, ajv or python -m jsonschema; the paragraph is rewrapped to stay within 100 columns.
  • .changes/skill-quality/work-resolve-issue-issue-16801-44371022680-1-55f4203f.md: new patch-bump changelog fragment for the change.

Verification

The runner ran each check from the base copy against d785ceb:

  • scripts/check-changelog-fragments.sh --check: passed
  • scripts/check-changed-skills.sh --merge-base: passed

The run reports:

  • check-changelog-fragments: all 16 changelog fragments valid (run before and after tidy).
  • check-changed-skills: plugins/skill-quality/skills/check PASS, 0 errors and 2 size warnings (body 418 lines, about 7769 tokens); both warnings were there before this change (run before and after tidy).
  • check-affected: 14 passed, 8 skipped over 2 changed files (run before and after tidy).
  • Grep for skills/check/SKILL.md over plugins, scripts and .github: no script reads skill-quality's check SKILL.md body (hits listed in summary).
  • Grep for check-jsonschema|python -m jsonschema repository-wide: no remaining hit in plugins/skill-quality.
  • Fresh-context review subagent over the whole diff: no defects. Every fact and qualifier in step 3 is kept, lines are within 100 columns, the fragment format matches its siblings, and no stale reference is left in plugins/skill-quality. The python3 -m jsonschema sample in…
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/44371022680

Left out: the items under Not verified.

Related

#16801

Lane-Activity: work-resolve-issue/resolve-issue
@kyle-sexton kyle-sexton added the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@kyle-sexton

Copy link
Copy Markdown
Member

Held for the before-and-after eval that cut item #16801 needs. The pr-merge release step lifts this hold when an eval-pair record exists for the current head.

@github-actions

Copy link
Copy Markdown
Contributor

claude-review reviewed d785cebb57b2029929aa9358a83f13d7d5f76b5f: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Code review: no findings

This PR removes the parenthetical list of JSON-schema validator tools (check-jsonschema, ajv, python -m jsonschema) from validate-evals step 3 in plugins/skill-quality/skills/check/SKILL.md. It also re-wraps the paragraph and adds a patch-bump changelog fragment. I read every hunk of both changed files.

Correctness. The rewrapped paragraph keeps every requirement the old one had:

  • skill_name and a non-empty evals array are still required.
  • Each case still needs id, prompt, and at least one non-empty grading criterion.
  • The optional fields are unchanged: name/files for the rich form, and difficulty/why_hard/source for any case.

The step still chooses between running a validator and checking the structure by hand, so keeping the generic wording there matches the issue's R11 rule (replace with generic text only where the skill still routes).

Eval impact. I checked the graders in plugins/skill-quality/evals/ck-validate-evals-reports-json-path/case.yaml. None of them depends on a validator tool name, so the cut cannot break that case's grading. The only remaining jsonschema mention in plugins/skill-quality is in that case's samples/no-eval-run.json. It is a sample tool call for the grader, not text the model reads, so it is outside AC1.

Closing issue #16801. AC1, cutting row F0371, is met by the diff. The other "Done when" items are PR-body requirements:

  • the row count and table
  • the script-reader search
  • the eval cases that read the cut text
  • whole page or part
  • AC10

The PR body covers each of them. I did not re-run the author's grep of scripts/test_check_vocabulary.py; their claim that no stale reference to skill-quality's file remains is unverified. The eval run and the do-not-merge hold are, per the issue, the host session's job, not this lane's.

Path-scoped rules. cost-claims.md and skill-bodies-state-current-rules.md match the SKILL.md change. The diff adds no cost claim and no history narration, so neither is broken.

Changelog. The fragment's bump: patch fits a wording change in a skill body. No plugin manifest changed.

Spend. None; the change only edits documentation.

Loosened-check verdict: fail (default; the prompt gave no verdict or patterns line); patterns: 0. Nothing in the diff loosens a check: the structural fallback validation is unchanged.

Verifier dropped 0 of 0 candidates.

@github-actions

Copy link
Copy Markdown
Contributor

claude-security-review reviewed d785cebb57b2029929aa9358a83f13d7d5f76b5f: read 2 of 2 changed file(s); 0 finding(s), 0 as inline comments.

Security review: no security issues found

I read the whole change in both files:

  • plugins/skill-quality/skills/check/SKILL.md: step 3 of the validate-evals action no longer lists example validators (check-jsonschema, ajv, python -m jsonschema). It now says only "If a JSON-schema validator is available, run it". The rest of the paragraph is just re-wrapped.
  • .changes/skill-quality/...-55f4203f.md: a new patch-bump changelog fragment.

I checked the change as an edit to a standing instruction:

  • Nothing was removed that stopped an action. The deleted text was a list of examples, not an allowlist. The old wording never limited the skill to those three tools, so taking the list out does not widen what the skill may run.
  • The input and the fallback are unchanged. The validator still reads the local evals.json against the bundled schema. When no validator is available, the step still falls back to the same structural check.
  • No protected class is affected. The deleted text did not stop any action in a protected class of the instruction exception register.

No trust control or merge hold is touched, no plugin manifest changes, no trusted-path file is in the diff, and the change can cause no charge. The PR context contains no text addressed to the review.

critical-findings: 0

@kyle-sexton

Copy link
Copy Markdown
Member

Targeted eval result: PASS

One targeted case per changed skill, run on the old text (before) and the new text (after), on sonnet at 3 runs a side, Claude Code 2.1.327 (Claude Code).

What this gate checks: that the new text does no worse than the old on these cases. By the owner's decision of 2026-11-17 the gate is this no-loss compare alone. There is no wrong-text side, so this case set has not been shown to detect wrong text: a PASS says the cases did not get worse, not that they would have noticed a bad edit.

Scope: pure cut of one R11 row, part of a page. F0371: validate-evals step 3 in skills/check/SKILL.md drops the validator list ('(check-jsonschema, ajv, or python -m jsonschema)') and reads 'If a JSON-schema validator is available, run it and report conformance.'; the rest of the paragraph is rewrapped only. Measured by the existing case p17222-ck-validate-evals-reports-json-path (validate-evals over an evals.json whose second case has no prompt; it reaches step 3); the row's file is SKILL.md, loaded with the skill, so no open count applies. Unmeasured: none.

  • Copied case p17222-ck-validate-evals-reports-json-path: ck-validate-evals-reports-json-path at AFTER, byte-identical except the folder and the name: field; the PR does not change it, and its body names it as the case that reads the cut text.

  • Unmeasured rows: none.

  • Control result (the issue's acceptance item): not run: the owner's decision of 2026-11-17 gates cut pull requests on the no-loss compare alone.

  • Before: dc93c878544b93db0311416565a439f709236676 (merge base with main)

  • After: d785cebb57b2029929aa9358a83f13d7d5f76b5f (pull request head; live head when this was written: d785cebb57b2029929aa9358a83f13d7d5f76b5f)

  • Loss: the mean case score falls by 0.15 or more, or any one grader passes in 2 or more fewer after runs than before runs.

Passing runs per grader, per side:

Case Grader Before After
p17222-ck-validate-evals-reports-json-path names-json-path 3/3 3/3
p17222-ck-validate-evals-reports-json-path reports-violation 3/3 3/3
p17222-ck-validate-evals-reports-json-path no-eval-run 3/3 3/3
p17222-ck-validate-evals-reports-json-path no-contract-gate 3/3 3/3
p17222-ck-validate-evals-reports-json-path ran-lint 3/3 3/3
p17222-ck-validate-evals-reports-json-path mean case score 1.000 1.000

Graders that cannot show a loss, because they failed on the old text in every run:

  • none: every grader passed in at least one run on the old text

Changed files the compare runs opened, per case and side:

  • p17222-ck-validate-evals-reports-json-path before: opened no changed file in 3 runs
  • p17222-ck-validate-evals-reports-json-path after: opened no changed file in 3 runs

Rows these runs measured (the row's file opened in at least 2 of 3 runs on each side, or loaded with the skill or agent):

  • F0371 (skills/check/SKILL.md, case p17222-ck-validate-evals-reports-json-path): measured; the file is loaded with the skill or agent, never opened, so no open count applies

Rows these runs did not measure:

  • none

Verdicts:

  • verdict p17222-ck-validate-evals-reports-json-path (check): PASS (no loss: after 1.000, before 1.000)

Cost: 0.84 USD (smoke and compare, the runs' costUsd).

The cases live outside the repository; their full text:

The 1 cases: prompt.md and case.yaml

p17222-ck-validate-evals-reports-json-path

prompt.md:

---
description: "Legacy check eval 2, file-present branch. /skill-quality:check validate-evals my-skill over a scaffolded evals.json whose second case (id 2) has no prompt. check SKILL.md Action: validate-evals: validate against the bundled schema, report each violation with its JSON path, then run the deterministic lint; it checks structure and lint only and never runs a model-graded eval. names-json-path grades the evals[1] prompt violation named by JSON path; reports-violation grades a non-conformance verdict; no-eval-run grades that no eval case is run (claude plugin eval, claude -p); no-contract-gate grades that the static contract gate (check-skill.sh) is not run instead; ran-lint (indicator) grades the bundled lint call. Needs --scaffold --allow-tools Bash."
tags: [skill-quality, check, validate-evals, outcome, scaffold, no-network]
max_turns: 12
timeout_seconds: 300
allowed_tools: [Bash, Read, Glob, Grep]
expected_outcome: "The reply says my-skill's evals.json does not conform: the case at evals[1] (id 2) is missing the required prompt, named by its JSON path. It runs none of the eval cases."
---

/skill-quality:check validate-evals my-skill

case.yaml:

schema_version: "1.1"
name: p17222-ck-validate-evals-reports-json-path
context:
  scaffold_script: scaffold.sh
graders:
  - name: names-json-path
    type: regex
    pattern: 'evals\s*(?:\[\s*1\s*\]|/1\b|\.1\b)[^\n]{0,80}\bprompt\b|\bprompt\b[^\n]{0,80}\bevals\s*(?:\[\s*1\s*\]|/1\b|\.1\b)'
    target: last_message
  - name: reports-violation
    type: regex
    pattern: '(?<!no )(?<!not )(?<!n[''’]t )(?<!zero )(?<!0 )(?<!without )\b(?:does not conform|doesn[''’]t conform|non-?conform\w*|violations?|invalid|fails? (?:the )?schema|FAIL(?:ED|S)?)\b'
    flags: 'i'
    target: last_message
  - name: no-eval-run
    type: tool_used
    tool: Bash
    input_match: 'claude(?:\.exe)?(?:\\?"|'')?\s+(?:plugin\s+eval|-p|--print)\b'
    min: 0
    max: 0
    arm: both
  - name: no-contract-gate
    type: tool_used
    tool: Bash
    input_match: 'check-skill\.sh'
    min: 0
    max: 0
    arm: both
  - name: ran-lint
    type: tool_used
    tool: Bash
    input_match: 'check-evals-quality\.sh'
    arm: with-only

Posted by an agent session.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The do-not-merge hold waited only on eval evidence (reason=eval), and a listed human posted a VALID no-loss eval-pair record for d785cebb57b2029929aa9358a83f13d7d5f76b5f: #17222 (comment). pr-merge removed do-not-merge. To hold again, add the label back with a new pr-hold reason line.

@melodic-automation-lanes melodic-automation-lanes Bot removed the do-not-merge Hard merge gate: do not merge while applied. label Nov 18, 2026
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head d785cebb57b2029929aa9358a83f13d7d5f76b5f, the head its arming checks judged.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Verification evidence for d785ceb

The verifier passed this head. The capture artifact holds the capture summary, which says whether the capture ran, and any screenshot or video that passed the mask check; this comment uploads no file.

Capture artifact: pr-capture-17222-d785cebb57b2029929aa9358a83f13d7d5f76b5f, expires on 2026-12-18.

One comment per pull request, updated in place for each new head.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

Merge-Risk: unrated reason=no-rating

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 18, 2026
Merged via the queue into main with commit f3260d4 Nov 18, 2026
110 of 114 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-16801-44371022680-1 branch November 18, 2026 22:56
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The post-merge check verified merge commit f3260d486c77c99e533fc9485e4e9c91dc4c401b; later checks count it verified from this comment.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cut the model-read ecosystem specifics from skill-quality

1 participant