/audit:run <taskId> [--dry-run]from audit
Audit pipeline: execute exactly one task by id, with status guards (done/blocked/in_progress) and blocker checks. --dry-run previews without mutating.
Ships in audit. Installing the plugin adds it to Claude Code.
$ARGUMENTS = the task id, plus optional --dry-run.
--dry-run: run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/status/audit-status.py" --short,
say whether the task is ready and what would run, and stop without changing anything.
Otherwise the step driver runs it. drive-phase.py next <taskId> drives that one task: it
takes the phase lock, starts the task (a refused start names what it waits on), writes each
agent's brief, records the gate, commits and closes - and leaves its siblings and sign-off alone.
The --task flag is what makes this the one-task form: given a phase id (p1, P1, 1) it
exits 2 with one line naming /audit:phase <id> and the tasks that verb would run, and starts
nothing and picks no task. /audit:phase runs those tasks in waves when executor.waveWidth is
above 1 and one at a time otherwise. Relay that line; never choose a task for the user.
Run it, do exactly what it prints, and run it again:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governance/drive-phase.py" next <taskId> --task --signal
Its one line is audit <phase> <verb> <subject> ... | <basis> | next: <command>; the whole
step is next <taskId> --explain <subject>. With executor.writerModel set, the
drive-without-model.py hook may already have driven this task before this prompt reached you,
stopping at a step that needs you: next continues from where it stands.
dispatch → an Agent (subagent_type, model: the basis), the prompt
Follow the brief this prints: python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governance/drive-phase.py" brief --manifest "<manifest>" --project-dir "<project>" --role <role> <id>.
Wait for its one-line hand-back, then next <taskId> --task --signal.
With executor.writerModel set, a writer's dispatch is a run: line under --explain
instead: run it in background Bash and call next after it exits. The session is its own
process under its own --budget-usd, set by executor.writerBudgetUsd; it is not drawn from this
session's budget, so launch the run: line as printed.judge, wait → do next:; ask → the human first (AskUserQuestion), then next: with
their option.done → report the outcome and what is ready next (/audit:status), and stop.stop → relay it to the human whole, as --explain prints it.Guards the driver hands back. A done whose basis reads already done means the task was closed before
this run: report its commit and offer (AskUserQuestion) a re-open, never a silent re-run. On a yes:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/audit-task.py" reopen <taskId> --reason "<their why>"
The operator's words go in VERBATIM, unparaphrased: --reason reaches the hash-chained
journal (- reads it off stdin). A task with an ado link then owes its board card the move back to the pending state,
with the comment reopened by /audit:run. Then run next <taskId> --task --signal again. A blocked task stops
the drive with its recorded reason
and the rule for it; an in_progress one resumes from where its last run stopped.
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
21 commands in this plugin
/bug/audit:bug — bug tracking on the audit manifestTrack bugs in the audit manifest — report (add), list, materialize a TDD fix task (fix), or close. Execution of the fix stays in /audit; the repro test must fail red-first, proving the bug./doctor/audit:doctor — is this setup actually working?Audit pipeline: diagnose the setup before it bites — interpreter the hooks will use, git root, config, manifest + shard integrity, which plan-gate tier is active, submodule conflicts, build runners, whether the skills the plan names would resolve from a clone or only here, whether hooks have ever fired and which copy of the plugin ran them, the usage ledger, whether the audit trail still holds, and whether the capability policy is inert, contradicted by the plan, or never enforced. Read-only, no locks, no mutations./guide/audit:guide — ask the plugin about itselfAsk the plugin about itself — what a config key does, how the plan gate grades, what the journal can prove — answered from its own docs with a citation for every claim, by the read-only guide agent./init/audit:init — generate the audit manifestMulti-agent codebase audit that GENERATES the audit manifest (phases/tasks) at manifestPath. Interviews you for scope/goals, fans out parallel read-only explorers, synthesizes findings, then presents the proposed phases for approval BEFORE writing — approve to materialize, or park them as proposals for later /audit:propose materialize. Asks which manifest layout to write (one file, the default, or one file per phase for parallel worktrees)./layout/audit:layout — pick the manifest layout, in either directionAudit pipeline: choose how the manifest is stored — `sharded` (an index plus one file per phase: fewer tokens per phase run, parallel-safe across worktrees) or `single-file` (one file, one diff, no index). A layout CHOICE, not a version upgrade: both shapes are current, neither goes out of date, and this command moves in either direction under one lock, one backup and a re-validate-or-restore. `merge-driver install|uninstall|status` sets up the git merge driver that merges the manifest by record, in either layout./logs/audit:logs — clean the feeds this plugin writesAudit pipeline: prune the local feeds this plugin writes under logsDir — today the plan-gate events feed rendered by the panel Plan gate card. Removes rows that no longer belong (paths outside this repository, lines that are not JSON, optionally rows past an age you name), prints what went and what stayed, and never touches anything outside logsDir. This one WRITES: the verb is mandatory and --dry-run is the read-only half.npx claudepluginhub aleksandarbisevac/claude-plugins --plugin auditOther plugins' commands for the same job