veto_dead_code
Scans project for unused exports, unreachable branches, and stale feature flags. Returns council-governed deletion recommendations.
Instructions
Project-scope dead code detector: unused exports, unreachable branches, stale feature flags (always-true/false constants). Returns council-governed deletion recommendations.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| extensions | No | File extensions to scan (default: ['.ts','.js']). | |
| project_dir | Yes | Absolute path to the project root. | |
| agent_response | No | Phase 2 response from the host AI (JSON). Pass this back when prompted by the server to complete the agentic loop. |