Skip to content

feat(plugin-quality): document a batched form of the audit research seam #5944

Closed

Description

@kyle-sexton

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.md describes the batched research form and when it applies, per D1.
  • The batched form produces per-finding research: records that collect-categories.sh grades 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 --check and --check-order pass.

Constraints and gotchas

  • Packet files are write-once (agents/auditor.md:65-77); the updated ledger after research is a new audit-notes-<n>.md (SKILL.md:356-357), and that stays true for the batched form.
  • /discovery:research is optional; when absent the manual discipline in reference/categories.md applies, 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

  1. added
    needs-owner-decision
    on Oct 2, 2026
  2. kyle-sexton commented on Oct 11, 2026

    @kyle-sexton
    MemberAuthor

    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.

  3. removed
    needs-owner-decision
    on Oct 11, 2026
  4. kyle-sexton commented on Oct 13, 2026

    @kyle-sexton
    MemberAuthor

    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.

  5. added
    agent-ready
    on Oct 13, 2026
  6. self-assigned this
    on Oct 14, 2026
  7. kyle-sexton commented on Oct 14, 2026

    @kyle-sexton
    MemberAuthor
    No description provided.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

agent-ready

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions