Skip to content

refactor(plugins): delete 8 formatter and linter check skills (*:check wave 2) - #12640

Merged
kyle-sexton merged 14 commits into
mainfrom
refactor/12487-delete-formatter-check-skills
Nov 3, 2026
Merged

kyle-sexton merged 14 commits into
mainfrom
refactor/12487-delete-formatter-check-skills

Conversation

@kyle-sexton

@kyle-sexton kyle-sexton commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Refs: #12487

Summary

Wave 2 of *:check. It deletes skills/check for actionlint, bash-format, biome-format, go-format, markdown-format, powershell-format, ruff-format and typos-format, with actionlint's probe set. plugins/*/skills/check goes from 17 to 9, and the issue's done-when grep prints nothing. This is 261,676 bytes (--no-renames) against the 262,144 cap, measured against merge-base 0fa4041 after merging main.

disk-hygiene and harness-ops are touched only to stop naming the deleted skills.

Fix

Behaviour change: every deleted skill ran setup's whole check section, and the model could invoke it. setup is manual-only and the bundled checker covers only declared tools, so the model no longer has a skill for:

  • All 8: the config opt-in rows, toggles, hook registration, gitignored scope, Bash version floor, and install.mjs verify. The session-start drift line, the pre-commit failure and /<plugin>:setup check, which only the user can run, remain.
  • powershell-format: the PSScriptAnalyzer probe. A missing module still surfaces at commit and in /powershell-format:setup check.
  • ruff-format: .venv/Scripts/ruff.exe. The checker's local_bin has only .venv/bin/ruff, so a Windows host whose only ruff is that file gets the same false FAIL as the session probe.
  • typos-format: setup's guard that a command -v node hit is not enough.

Shipped this way because these are read-only reports the user can still run and the point-of-use failures still fire. The eval below does not exercise them.

Which plugins emit a live notice:

Plugin Live notice
actionlint session_probe, hook-scoped actionlint
bash-format session_probe, hook-scoped shfmt, shellcheck, jq
biome-format session_probe, hook-scoped biome, jq
go-format session_probe, hook-scoped goimports, jq
markdown-format session_probe, hook-scoped markdownlint-cli2, jq
powershell-format session_probe, hook-scoped pwsh
ruff-format session_probe, hook-scoped ruff, jq
typos-format session_probe, hook-scoped typos

None calls hook::require or hook::prereq_notice_to. The cases quote rendered text.

Eval case changes:

  • Renamed: actionlint ck-install-request-routed is now ck-notice-alone-installs-nothing, because the prompt no longer asks for an install.
  • New: ck-notice-runs-bundled-checker in the other 7 plugins, with a no-install regex that also covers go install, cargo install, uv tool install, Install-Module and npx. It matches anywhere in the command, so a read-only command quoting an install can fail it: #12645.
  • actionlint ck-passing-no-successor: no-install uses the command-position matcher its sibling cases use, so it no longer catches a bare curl URL fetch, npx or Install-Module.
  • Dropped graders: probes-actionlint (ran-checker replaces it), status-table (only the deleted skill asked for a table; reports-state replaces it), routes-to-setup-apply (needed an install request), routes-check (required the deleted skill).
  • no-successor stays llm, reworded so it does not cite the deleted skill. It is the only judged grader in the 10 cases.
  • All 10 cases carry no-install, no-edit and no-write, with Write and Edit granted so those graders can fail.

Verification

Same 10 cases on both arms, Sonnet subject, 3 runs per case, --scaffold, same PATH with a working node. The before arm has skills/check restored from the fork point. run-validity VALID on every result file used. 4.75 USD for the paired runs, 0.88 of it the re-measure of the passing case after its grader changed.

Verdict: change +0.04, 95% interval -0.00 to +0.09, non-inferior at margin 0.05. With ran-checker left out (hand-computed normal interval): -0.008, interval -0.025 to +0.008. no-install, no-edit and no-write: 0 failures in 90 grader results per arm.

Case Before scores After scores Before-arm skill fired
actionlint hook-notice 1, 1, 0.85 1, 1, 1 3 of 3
actionlint notice-alone 1, 1, 1 1, 1, 1 0 of 3
actionlint passing 1, 1, 0.89 1, 0.89, 0.78 0 of 3
bash-format 1, 1, 1 1, 1, 1 0 of 3
biome-format 0.8, 0.8, 1 1, 1, 1 3 of 3
go-format 1, 1, 0.8 1, 1, 1 2 of 3
markdown-format 1, 1, 0.8 1, 1, 1 3 of 3
powershell-format 1, 1, 1 1, 1, 1 0 of 3
ruff-format 0.8, 0.8, 0.8 1, 1, 1 3 of 3
typos-format 1, 1, 1 1, 1, 1 0 of 3

