analyze_gaps
Scan your codebase against ADRs to detect missing file references and uncover undocumented technologies or patterns. Report gaps to the ADR Aggregator 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 |