analyze_gaps
Scans codebase and ADRs to detect missing files referenced in ADRs and technologies without ADR coverage. Reports bi-directional gaps for tracking.
Instructions
Scan local codebase and compare with ADRs to detect bi-directional gaps. Finds: (1) ADR-to-code gaps: file references in ADRs that do not exist, (2) Code-to-ADR gaps: technologies in package.json and architectural patterns without ADR coverage. Reports gaps to ADR Aggregator for tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| projectPath | No | Project path (defaults to PROJECT_PATH) | |
| excludePatterns | No | File patterns to exclude from scan (regex) | |
| includePatterns | No | File patterns to include in scan (regex) | |
| scanDirectories | No | Specific directories to scan (defaults to src, lib, app, packages) | |
| includeDismissed | No | Include previously dismissed gaps in analysis | |
| reportToAggregator | No | Whether to report gaps to ADR Aggregator |