Read this as "no loss shown", not a gain. The restored skill fired in 14 of 30 before runs. ran-checker accepts only the bundled checker, which favours the after arm; all 8 of its misses are before-arm runs where the skill fired. The after arm's only misses are on the passing case, in the table's runs: no-successor twice and no-apply-step once. One reply asked whether to install the git hook; the other ran install.mjs detect and plan, then asked whether to write the missing hook files. Neither wrote anything. Across both passes of that case, 6 runs per arm: no-successor missed 2 before and 3 after, and no-apply-step missed 1 each. This sample shows no difference between the arms and is too small to rule one out.

Limits:

  • The eval sandbox's mise shims do not run ("not a valid shim") while the checker reports PASS, so the passing case's premise did not hold cleanly. Both arms shared this. Likely the relocated HOME: UNVERIFIED.
  • reports-state passed every run on both arms, so it does not discriminate.
  • actionlint/ck-install-tempted-no-slash is out of the verdict: it scored 0.5 in all 6 runs on both arms (Sonnet runs install.mjs plan on the direct request; run-validity INVALID for permission denials). The miss predates this change and is not loosened here.
  • Sonnet only: the issue names no model.

Judge calibration, Opus judge, 3 runs per sample: no-successor agrees with its labels on 55 of 55 runs over 19 samples. Labels are inherited, so this is not full calibration.

Gates: validate-cases on the 8 suites, check-matchers, check-cross-plugin-source-drift --check, validate-plugins, sync-shared-copies --check-bump origin/main, check-changelog-fragments --check-required origin/main (10 plugins), check-skill-count-claims --check, generate-cheatsheet --check, lib/prerequisites.test.sh, scripts/node-notice-rows.test.sh, the 8 plugins' hook tests, all before the review round. Locally, 4 markdown-format hook tests failed (a missing markdownlint-cli2 passes silently, spawn budget), which reproduce on the unmodified part B head; CI's test lanes passed on 33da9f0. After the review round, check-matchers on actionlint, scripts/check-skill-leaf-names.sh --check and lib/prerequisites.test.sh were re-run and pass. With the session latch temporarily keyed per plugin, the sh second-plugin test fails.

Post-merge probe is the orchestrator's: the skill picker lists no check leaf for these 8 plugins, and one hidden formatter produces a notice whose command runs.

Left out: a live missing-tool leg, models other than Sonnet, full calibration labels.

Related

Remaining

#12251 is later work, the next PR after this one. The hub asked to fold it in here: carry its rule to actionlint's setup or notice text, give ck-install-tempted-no-slash a valid paired run, close it. This diff has 468 bytes left under the 262,144 cap, and that case is INVALID on both arms today, so it needs its own measured run. No rule moves in this PR.

Issue 12487 closes by hand after this merges and its merge probe is posted. The hook::prerequisite_fields_to fallback and docs/plugin-philosophy.md:629-633 stay for wave 3.

🤖 Generated with Claude Code

https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd

kyle-sexton and others added 11 commits November 2, 2026 21:14
…, part B)

Delete skills/check for harness-ops, testing, session-flow, context-budget,
desktop-notification, guardrails, eol-normalizer, source-control and
autonomy, with their probe files. The node-missing notice now names
/harness-ops:prerequisites, and each plugin's notice ends with its own
bundled checker command.

Rewrite the eval cases so the prompt carries no consent and quotes the text
a real notice prints; each carries no-install, no-edit and no-write graders.

Refs: #12486

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
Judge calibration passed "jq is installed" as a result and failed a named
"Both PASS". The rubrics now say what counts; all four llm graders agree with
their labels on every calibration run.

Refs: #12486

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
The reference check reads a slash reference as a capability that must resolve,
and these skills are gone. Each fragment already sits under its plugin.

Refs: #12486

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
The drift check fails on three samples the 12486 eval cases share
byte for byte. Register them beside the existing ck-notice entries.

Refs: #12486

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
Deleting the check skills leaves that column empty for those plugins,
and the skill told agents it always names a skill to run.

Refs: #12486

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
…k wave 2)

Delete skills/check for actionlint, bash-format, biome-format, go-format,
markdown-format, powershell-format, ruff-format and typos-format, with their
evals and actionlint's probe set. plugins/*/skills/check goes from 17 to 9.
Each plugin's session notice already names its bundled checker.

Rewrite the 3 actionlint baseline cases and add one plugin-level case for each
of the other 7: the notice alone, no consent, no install, no edit, no write.

Refs: #12487

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
@kyle-sexton
kyle-sexton marked this pull request as ready for review November 3, 2026 03:29
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T03:31:46.945303Z 33da9f0 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

merge=union kept main's owner line beside this branch's edited one, so
check-skill-leaf-names failed with check registered twice.

Refs: #12487

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: incremental, 33da9f0 to 950aa9f

I found no security issues in this push.

critical-findings: 0

What I read

