What problem does it solve?
ftm-audit automates and enforces wiring integrity across the full lifecycle of an FTM task—from static analysis to adversarial checks and automatic changelog updates—so teams ship reliable, wired code.
Core Features & Use Cases
- Static Analysis with knip to detect unused files, exports, dependencies, and unreachable modules.
- Adversarial audit across five wiring dimensions (import chains, rendering, routing, store reads, and API calls).
- Auto-fix pipelines that generate fixes and a changelog, plus re-verification.
- INTENT.md coverage checks to ensure documentation for new or changed functions, with module-level intents.
- Blackboard state management integration to reflect task progress and decision history.
Quick Start
Run /ftm-audit after finishing a task to perform the full audit cycle: pattern detection, Layer 1 knip, 1.5 INTENT checks, 1.75 path resolution, Layer 2 adversarial audit, and Layer 3 auto-fix with re-verification; optionally perform Phase 3 runtime wiring if prerequisites are met.