You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
feat(testing): let cleanup plan a whole repo as per-project batches #6043
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
/testing:cleanup takes exactly one folder per batch (plugins/testing/skills/cleanup/SKILL.md:22) and lists cleaning more than one folder per batch as a never (:177). A request like "clean up the useless tests in this entire repo" is refused, and on a repo with about 40 test projects the user has to drive 40 runs by hand.
Evidence
Verified by reading cleanup/SKILL.md on origin/main (testing 0.21.3). Reported by the producing session: "this entire repo" was refused, and there is no multi-folder or per-project mode.
Proposed approach
Keep one batch equal to one folder (one reviewable diff), and add a planning layer on top:
Given a repo root, enumerate test projects (for .NET, each test .csproj; elsewhere, the folders the audit's adapters claim files in), run the audit once, and present a plan: one batch per project, ordered by finding count, with projects of operational or live-environment kind marked and skipped by default (see the project-kind child of this epic).
Run the batches one at a time, each through the existing single-folder flow, each its own diff and approval.
Files: plugins/testing/skills/cleanup/SKILL.md.
Acceptance criteria
/testing:cleanup <repo root> prints a per-project batch plan instead of refusing.
Each batch runs through the unchanged single-folder flow and produces its own diff and approval.
A project the plan marks operational is not run without an explicit opt-in.
Constraints and gotchas
Never execute operational test projects that reset or write shared environments, including for a baseline.
Version bump and CHANGELOG entry for testing.
Context
Source: local handoff item 20261003-024929-testing-cleanup-and-audit-full-dotnet-support.md, gap 2.
Type: Feature Summary: /testing:cleanup given a repository root prints a per-project batch plan and runs the batches one at a time through the unchanged single-folder flow.
Current behavior:
The cleanup skill takes exactly one folder per batch, and cleaning more than one folder per batch is listed as a never. A request to clean the whole repository is refused.
Desired behavior:
Given a repository root (or no folder with a whole-repo request), the skill enumerates test projects (for .NET each test .csproj; elsewhere the folders the audit's adapters claim files in), runs the audit once, and prints a plan: one batch per project, ordered by finding count.
Projects whose audit kind is operational or live are marked and skipped unless the user opts in by name.
Each batch then runs through the existing single-folder flow, with its own diff and approval, one at a time. One batch still equals one folder.
The never rule is reworded so it forbids several folders in one batch, not a plan of batches.
Key interfaces:
The cleanup skill's argument contract: a repository root becomes a valid target that yields a plan.
Running any operational test project, including for a baseline.
This was generated by AI during backlog shaping.Held, not admitted: this brief is drafted and checked, but the issue lane would stop on it today. It is admitted, by adding agent-ready, once the lane can run the skill-quality check scripts (Automation Lanes' PR #7912). Held under the owner's 2026-10-18 lane-narrowing course correction.
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: let /testing:cleanup accept a repository root and print a per-project batch plan, ordered by finding count. Each batch then runs through the unchanged single-folder flow with its own diff and approval. Operational or live projects are skipped unless the user opts in by name. The "never" rule would be reworded so it still forbids several folders in one batch.
The brief says to land this after #6041 (project-kind fields). I couldn't confirm whether #6041 is still open, so I listed no blocker. I found no likely duplicates among the newest open issues.
The work-resolve-issue lane stopped on its usage limit, not on this issue. It keeps agent-ready, and work-unblock starts it again after 2026-10-25T16:00:00Z.
agent-readyFully specified and briefed; eligible for autonomous pickup from the frontier.status: readyTriaged, unblocked, and fully specified; eligible to pick up.
Activity
kyle-sexton commentedon Oct 18, 2026
Agent Brief
Type: Feature
Summary: /testing:cleanup given a repository root prints a per-project batch plan and runs the batches one at a time through the unchanged single-folder flow.
Current behavior:
The cleanup skill takes exactly one folder per batch, and cleaning more than one folder per batch is listed as a never. A request to clean the whole repository is refused.
Desired behavior:
.csproj; elsewhere the folders the audit's adapters claim files in), runs the audit once, and prints a plan: one batch per project, ordered by finding count.Key interfaces:
Acceptance criteria:
check-skillspasses on the PR (a PR check; this run does not run it).scripts/check-changelog-fragments.shpasses with a testing fragment.Out of scope:
This was generated by AI during backlog shaping. Held, not admitted: this brief is drafted and checked, but the issue lane would stop on it today. It is admitted, by adding
agent-ready, once the lane can run the skill-quality check scripts (Automation Lanes' PR #7912). Held under the owner's 2026-10-18 lane-narrowing course correction.github-actions commentedon Oct 25, 2026
Proposed work class: work-class: scoped
Basis: automated intake triage; the lanes App applied this class.
Size: Small
Complexity: Low
Uncertainty: Known
Flags: none
Blocked by: none
Understood: let /testing:cleanup accept a repository root and print a per-project batch plan, ordered by finding count. Each batch then runs through the unchanged single-folder flow with its own diff and approval. Operational or live projects are skipped unless the user opts in by name. The "never" rule would be reworded so it still forbids several folders in one batch.
The brief says to land this after #6041 (project-kind fields). I couldn't confirm whether #6041 is still open, so I listed no blocker. I found no likely duplicates among the newest open issues.
Automated triage, applied by the lanes App.
melodic-automation-lanes commentedon Oct 25, 2026
The work-resolve-issue lane stopped on its usage limit, not on this issue. It keeps
agent-ready, and work-unblock starts it again after 2026-10-25T16:00:00Z.Run: https://github.com/melodic-software/claude-code-plugins/actions/runs/40152758051