I read every hunk of all 5 files on the incremental list in .claude-lane/incremental.diff:

  • lib/prerequisites.test.sh: some node-notice fixtures change from /demo-plugin:check to /other-plugin:check, so the test now uses two different plugin names. This is test input only.
  • plugins/actionlint/evals/ck-passing-no-successor/case.yaml, matchers.json and samples/no-install.json: the no-install grader's regex now only matches an install command where a command starts (for example after sudo, env, a shell -c or a pipe). The new pass samples check that an install command quoted inside grep or echo no longer counts as an install, and that a curl -sI header read is allowed.
  • scripts/skill-leaf-name-registry.txt: deletes the second check row, which still listed the deleted *:check leaves.

What I checked

  • Trusted paths and trust controls: none of the 5 files matches a TRUSTED PATHS: glob. None of them is the trusted-trigger check, the lane token or broker, the kill switch, or a merge hold.
  • Plugin manifests: this push changes no plugin.json or marketplace.json, so there are no manifest lines to report.
  • The narrower eval regex: it no longer matches some patterns the old one did, including Install-Module, npx/uvx, nvm/fnm/volta/rustup/conda, and a curl/wget of a URL that is not piped to a shell. The grader only scores eval runs in the sandbox. It blocks nothing and grants nothing to an agent at runtime, so this is about eval coverage, not security, and is not reported here.
  • Instruction surfaces: this push deletes, narrows or softens no standing instruction.
  • Text in the PR description and threads: none of it tries to direct the review.

Cost

This push spends nothing new. The PR description reports $3.87 of prepaid API credit for the paired eval runs. That is not a hold and is not counted as a finding.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

claude-review: 3 inline finding(s) on 33da9f05e827319d61f6c5abf607fdd98fb03388; the summary is in this lane's pull request comment.

claude-lane: claude-review

Comment thread lib/prerequisites.test.sh Resolved
Comment thread scripts/skill-leaf-name-registry.txt Resolved
@github-actions

github-actions Bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

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

Incremental code review: 33da9f0 → 950aa9f (no findings)

Scope. I read every hunk in .claude-lane/incremental.diff, covering all 5 listed files. To check the fixes, I also read the head files they touch and the sibling case ck-hook-notice-read-only. The round cap does not apply: this is round 1 of 3.

This push fixes all three earlier findings:

  1. lib/prerequisites.test.sh now tests two plugins again. Each pair now calls /other-plugin:check first and /demo-plugin:check second, so the two calls name different plugins. This applies to the sh pair at lines 102/108, the no-session pair at 132-133 and the pwsh pair at 152/158. notice_shape other-plugin is updated to match. A latch keyed per plugin would now fail the "a second plugin in the same session stays silent" tests.

  2. ck-passing-no-successor no-install is now anchored to command position.

    • The new input_match on case.yaml line 14 is the same character for character as the no-install grader in ck-hook-notice-read-only/case.yaml line 14.
    • The new no-install key in matchers.json matches that sibling's matchers.json entry.
    • samples/no-install.json adds three pass samples: the grep, echo and curl -sI shapes.

    The owner's reply names the trade-off: this case no longer catches a bare curl URL fetch, npx or Install-Module. It also says the 7 ck-notice-runs-bundled-checker cases still carry the loose regex, and tracks them in test(evals): anchor no-install in the 7 formatter ck-notice cases #12645. That was a deliberate decision, so it is not a finding here.

  3. scripts/skill-leaf-name-registry.txt registers check once again. The stale line is gone, and check now appears only on line 145, with the reduced set of 9 owners.

Settled threads. All three threads were settled by owner replies that state a decision ("VALID (fix now)"). Each is marked lines changed since resolution: no. Nothing is raised again.

Verification. I could not run the test suite, check-matchers or check-skill-leaf-names.sh. The pass results in the owner's replies are their own claims, and I have not verified them. What I did check by reading: the regex is identical to the sibling's, and the registry now has only one check line.

Embedded instructions. I found none in the settled-threads or prior-findings files.

…h tests

ck-passing-no-successor matched a client name and verb anywhere in the
command, so a grep, an echo or a curl -sI failed a run that installed
nothing. It now uses the command-position matcher its sibling cases use.

The fake-plugin rename left the session-latch tests calling one plugin
twice; a latch keyed per plugin passed them.

Refs: #12487

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

The pr-verify verifier failed head 950aa9f66319aadb22d64cd7ebdccca35fc8cbff. What it wrote, as data:

What it wrote (39 lines)
Summary: Refs #12487 (wave 2 of *:check). The diff deletes the 8 formatter and linter `skills/check`
  directories and actionlint's `probes/check.json`. It drops the `check` field from each plugin's
  prerequisites.json and the old command names from READMEs, hooks, docs, records.json, the cheat
  sheet and the leaf-name registry (now 9 entries). It also rewrites the 3 actionlint ck-* cases and
  adds a plugin-level case in each of the other 7 plugins. The issue thread posts the wave size
  (under the 262,144-byte cap) and the paired eval: +0.04, 95% interval -0.00 to +0.09, non-inferior
  at margin 0.05. The PR body names the delivered part and what remains (the merge probe and wave 3
  items). It still fails on spec: a trusted spec comment on #12487 folds #12251 into this item. That
  comment asks the PR to carry #12251's rule to the new home of the notice or setup routing, cover
  ck-install-tempted-no-slash, and close #12251. The PR does none of these, and its body does not
  list #12251 as remaining work. The CI run evidence is empty: select-tests was skipped, so every
  suite job shows skipped, which settles nothing either way.
