Repository navigation
Description
Problem
At medium effort /plugin-quality:audit runs the research seam once per finding at or above the severity floor: plugins/plugin-quality/skills/audit/SKILL.md:123 (effort table) and SKILL.md:352-358 ("one call per finding at or above the severity floor"). With 4 qualifying findings that is 4 sequential /discovery:research invocations, each dispatching its own subagent. The skill documents no batched form, so a run either pays for N dispatches or improvises.
Evidence
Verified on origin/main 0c5fd2898 (plugin-quality 0.12.2): read SKILL.md:120-125 and :350-360; the per-finding rule is as quoted, and no batched form is described.
Reported by the producer, not reproduced: in a 2026-10-01 audit of claude-ops:plugins (plugin-quality 0.11.1) with 4 medium findings, the session used one research agent for all 4, saved each source into the packet, and recorded that as the seam's fallback. The packet sealed and collect-categories.sh graded it, so the per-finding tier records were achievable from one dispatch.
Proposed approach
Document a batched form in SKILL.md near line 352: one /discovery:research dispatch covering every qualifying finding, one saved-source directory inside the packet, and per-finding research: tier records (primary plus two independent corroborators each, as reference/categories.md already requires). Keep per-finding dispatch as the default or make batching the default; that choice is the decision below.
Decision needed:
- D1. Batched as the default at
medium, or an allowed alternative. Recommend: allowed when there are 2 or more qualifying findings, with the per-finding records unchanged, since the collector grades each record independently and the dispatch count is the only difference. Risk to weigh: one research context covering several claims may anchor corroborators across findings; the existing distinct-corroborator check per finding limits that.
Files: plugins/plugin-quality/skills/audit/SKILL.md, possibly plugins/plugin-quality/skills/audit/reference/categories.md, plugins/plugin-quality/skills/audit/evals/evals.json (an eval with several qualifying findings), plugins/plugin-quality/.claude-plugin/plugin.json, plugins/plugin-quality/CHANGELOG.md.
Acceptance criteria
-
SKILL.mddescribes the batched research form and when it applies, per D1. - The batched form produces per-finding
research:records thatcollect-categories.shgrades unchanged. - An eval covers a run with at least 2 qualifying findings.
- plugin-quality version bumped with a CHANGELOG entry;
scripts/check-changelog-parity.sh --checkand--check-orderpass.
Constraints and gotchas
- Packet files are write-once (
agents/auditor.md:65-77); the updated ledger after research is a newaudit-notes-<n>.md(SKILL.md:356-357), and that stays true for the batched form. /discovery:researchis optional; when absent the manual discipline inreference/categories.mdapplies, and the batched wording must not assume the plugin is installed.
Context
Source: local handoff item 20261001-143000-plugin-quality-audit-windows-path-and-guard-limit.md, finding 3 (the item's findings 1 and 2 are in #5942). Related: #4239.
Activity
kyle-sexton commentedon Oct 11, 2026
Owner decision (2026-10-11): Allow a batched research step as an alternative when there are two or more findings; one dispatch per finding stays the default.
Recorded by the coordinating agent session with the owner's approval. Removing
needs-human; implementation is queued and will link its branch here.kyle-sexton commentedon Oct 13, 2026
Owner batch-ratified this admission in an attended session on 2026-10-12: work-class: scoped. Rule: class C1-C3, no trust surface, the independent check confirmed the recorded decision, and no owner step remains.
kyle-sexton commentedon Oct 14, 2026