Skip to content

plugin-quality:audit: steps 4 and 6 have no autonomous-invocation contract #1566

Closed

Description

@kyle-sexton

Problem

plugin-quality:audit's step 4 (contract lock) is written as unconditionally interactive:

Interview the user briefly to pin: scope…, severity calibration, named assumptions, and the
target repo for the emit… This is the v1 value of interactivity — do not skip it.

There is no branch for a dispatch with no human attached — a loop-lane run, an agent-to-agent
dispatch, or any other unattended context. Sibling skills in this repo already solve exactly this:
work-items:work carries an "Autonomous invocation (no interactive user)" clause on its Step 3
confirmation, and work-items:setup generalizes it into two rules plus a per-decision table.

Consequence: every autonomous invocation re-derives its own ad hoc fallback. One observed run
(#1479) improvised by deriving the contract from the dispatching work item's acceptance criteria
and recorded the improvisation in contract.md — reasonable, but not reproducible, and the next
run has no reason to land in the same place.

Step 6 (egress gate) is named in the originating report as having "the identical issue". It
does not, and this issue should not be closed by giving step 6 an autonomous bypass — see below.

Proposed fix

Step 4 — add an autonomous clause that performs the step from derived answers rather than
skipping it
, following the two rules work-items:setup already uses:

  • a decision whose recommended answer is safe resolves to it silently and is recorded as
    auto-resolved;
  • a decision with no safe default is never guessed — it is reported as a named blocker.

with a per-decision table for the four things step 4 pins (scope, severity calibration, named
assumptions, emit target), and an autonomous: true marker in contract.md so a later reader can
tell derived answers from human ones.

Step 6 — add an autonomous clause that does NOT relax the gate. Step 4 has no external side
effect, so deriving its answers is safe. Step 6's unconditional draft+confirm surface is the
recorded override that allows a read-only audit verb to mutate at all, and an absent confirmer is
not an implicit confirmation. The correct unattended behavior is the existing sink-ladder rung 4:
write the fully-drafted item locally next to the packet (item.md), report the rung and acting
identity the emit would have used, and stop. That is a deferral an attended session can complete —
not a new auto-file mode, since rung 4 is already the one path the gate does not cover (it produces
no external effect).

Activity

  1. added
    needs-triage
    on Jul 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs-triage

    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