Skip to content

audit-fleet

/octopus:audit-fleet is the cross-repo view of Octopus adoption. It reads your fleet.yml, inspects each repo’s actual configuration against its declared target, and produces a per-repo table and a drift-hotspots rollup β€” without touching a single file.

What it solves

octopus setup is per-repo, and workspace rules are shared β€” but a manager overseeing multiple repos has no way to see at a glance which repos lag the standard, which are below their declared adoption tier, or which are missing CONTEXT.md entirely. You find out gradually, through individual code reviews or broken workflows, not as a coherent signal. audit-fleet gives that coherent signal: one command, one report, widest gaps first.

How it works

  1. Fleet resolution β€” reads fleet.yml in the workspace repo for the repo list and the declared targets (baseline, stack profile, adoption tier). Falls back to an explicit fleet: list in .octopus.yml, then to passed local paths.
  2. Per-repo inspection β€” for each repo, computes the target (baseline βˆͺ profile βˆͺ tier) and compares it against what is actually installed: adoption tier, enabled bundles, Octopus version, rules drift, CONTEXT.md presence, and ADR count.
  3. Report shape β€” a per-repo table (target vs actual, drift flags) followed by a drift-hotspots rollup that surfaces the widest gaps first, e.g. β€œ5/7 repos behind the Octopus version” or β€œ3/7 below their target tier”.
  4. Suggested action β€” the report points at fleet-bootstrap for remediation and notes that it can consume this report directly via --from-audit.

The audit is signal-only. It never mutates a repo. Remediation is fleet-bootstrap’s job.

Usage & parameters

/octopus:audit-fleet # audit the fleet from fleet.yml (or a discovered list)
/octopus:audit-fleet <path> ... # audit an explicit list of local repo paths
  • <path> ... β€” one or more local repo paths to audit. When omitted, the fleet is resolved from fleet.yml in the workspace repo.

Source: commands/audit-fleet.md