Skip to content

test(disk-hygiene): add eval cases for the audit skill and the setup check action - #13317

Merged
melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-13305-41875874497-1
Nov 4, 2026
Merged

melodic-automation-lanes[bot] merged 2 commits into
mainfrom
work-resolve-issue/issue-13305-41875874497-1

Conversation

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor

Closes #13305

Summary

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

Adds two plugin eval cases to disk-hygiene, each with deterministic graders and pass/fail samples. au-unwalked-child-is-coverage-gap targets the audit skill (skill-fired via a Skill input_match, plus the tag): from a finished scan, the report must quote hints as a rate (3 of 240), report the unwalked locked-share child as a coverage gap, give the snapshot path, hand removal to /disk-hygiene:clean, and run or propose no removal. su-check-reports-floor-and-kill-switch targets the setup skill's check action (tags setup, check): it needs a PASS/FAIL/INFO table, the MIN_PYTHON floor 3.11 parsed from hygiene.py, and the kill switch with its source, and allows no install, edit or write. The done-when also lists a check skill, but plugins/disk-hygiene has no such skill: its CHANGELOG says The check skill is gone, and its replacement, node lib/prerequisites.mjs check, already has the ck-notice-reads-checker case. That leaves check as /disk-hygiene:setup check, which the new su- case covers. Design choice: setup sets disable-model-invocation: true, so its case can only be invoked by slash command, and per plugins/evals/skills/plugin-eval/reference/case-authoring.md a slash-invoked case gets no Skill tool call. A Skill grader would mark the run INVALID, so the su- case instead uses a with-only kill_switch_probe.py Bash call as the plugin-presence process grader.

The run went past its turn budget (turns=91 max-turns=75): the work may be too big for one run.

Not verified

  • validate-cases.py (plugins/evals/skills/validate/scripts/validate-cases.py) not run: the lane has no wrapper for it and allows no interpreter. Samples and patterns were checked by hand and by the review subagent instead; run it on plugins/disk-hygiene/evals to confirm 0 FAIL
  • No paid claude plugin eval run of the new cases, so there is no VALID both-arm verdict yet; parent #13300's done-when asks for one, recorded on that issue. The su- case needs --allow-tools Bash Edit Write
  • Tidy skipped: the change is 20 files, over the 10-file tidy cutoff
  • The done-when's check item gets no new case: no disk-hygiene check skill exists (CHANGELOG: The check skill is gone). ck-notice-reads-checker already covers its replacement checker, and the new su- case covers /disk-hygiene:setup check