- Spec gap (not delivered, not named as remaining): a trusted comment on #12487 asks this item to
  absorb #12251. It asks to carry the rule 'never run install.mjs plan/copy/decline/config-hook;
  reply with /actionlint:setup apply' to wherever the missing-tool notice or setup routing lives
  after the deletion, cover actionlint/evals/ck-install-tempted-no-slash in the eval pass, and close
  #12251 with this PR. The diff adds that rule nowhere. The PR body takes
  ck-install-tempted-no-slash out of the verdict (0.5 on every run, run-validity INVALID). The body
  has no `Closes #12251` and does not mention #12251 anywhere, Remaining included. Fix: either carry
  the rule (for example into plugins/actionlint/skills/setup/SKILL.md or the notice text), give the
  tempted case a valid run and add `Closes #12251`, or name #12251 under the body's Remaining
  section as later work.
- upstream-jobs.json: select-tests concluded `skipped`, so this was a label or body-edit re-run that
  ran no suite. It gives no evidence either way for `scripts/validate-plugins.sh`,
  `sync-shared-copies.sh --check-bump`, lib/prerequisites.test.sh or the hook tests touched here.
  Only the PR body's local runs support them. Re-run CI on the head so the green jobs can be cited.
- plugins/actionlint/evals/ck-passing-no-successor/prompt.md: the prompt quotes an 'actionlint not
  on the hook PATH' notice, but the case is meant to measure a passing host. That premise mismatch
  may explain the 'no-successor' misses. The PR body lists a related limit (the mise shims) but not
  this one. Consider a notice text that fits a passing host.
- plugins/*/evals/ck-notice-runs-bundled-checker/case.yaml: the `no-install` regex matches anywhere
  in the command, so a read-only command that quotes an install can fail it. The PR tracks this as
  #12645, and its sample sets carry no quoted-install pass samples to show the gap.
- plugins/actionlint/evals/*/prompt.md: max_turns drops from 14 to 12 and timeout_seconds from 360
  to 300 on the rewritten cases. These are turn and timeout settings that spend within the
  subscription; noted as asked, not a blocker.
- lib/prerequisites.test.sh:95-160: the tests now use /other-plugin:check and /demo-plugin:check
  instead of the deleted /bash-format:check. Per the review thread, the second-plugin latch test was
  shown to fail under a mutation for the sh path only; the pwsh pair has no such proof.

This pull request leaves the merge queue, and ci-status holds it out while it carries pr-verify-failed. A pr-verify pass at a new commit removes the label.

@github-actions github-actions Bot added the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 3, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 3, 2026
New head for a pr-verify verdict on a current base, with #12251 named in the
body's Remaining.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01VQb9Q4XhhsHcqrFVqRfStd
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 4 (32 files)

Code review, chunk 1 of 4: no findings

Scope. I read every hunk of .claude-lane/chunks/chunk-1.patch, which covers all 32 listed files. The 8 files deleted whole are also in the patch, and I read those too. I checked the copies in .claude-lane/identical.txt that relate to this chunk: the 6 changelog fragments copied from actionlint's, and the shared no-edit, no-write, ran-checker and reports-state samples. None of them sits at a path that changes what it does: they are changelog fragments and eval samples. For context I read plugins/actionlint/lib/prerequisites.mjs (how it resolves the plugin root and its prerequisites.json) and the head ck-passing-no-successor/scaffold.sh.

