/audit:resumefrom audit
Audit pipeline: resume an interrupted run — find the in-progress phase and continue from the first uncommitted task.
Ships in audit. Installing the plugin adds it to Claude Code.
For a run a crash, a lost session or an interrupted /audit:phase, /audit:next or /audit:run
left behind. Run python3 "${CLAUDE_PLUGIN_ROOT}/scripts/status/audit-status.py" --short: the
phase it flags resumable is the one to continue. None flagged → say so and stop.
Sweep the interrupted session's record first, before anything else touches the tree:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governance/commit-task-work.py" <manifestPath> <phaseId> --state
It commits the phase's manifest file with the manifest index beside it, the journal and the
evidence directory, and never a task's files - so the rows a torn-down gate wrote reach git, and the
interrupted task's own edits stay untrusted and unstaged. With nothing uncommitted it says so and
commits nothing; run it on every resume rather than deciding first.
Then the step driver continues the phase. It keeps its state per phase, so a task in progress resumes at the step it stopped on - an agent that filed nothing becomes a named decision rather than a silent second dispatch:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/governance/drive-phase.py" next <phaseId> --signal
Do what its one line says, audit <phase> <verb> <subject> ... | <basis> | next: <command>,
until done; the whole step is next <phaseId> --explain <subject>.
dispatch → an Agent per subject (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 each one-line hand-back, then next <phaseId> --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; review → read it whole under --explain, and answer.
The operator's words go in VERBATIM: a --reason is theirs, unparaphrased, and reaches the
hash-chained journal.done → report the outcome, and stop.stop → relay it to the human whole, as --explain prints it.An interrupted task's uncommitted edits are untrusted. Never discard them, and never let a commit settle them, without the human's confirmation (AskUserQuestion).
What the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
npx claudepluginhub aleksandarbisevac/claude-plugins --plugin audit21 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.Other plugins' commands for the same job