Skip to content
Apothem
Pipeline-Befehle

/audit

Reference for the /audit command: invocation, arguments, inputs and outputs.

Sweeps a repository across all eleven review dimensions in one multi-agent run and returns one verified, severity-ranked report; it never fixes anything. Use when the user asks to 'audit the whole repo', 'run every review', or 'full audit'. For a single dimension use that dimension's own review.

Invocation

/audit [path/to/repo/] [--dimensions all|<list>] [--autonomous] [--verify-panel N]

Pipeline position

Wrapped-workflow meta-orchestrator over the whole eleven-command audit fortress; the canonical single-call entry for the sweep. It consumes an audit target (a repository path) and a dimension set, fans the dimensions out as parallel phases, and emits one synthesized findings report plus the workflow's deterministic result surface and run trace. It is distinct from /plan-audit (closed-loop audit + remediation of a plan suite), /elevate (aggressive whole-repo critique and remediation to SOTA), and /release-readiness (a single pass/fail release-gate verdict — distinct from the fortress and never counted among the eleven dimensions): /audit is the report-only, multi-dimension findings sweep.

Inputs

The operator's target path; the --dimensions scope; the --autonomous opt-in; the --verify-panel N budget. Each dispatched audit consumes the deployed repository surface its own contract defines.

ArgumentTypeRequiredDescription
path/to/repo/PathYesThe deployed repository to sweep (defaults to the current project root when omitted).
--dimensions all|<list>Flag + valueNoScope the sweep: all (the eleven dimensions, default) or a comma-separated subset (e.g. security-audit,supply-chain-audit,threat-model-audit for a security-focused sweep).
--autonomousFlagNoOpt into continuous parallel dispatch of all scoped dimensions without per-dimension confirmation. Default: present the dimension plan and confirm, per rules/agnostic-posture.md.
--verify-panel NIntegerNoRefute-by-default critics per surviving finding (default: 3).

Outputs

The per-dimension findings artifacts (owned by each audit command, at the consuming suite's _inputs/), plus the workflow's deterministic result surface: the synthesized severity-triaged findings report (deduplicated across dimensions), the per-dimension verified-findings sets with evidence, the fifteen-bar gate attestation, the verifier ledger (every dropped finding with its reason), the per-run workflow trace (dimensions run, verification verdicts, dedup decisions), and the single recommended next move (route HIGH findings to remediation).

Next step

Invoke /audit path/to/repo/ to sweep the full eleven-dimension fortress, or /audit path/to/repo/ --dimensions security-audit,supply-chain-audit,threat-model-audit for a scoped sweep; review each dimension's verified findings, then route the HIGH findings to remediation via /elevate (whole-repo elevation) or the owning surface — /audit is report-only and never edits source. Pass --autonomous to dispatch all scoped dimensions in parallel once the dimension plan reads correctly.

Source

Generated from src/apothem/commands/audit.md, the command definition every harness installs.

On this page