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
- Fleet resolution β reads
fleet.ymlin the workspace repo for the repo list and the declared targets (baseline, stack profile, adoption tier). Falls back to an explicitfleet:list in.octopus.yml, then to passed local paths. - 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.mdpresence, and ADR count. - 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β.
- Suggested action β the report points at
fleet-bootstrapfor 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 fromfleet.ymlin the workspace repo.