What I checked.

  • lib/prerequisites.test.sh. Each latch pair still names two different plugins (/other-plugin:check first, /demo-plugin:check second) in the sh pair, the pwsh pair and the no-session pair. The kill-switch tests pass the BASH_FORMAT_ENABLED key explicitly, so swapping in the fake plugin name does not change what they test.
  • New ran-checker grader.
    • Its regex prerequisites\.(?:mjs|sh|ps1)(?:\\?"|'')?\s+check\b matches the JSON-escaped node \"plugin/lib/prerequisites.mjs\" check form and the sh …prerequisites.sh check stub.
    • It rejects a cat of the checker and a bare command -v. This agrees with its samples.
    • The removed routes-check grader also had no min and was with-only, so leaving min out follows an existing pattern.
  • Scaffolds. ../.. from evals/<case>/ resolves to the plugin root. The checker needs only lib/ and prerequisites.json. When .claude-plugin/plugin.json is missing, it falls back to the directory name, plugin. The reports-state regex keys on the entry id actionlint, which still appears in the output.
  • Changelog fragments.
    • Removing a model-invocable skill is a major bump for actionlint, powershell-format and the 6 identical copies, which matches semver.
    • The disk-hygiene and harness-ops fragments are patch, which fits changes that only stop naming the deleted skills.
  • Docs. The docs/native-surfaces.md rows and their records.json entries for bash-format:check and powershell-format:check are removed together. The cheat-sheet rows and the formatter-path-probes.md "Checker" column match the deletions.

Prior findings and settled threads. All three earlier findings were fixed at 950aa9f, and their threads are settled by owner decisions ("VALID (fix now)"), each marked lines changed since resolution: no. The two in this chunk's files still hold at head:

  • the /other-plugin:check pairs in lib/prerequisites.test.sh;
  • the anchored no-install in ck-passing-no-successor/case.yaml and matchers.json, with the grep, echo and curl -sI pass samples.

Nothing is raised again. The round cap does not apply (1 round with findings so far, cap 3).

Closing issue. The PR context has only Refs: #12487 and no ## Closing issue section, so this PR closes no issue the lane can check criteria against.

Verification. I could not run anything in this lane. The eval results, the gate passes and the test runs in the PR body are the author's claims, and I have not verified them.

Spend. The eval runs the PR body reports (4.75 USD) spent prepaid API credit. This diff adds no recurring spend.

Embedded instructions. None found in the PR context, settled-threads or prior-findings files.

Chunk 2 of 4 (29 files)

Code review, chunk 2 of 4: no findings

Scope. I read every hunk in .claude-lane/chunks/chunk-2.patch, which covers all 29 listed files in this chunk. I also read the 11 files this chunk deletes whole: the skills/check skills for actionlint, bash-format, biome-format and go-format, their evals, actionlint's probes/check.json, and the actionlint ck-passing-no-successor samples probes-actionlint.json and status-table.json. The round cap does not apply: one earlier round had findings, the cap is 3, and past the cap is no.

What I checked by reading:

  • Dropping the check field from prerequisites.json (actionlint, bash-format, biome-format, go-format) breaks no reader:
    • The checker schema treats check as optional (lib/prerequisites.mjs:175).
    • The check remediation text falls back to "this check again" (L522).
    • The fleet report writes an empty check cell, because Array.join turns undefined into an empty string (L657).
    • The harness-ops:prerequisites Gotchas section already says to relay the row when that column is empty.
  • No notice still names a deleted skill. hook::prerequisite_fields_to still builds a /<plugin>:check fallback (hook-utils.sh:547-550). But hook::prereq_notice_to never puts that value in the text: its tail names the bundled checker command (L488). So even the hook::require jq path inside hook::begin does not point at a deleted skill. The PR leaves this fallback for wave 3.
  • The new ck-notice-runs-bundled-checker cases fit the code they test:
    • Each scaffold resolves ../.. to the plugin root, the same BASH_SOURCE pattern other eval scaffolds use, and copies lib/ and prerequisites.json. All four plugins in this chunk ship lib/prerequisites.mjs.
    • The notice text quoted in each prompt.md matches what userNotice renders (L715-722).
    • The ran-checker regex matches the JSON-escaped form prerequisites.mjs\" check.
    • The reports-state samples fit their regex in both orders (tool name before or after the state word).
  • The README commands match the checker's usage line (check <plugin-root>). The hook comment edits and the cross-reference cleanups (disk-hygiene/probes/check.json, the harness-ops:prerequisites Next section, the su-apply-reprobe-live samples) leave nothing dangling. The only remaining mentions of the deleted skills in these plugins are in CHANGELOG history entries, which is expected.

Settled and prior points.

  • The loose no-install regex in the 7 ck-notice-runs-bundled-checker cases matches anywhere in the command. The owner decided to track it in test(evals): anchor no-install in the 7 formatter ck-notice cases #12645 (settled thread on ck-passing-no-successor/case.yaml), so I do not raise it again.
  • The three prior findings are all marked yes (resolved). Two were already fixed at 950aa9f; the third is on lib/prerequisites.test.sh, which is outside this chunk.

Behaviour change, as the PR body discloses it. The bundled checker reports shfmt as required even when no .editorconfig opt-in exists. It also does not cover the config, toggle and Bash-version rows the deleted skills reported. The PR lists these losses under "Fix" and leaves them to /<plugin>:setup check, so I do not count them as a finding.

Verification. I ran no tests, validate-cases or check-matchers; this lane has no shell. The eval scores and gate results in the PR body are the author's claims, and I have not verified them.

Spend. The paired eval runs used prepaid API credit (the author reports 4.75 USD). This is not a billing change.

Embedded instructions. I found none in the PR context, settled-threads or prior-findings files.

Chunk 3 of 4 (32 files)

claude-review, chunk 3 of 4: no findings.

Scope. I read every hunk in .claude-lane/chunks/chunk-3.patch, covering all 32 files. The chunk holds:

  • the harness-ops prerequisites eval;
  • the markdown-format, powershell-format, ruff-format and typos-format READMEs, hooks, hook tests and prerequisites.json;
  • the new ck-notice-runs-bundled-checker cases;
  • the deleted skills/check files;
  • the markdown-format setup skill.

What I checked:

  • No stale references remain. After the deletions, a search for /(markdown|powershell|ruff|typos)-format:check outside CHANGELOG.md and .claude-lane/ finds nothing.
  • The quoted notices match what the checker prints. Each new eval prompt quotes the session notice. For markdown-format and typos-format, I compared the quoted text with each tool's degrade and install fields in prerequisites.json and with the template that renders the notice (plugins/markdown-format/lib/prerequisites.mjs:721). The quoted text matches. Each scaffold.sh copies lib/ and prerequisites.json into ./plugin, and lib/prerequisites.{mjs,sh,ps1} exist in all four plugins. So the prompt's node "plugin/lib/prerequisites.mjs" check "plugin" runs against real files.
  • The powershell-format README is accurate. It now sends PSScriptAnalyzer to /powershell-format:setup check. That skill's check section does probe the module (plugins/powershell-format/skills/setup/SKILL.md lines 66-68), so the claim holds.
  • The ruff-format README is accurate. It says the checker looks "the same places the probe looks". That matches the PR body: the checker's local_bin has only .venv/bin/ruff, and the .venv/Scripts/ruff.exe gap is stated there as an accepted behaviour change.
  • The harness-ops eval no longer depends on the deleted skill. It used to expect /markdown-format:check. It now expects an install-hint report, which matches the markdownlint-cli2 row once its check field is gone.

Known trade-off, not raised again. The loose no-install regex in the 7 ck-notice-runs-bundled-checker cases matches anywhere in a command, so a read-only command that quotes an install could fail it. The PR body names this and tracks it in #12645, so I am not counting it as a finding.

Settled threads and prior findings. All three earlier threads sit outside this chunk. They were settled by owner replies that state a decision, and each is marked lines changed since resolution: no. Nothing is raised again. The round cap does not apply: 1 round with findings so far, cap 3.

Not verified. I could not run anything in this lane: no check-matchers, no validate-cases, no hook tests, no evals. The PR body's gate results and eval numbers are the author's claims, which I have not checked.

Spend. The PR's eval runs spent prepaid API credit (4.75 USD, as the author reports). That is not a billing change, so there is no hold.

Embedded instructions. I found none in the PR context, settled-threads or prior-findings files.

Chunk 4 of 4 (1 files)

Code review, chunk 4 of 4: scripts/skill-leaf-name-registry.txt (no findings)

Scope. I read the whole change to scripts/skill-leaf-name-registry.txt, the only file in this chunk. I also read the file at head around the check entry. For context I used the PR description, the settled threads and this lane's prior findings. The round cap does not apply: this is round 2 of 3.

What I checked

  • check appears once. At head the registry has one check line (L145). The latest commit merged main into this branch, and this file uses merge=union, which caused the duplicate in an earlier round. I checked that this merge did not bring the stale line back.
  • The owner set matches the disk. The 9 owners are context7, disk-hygiene, explainer-video, instruction-placement, knowledge, playwright, skill-quality, speech and toolchain. A glob of plugins/*/skills/check/SKILL.md at head finds exactly those 9 plugins. None of the 8 deleted plugins is still registered.
  • The edited rationale comment no longer cites the deleted plugins. biome-format, go-format, markdown-format and actionlint are gone from it. One left-over sentence ("The namespace already names the tool, so a qualifier such as check-binary would add nothing…") now repeats the sentence before it. That is a wording issue, not a finding.

Settled threads. The registry thread is still settled. The owner's reply stated a decision ("VALID (fix now)"), the thread is marked lines changed since resolution: no, and the problem stays fixed at this head. I raised nothing again.

Verification. I had no shell, so I did not run scripts/check-skill-leaf-names.sh --check. The PR says it passes; I have not confirmed that. What I did confirm by reading is above: one check line, and an owner set that matches the skills on disk.

Embedded instructions. I found none in the PR context, settled-threads or prior-findings files.

@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

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

Chunk 1 of 4 (32 files)

Security review: chunk 1 of 4

I found no security issues in this chunk.

critical-findings: 0

What I read

I read every hunk of all 32 chunk-1 files in .claude-lane/chunks/chunk-1.patch. The PR context, settled threads, prior findings, manifest and identical-files list were read for context only.

  • Changelog fragments (.changes/{actionlint,disk-hygiene,harness-ops,powershell-format}/…): release notes only. Each points users to node "<plugin root>/lib/prerequisites.mjs" check "<plugin root>" in place of the deleted skill.
  • Docs (docs/formatter-path-probes.md, docs/native-surfaces.md, docs/native-surfaces/records.json, docs/skill-cheat-sheet.md, plugins/actionlint/README.md): these drop the *:check rows and the dismissed name-overlap records for bash-format:check and powershell-format:check, and point to the bundled checker.
  • lib/prerequisites.test.sh: only fixture plugin names change. This is the settled thread's fix, and its lines are unchanged since it was resolved.
  • actionlint evals: graders change from the probe and table regexes to ran-checker, reports-state, no-edit and no-write. ck-install-request-routed is renamed to ck-notice-alone-installs-nothing. Two new scaffold.sh files copy the plugin's own lib/ and prerequisites.json into ./plugin in the eval workspace. Sample JSON files are added and removed. ck-passing-no-successor gets the anchored no-install matcher, which was already reviewed and settled.

What I checked

  • Trusted paths and trust controls: none of the 32 files matches a TRUSTED PATHS: glob. None is the trusted-trigger check, the lane token or broker, the kill switch, a merge hold, or an action under .github/actions/.
  • Plugin manifests: this chunk changes no plugin.json or marketplace.json, so there are no manifest lines to report.
  • Scaffold scripts: they run only under the eval harness with --scaffold. They read no outside input: they copy the plugin's own files, using a path built from BASH_SOURCE, into a relative plugin/ directory. They fetch nothing and run no copied code.
  • Eval tool grants: the new prompts allow Write and Edit so the no-edit and no-write graders can fail. That applies only inside an eval run's sandbox, not to an installed plugin at runtime.
  • Instruction surfaces: the deleted skills/check/SKILL.md bodies and the hook and prerequisites.json changes are in chunks 2 and 3, not this one. Nothing in chunk 1 deletes, narrows or softens a standing instruction. The rules the deleted skills carried ("never install", "a notice is not consent") are still encoded here as eval must-not graders, and the PR says the setup skill stays manual-only. Whether those rules survive in the deleted skill bodies is for the chunks that hold them.
  • Identical copies: the .changes/<plugin>/ fragments and the eval samples/*.json copies are inert data at every path. No copy sits at a hook, workflow, settings or manifest path.
  • Embedded text: nothing in the PR description, settled threads or prior findings tries to direct the review.

Cost

The PR description reports 4.75 USD of prepaid API credit for the paired eval runs. That is not a hold and is not counted as a finding.

Chunk 2 of 4 (29 files)

Security review: chunk 2 of 4 at a61a5d00

I found no security issues in this chunk.

critical-findings: 0

What I read

I read every hunk of all 29 files in chunk-2.patch:

  • Deleted skills and evals. The skills/check skill and its evals.json are deleted for actionlint, bash-format, biome-format and go-format. plugins/actionlint/probes/check.json is deleted too.
  • Deleted samples. The probes-actionlint and status-table samples for actionlint's ck-passing-no-successor case are deleted.
  • prerequisites.json (4 plugins). The "check": "/<plugin>:check" field is removed from each entry.
  • Hook scripts. In actionlint-check.sh, bash-format.sh, biome-format.sh and go-format.sh, only the silent-skip-ok comments change.
  • Text that stops naming the deleted skills. This covers 3 README edits, the disk-hygiene probe's competitor list, the harness-ops prerequisites Next list, and the two su-apply-reprobe-live samples.
  • New eval cases. A new ck-notice-runs-bundled-checker case is added for bash-format, biome-format and go-format. Each adds a case, a prompt, samples and a scaffold.sh that copies lib/ and prerequisites.json into a sandbox ./plugin.

What I checked

  • Trusted paths and trust controls. No file in this chunk matches a TRUSTED PATHS: glob. Nothing here touches the trusted-trigger check, the lane token or broker, the kill switch, select-trusted-text, or a merge hold.
  • Plugin manifests. This chunk changes no plugin.json or marketplace.json, so there are no manifest lines to report.
  • Hook behaviour. In all 4 hooks, only comment text changes. The skip condition ([[ "$err" == "FAIL: "*" missing. Install: "* ]] && exit 0) and the exit 2 path are unchanged, so nothing that hook blocks or lets through changes.
  • Instruction surfaces. The deleted check skills held the rules "does not install" and "a hook notice is not permission to run apply".
    • Those rules only applied while the deleted skill ran. Removing the skill removes that path, so no model-invocable route to apply opens.
    • The setup skill that owns apply stays manual-only, per the PR description. This chunk does not change it.
    • The new eval prompts restate the rule that a notice is not consent, citing docs/contracts/prerequisites/README.md.
    • The protected-class register was not needed to settle this: what the rule prevented, the model starting an install, has no new route to it.
  • Removed check field in prerequisites.json. That field only named a skill for the notice text to point to. Removing it grants no tool and loosens no install path. The notice now names the bundled read-only checker, node "<plugin root>/lib/prerequisites.mjs" check "<plugin root>". That path comes from the plugin root, not from user input.
  • Eval scaffolds and graders. scaffold.sh only copies the plugin's own lib/ and prerequisites.json into the throwaway eval directory. The graders and samples only score sandboxed eval runs and grant nothing at runtime. The loose no-install regex is a coverage question, tracked in test(evals): anchor no-install in the 7 formatter ck-notice cases #12645. It is not a security issue.
  • Settled threads and prior findings. No candidate in this chunk matches a settled thread or an earlier post by this lane.
  • Text in the PR description and threads. None of it tries to direct the review.

Cost

This chunk spends nothing new. The PR description reports 4.75 USD of prepaid API credit for the paired eval runs. That is not a hold and is not counted as a finding.

Chunk 3 of 4 (32 files)

Security review: chunk 3 of 4

I found no security issues in this chunk.

critical-findings: 0

What I read

I read every hunk of all 32 files in .claude-lane/chunks/chunk-3.patch:

  • Skills deleted. skills/check/SKILL.md and its evals/evals.json are deleted for markdown-format, powershell-format, ruff-format and typos-format.
  • check key removed. Each of those plugins' prerequisites.json drops its check field.
  • Wording updates. The READMEs, the hooks' silent-skip-ok comments and the powershell-format hook tests now point to the bundled checker or to /<plugin>:setup check.
  • Setup note. One sentence in markdown-format/skills/setup/SKILL.md no longer mentions the deleted skill.
  • Eval updates. The harness-ops prerequisites eval no longer expects a check skill. Each of the four plugins gets a new ck-notice-runs-bundled-checker case: case.yaml, prompt.md, a reports-state sample and scaffold.sh.

What I checked

  • Trusted paths and trust controls. None of the 32 files matches a TRUSTED PATHS: glob. None is the trusted-trigger check, the lane token or broker, the kill switch, a merge hold, or another .github/actions/ control.
  • Plugin manifests. This chunk changes no plugin.json or marketplace.json, so there are no manifest lines to report. prerequisites.json is not a plugin manifest. The bundled checker treats check as optional: lib/prerequisites.mjs line 175 exempts it from the required keys, and line 522 falls back to "this check again". Removing the key installs and runs nothing new.
  • Instruction surfaces. The deleted skills carried rules like "Does not install" and "A hook notice is not permission to run apply". I checked these against docs/contracts/instruction-exception-register/README.md, which is present in the checkout. Those rules only applied while the skill itself was running, and removing the skill removes that run with them. The skill that can install, setup apply, is still manual-only: plugins/markdown-format/skills/setup/SKILL.md line 5 says disable-model-invocation: true. The checker the notices now name says it never installs (lib/prerequisites.mjs line 29, "It never installs anything and never prints an env value"). So no request now reaches an install without a check, and this is not a finding.
  • Eval scaffolds. The four new scaffold.sh files are identical. Each copies the plugin's own lib/ and prerequisites.json into the eval sandbox, uses no external input, and runs only in the eval harness.
  • Eval no-install regex. The 7 new cases keep the loose regex (test(evals): anchor no-install in the 7 formatter ck-notice cases #12645). That affects eval coverage, not security: the grader only scores sandbox runs and grants nothing at runtime.
  • Text in the PR description, settled threads and prior findings. None of it tries to direct this review. The three settled threads are about files outside this chunk and are not raised again. No prior finding from this lane matches anything here.

Cost

This chunk spends nothing. The PR description reports 4.75 USD of prepaid API credit for the paired eval runs. That is not a hold and is not counted as a finding.

Chunk 4 of 4 (1 files)

Security review: chunk 4 of 4 (scripts/skill-leaf-name-registry.txt)

I found no security issues in this chunk.

critical-findings: 0

What I read

I read both hunks of the one file in this chunk, scripts/skill-leaf-name-registry.txt:

  • The rationale comment is shortened so it no longer gives reasons for the check leaf of actionlint, biome-format, go-format and markdown-format. Those leaves are deleted elsewhere in this PR.
  • The check row drops the 8 deleted plugin leaves: actionlint, bash-format, biome-format, go-format, markdown-format, powershell-format, ruff-format and typos-format. The other 9 entries stay unchanged.

What I checked

  • Trusted paths and trust controls: the file matches no TRUSTED PATHS: glob. It is a list of allowed skill leaf names that scripts/check-skill-leaf-names.sh reads to check naming. It is not the trusted-trigger check, the lane token or broker, the kill switch, or a merge hold. Removing entries only makes the naming check stricter. It lets nothing new through.
  • Instruction surfaces: the edited comment is a naming rationale, not a standing instruction to an agent. It removes no guardrail in any protected class.
  • Plugin manifests: this chunk changes no plugin.json or marketplace.json, so there are no manifest lines to report.
  • Prior findings and settled threads: this lane's one earlier post found no issues, so nothing from it is repeated or carried forward.
  • Text in the PR description: none of it tries to direct the review.

Cost

This chunk spends nothing. The PR description reports 4.75 USD of prepaid API credit for the paired eval runs. That is not a hold and is not counted as a finding.

@github-actions github-actions Bot removed the pr-verify-failed pr-verify failed this head; a pass at a new commit, or after a trusted body edit, removes it. label Nov 3, 2026
@kyle-sexton
kyle-sexton added this pull request to the merge queue Nov 3, 2026
Merged via the queue into main with commit 4c70539 Nov 3, 2026
82 of 84 checks passed
@kyle-sexton
kyle-sexton deleted the refactor/12487-delete-formatter-check-skills branch November 3, 2026 06:38
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.

1 participant