Run Order
script-footprint-and-usage-audit
docs-quality-and-freshness-audit
style-and-language-homogenizer-en-gb
component-layout-governance
cleanup-quarantine-manager
cross-agent-packager (only when --agent-pack is requested)
Pipeline Contract Files
These files are canonical only for the docs audit pipeline subsystem. They are not the full AI-tools inventory or lane registry.
ai-tools/ai-skills/catalog/skill-catalog.schema.json
ai-tools/ai-skills/catalog/skill-catalog.json
ai-tools/ai-skills/catalog/execution-manifest.json
Global AI-tools inventory, lifecycle, and lane assignment now live in:
ai-tools/registry/ai-tools-registry.json
ai-tools/registry/ai-tools-inventory.md
Stage Behaviour
| Stage | Primary Goal | Canonical Output |
|---|
| script-footprint-and-usage-audit | Detect script sprawl, backups, placeholders, report bloat | tasks/reports/repo-ops/script-footprint-and-usage-audit.json |
| docs-quality-and-freshness-audit | Inventory TODO/TBD/Coming Soon/PreviewCallout and thin content | tasks/reports/repo-ops/docs-quality-and-freshness-audit.json |
| style-and-language-homogenizer-en-gb | Enforce UK English/style profile in EN v2 scope | tasks/reports/repo-ops/style-and-language-homogenizer-en-gb.json |
| component-layout-governance | Validate required sections and allowed component usage by page type | tasks/reports/repo-ops/component-layout-governance.json |
| cleanup-quarantine-manager | Produce reversible cleanup manifest and optional quarantine moves | tasks/reports/repo-ops/cleanup-quarantine-manifest.json |
| cross-agent-packager | Export aligned packs for Codex/Cursor/Claude/Windsurf | ai-tools/agent-packs/ |
Orchestrator CLI
node tools/scripts/repo-audit-orchestrator.js \
--mode static \
--scope full \
--output-dir tasks/reports/repo-ops \
--agent-pack all
Last modified on March 16, 2026