veto_dead_code
Detect dead code in a project: unreferenced exports, commented-out blocks, and TODO/FIXME markers, then judge which are safe to delete.
Instructions
Project-scope dead code detector: exported symbols no other project file references (package entry points counted as public API), runs of commented-out code, and TODO/FIXME markers — all found deterministically — plus an LLM judgement of which are safe to delete.
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. |