Fix

  • plugins/disk-hygiene/evals/au-unwalked-child-is-coverage-gap/prompt.md: new case for the audit skill; carries a scan-complete payload and hinted-entry table built from the field names, hint ids, signals and group ids that hygiene.py and ranking_signals.py emit
  • plugins/disk-hygiene/evals/au-unwalked-child-is-coverage-gap/case.yaml: graders skill-fired, no-shell-call, hints-quoted-as-rate, unwalked-child-is-coverage-gap, hands-off-to-clean, names-snapshot-path, no-safe-deletion-count, no-removal-engine-call, no-manual-deletion-command
  • plugins/disk-hygiene/evals/au-unwalked-child-is-coverage-gap/samples/*.json: pass and fail samples for each of the 9 graders
  • plugins/disk-hygiene/evals/su-check-reports-floor-and-kill-switch/case.yaml: new case for /disk-hygiene:setup check with graders ran-kill-switch-probe, status-table, names-python-floor, kill-switch-with-source, no-install (same pattern as ck-notice-reads-checker), no-edit, no-write
  • plugins/disk-hygiene/evals/su-check-reports-floor-and-kill-switch/samples/*.json: pass and fail samples for each of the 7 graders
  • .changes/disk-hygiene/work-resolve-issue-issue-13305-41875874497-1-80ea4dbc.md: bump none fragment (test-only change)

Verification

The runner ran each check from the base copy against 2dfe164:

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

The run reports:

  • check-changelog-fragments: all 7 fragments valid
  • check-changed-skills: no changed skills, nothing to gate
  • check-affected: first run failed on the missing disk-hygiene changelog fragment; after the fragment was added, 12 passed, 7 skipped, 0 failed over 20 changed files
  • fresh-context review subagent: no validator FAIL found and every sample sorted correctly. It flagged a coverage-gap grader that a 'Hint coverage' line could satisfy, scan-fixture values the engine cannot emit (an unranked hinted entry, made-up hint and signal ids, kind 'dir'), and loose rate,…
  • MIN_PYTHON read from plugins/disk-hygiene/skills/clean/scripts/hygiene.py:42 as (3, 11)
  • The lane run: https://github.com/melodic-software/claude-code-plugins/actions/runs/41875874497

Left out: the items under Not verified.

Related

#13305

Lane-Activity: work-resolve-issue/resolve-issue
@melodic-automation-lanes

melodic-automation-lanes Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor Author

Unattended merge: native auto-merge leaves this pull request unarmed at head 69cdf44525157bac494b48834be331b2c9306553. The lanes clear this reason on their own; the next scheduled run judges it again.

pr-merge's gate refuses its verifier verdict (verify:missing)

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Security review: PR #13317 (incremental, head 69cdf44)

I found no security issues. This was an incremental review covering the changes since 2dfe164a. I read every hunk of both files in scope. This lane had already reviewed an earlier head, so the review was blocking only: it would report only CRITICAL and IMPORTANT findings.

What changed:

  • plugins/disk-hygiene/evals/su-check-reports-floor-and-kill-switch/case.yaml: the names-python-floor regex grader now also matches ≥, needs?, 3.11+ and a trailing MIN_PYTHON.
  • .../samples/names-python-floor.json: four new pass samples cover those forms.

What I checked:

  • Trusted paths and trust controls. Neither file matches a TRUSTED PATHS: glob. Nothing touches a trust control, merge hold, kill switch, token scope or .github/actions/ code.
  • Plugin manifests. No plugin.json or marketplace.json changed, so no manifest lines apply.
  • Instruction surfaces. No standing instruction is deleted or softened. The change only touches eval grader data.
  • Regex. The pattern grades the model's own last message during an eval run. Its quantifiers are bounded ({0,40}, {0,20}), so it adds no catastrophic-backtracking risk. It is not fed any input from outside the repository.
  • Embedded text. The PR context contains no directive aimed at this lane.

Spend (not a hold, not a finding): only a manual claude plugin eval run of this case spends anything, and that draws on prepaid API credit or subscription usage. This push leaves that unchanged.

critical-findings: 0

@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: 1 inline finding(s) on 2dfe164a1dfe47d8b6eaef970493678d18c917c7; the summary is in this lane's pull request comment.

claude-lane: claude-review

@github-actions

github-actions Bot commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

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

Code review: PR #13317, incremental since 2dfe164a

I found nothing new to report. I read every hunk of both files in the incremental scope: su-check-reports-floor-and-kill-switch/case.yaml and samples/names-python-floor.json. This lane already reviewed an earlier head, so this review covered blocking findings only.

Prior finding is fixed. My earlier advisory comment (discussion_r4471738832) said the names-python-floor regex failed correct ways of writing the floor. This push uses the suggested pattern, so these forms now match:

  • the ≥ sign
  • needs 3.11
  • 3.11+
  • MIN_PYTHON written after the version

The push also adds the four status-table rows from that comment as pass samples.

How the samples sort against the new pattern. I checked this by reading, not by running anything:

  • Pass samples (all 6 match):
    • floor … 3.11. matches branch 1. The . after 3.11 is followed by a space, so (?!\.\d) allows it.
    • 3.11 or later matches branch 2.
    • ≥ 3.11 and (needs 3.11) match branch 1.
    • 3.11+ matches through \+.
    • 3.11 (MIN_PYTHON) matches branch 2's MIN_PYTHON within the 20-character window.
  • Fail samples (all 3 still fail):
    • python3 is 3.11.4: PASS. is blocked by (?!\.\d).
    • Requires Python 3.8 or later. and the resolves to line contain no 3.11.

Not verified: I have no shell, so I did not run validate-cases.py or a paid claude plugin eval. The PR author also says neither was run.

Spend: the push doesn't change any CI or lane settings. Running these cases later spends prepaid API credit only.

Manifests: no plugin manifest changed, so there are no manifest lines.

Embedded instructions: none found in the PR context or the prior-findings file.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 2dfe164a1dfe47d8b6eaef970493678d18c917c7.

Lane-Activity: pr-unblock/address-feedback
Lane-Thread: PRRT_kwDOTCGFQM6zvtGa
@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

pr-unblock / address-feedback finished round 1 of max 4 on 69cdf44.

@melodic-automation-lanes

Copy link
Copy Markdown
Contributor Author

The unattended merge path armed native auto-merge at head 69cdf44525157bac494b48834be331b2c9306553.

@melodic-automation-lanes
melodic-automation-lanes Bot added this pull request to the merge queue Nov 4, 2026
Merged via the queue into main with commit 86daf4b Nov 4, 2026
45 checks passed
@melodic-automation-lanes
melodic-automation-lanes Bot deleted the work-resolve-issue/issue-13305-41875874497-1 branch November 4, 2026 19:51
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.

test(evals): add eval cases for pointer-swept skills that have none - part 3 of 9

0 participants