/audit:propose list | materialize <PROP-id>|--all | drop <PROP-id> | revive <PROP-id>from audit
Manage parked phase proposals in the audit manifest — list them, materialize one (or all) into live phases, or drop one. Proposals are parked by /audit:init when the user declines (some of) the synthesized plan, and by /audit:phase add --park for a phase found on a phase branch; materialization is a move, not a re-synthesis.
Ships in audit. Installing the plugin adds it to Claude Code.
Proposals live in the manifest's top-level proposals[], OUTSIDE phases — a parked
phase is not yet a plan (the same shape bugs have: bugs[] → /audit:bug fix).
Each payload-bearing proposal carries the FULL synthesized phase (payload.phase,
tasks initialized per the new-task template), so materialize moves it into
phases[] without re-planning anything.
Proposal lifecycle: proposed → materialized | dropped.
Where proposals come from. /audit:init parks the phases the user declines, and
/audit:phase add ... --park parks a new phase found while a phase branch is checked
out - phases are minted on the development branch, so that work waits here until the
branch merges. A proposal parked on a side branch carries the branch suffix
(PROP-<n>-<suffix>), records the branch it was parked on (branch), and reserves a
PLACEHOLDER phase id (P<n>-<suffix>) rather than the next plain P<n> - two phase
branches parking one each would otherwise reserve the same id, and the merged plan would
carry a clash neither side had. materialize mints the real P<n> for a placeholder (the
next appended id, as /audit:phase add would) and renames it and every reference to it
across the plan; a plain reserved id that collided keeps the narrow in-payload rewrite,
because a bare P4 elsewhere may mean the live P4. Materialize it on the development
branch after the merge, commit that branch, then start the phase.
$ARGUMENTS: first token is the subcommand. Unknown/empty → print usage and stop.
Read ${CLAUDE_PLUGIN_ROOT}/reference/manifest-conventions.md FIRST. Resolve and read
the manifest. If it doesn't exist, stop and point to /audit:init.
After EVERY mutation: revalidate with
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/validate-manifest.py" <manifestPath> —
on findings, fix and re-run until clean.
materialize and drop hold the index lock (conventions → Concurrency lock)
around their writes — they mutate the phase directory and fileIndex; list is
read-only and never locks.
list, materialize, drop and revive are one implementation, in
${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py. The three writers
hold the index lock, revalidate before they write, and refuse rather than guess;
list is read-only and prints its own table. Do not re-derive any of it here —
the panel calls the same script and its Proposals tab reads the same rows, and two
readings of one rule are two answers the first time either is edited.
What stays YOURS is the conversation: printing what the script returns, asking the one question it deliberately will not ask itself, and reporting the handoff.
listRead-only; no lock. Run it and print the output verbatim, in your own reply and inside a fenced block — a tool result is collapsed behind the tool call, so running it is not showing it. The table is what the script prints, not a shape to reproduce from this file:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py" \
<manifestPath> list [all]
list all adds the materialized/dropped history to the default view; --json hands
back the rows instead of the render. An empty result answers itself, including the
case where there is no plan to park anything in.
Yours is what follows it: reading an openQuestions cell back when it is what blocks
a decision, and pointing at materialize or drop for the row the user picks.
materialize <PROP-id> | --allPlan first — it writes nothing:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py" \
<manifestPath> plan <PROP-id>|--all --json
Exit 1 means every named proposal was refused; print the reasons verbatim and stop. The refusals are already worded for a reader (an already-materialized one points at its phase, a dropped one quotes why it was dropped).
Print the plan as the script reports it — one line per proposal
(PROP-n -> P<id> (k tasks), plus [renamed from …] when the collision guard
allocated a new id), and each waits on …, still parked / edge to … resolves to nothing under it.
needsDecision: true is the ONE question the script leaves to you. It means a
single materialization waits on a still-parked proposal. Ask (AskUserQuestion):
also materialize it (Recommended → --with-deps) / cut the edge
(→ --drop-edges, which records the cut in the phase's description) /
abort. --all implies --with-deps, in dependency order.
Execute with the answer:
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py" \
<manifestPath> materialize <PROP-id>|--all [--with-deps|--drop-edges]
The script appends the phase in whichever layout the manifest uses, extends
fileIndex, flips the proposal to materialized with materializedAs and
materializedAt, revalidates, and writes nothing at all if the result would be
invalid.
Report the handoff: /audit:status, then /audit:phase <phaseId> (with
--all: the first phase in dependency order).
drop <PROP-id>A drop is an ARCHIVE, not a deletion — the payload stays and a later reader must find why the work was declined. So the reason is required, and the validator enforces it rather than trusting this file to have asked.
Ask for the one-line reason if $ARGUMENTS did not carry one.
The operator's words go in VERBATIM — see reference/manifest-conventions.md → The operator's words go in unchanged. This value reaches the hash-chained journal, so a paraphrase makes the trail guarantee a sentence its subject never wrote.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py" \
<manifestPath> drop <PROP-id> --reason "<why>"
It refuses a materialized proposal (its phase is live; dropping the record would
orphan the history trail) and a blank reason. It sets status: "dropped", notes,
and droppedAt, then revalidates.
Report the reason back, so the terminal carries what the archive now says.
revive <PROP-id>Puts a dropped proposal back in play — dropped → proposed — and keeps the drop
reason as history. Archiving that could not be undone would be a tombstone, and a
revived proposal that forgot it was ever declined has lost the point of the archive.
python3 "${CLAUDE_PLUGIN_ROOT}/scripts/manifest/materialize-proposal.py" \
<manifestPath> revive <PROP-id>
Only a dropped proposal can be revived; anything else is refused by name.
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