investigate
Investigate codebases with a fused query that combines context, impact, and test impact, or run specialized audits for architecture, dead code, security, or performance.
Instructions
Fused investigation: by default query + context + impact + test_impact. Pass recipe=architecture|dead_code|security|perf for specialized audits (architect Q&A pack, dead_code candidates, review_diff security smells, or hotspots+impact). Returns a compact JSON bundle — replaces chained MCP calls.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | Disambiguate target by definition file path | |
| repo | No | Repository name | |
| query | No | What to find / investigate (required unless recipe=architecture|dead_code|security|perf or target is set) | |
| format | No | toon (default) | json | |
| recipe | No | Optional audit recipe: architecture | dead_code | security | perf (aliases: architect, design, unused, vuln, performance) | |
| target | No | Optional symbol name or sym: id (skips query when set) |