analyze_gaps
Scan codebase against ADRs to find missing files or undocumented technologies, then report 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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "analyze_gaps"
}
}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 |