stage_delete
Queue a file deletion for review, leaving disk untouched until commit_write. Displays removed lines and allows uncommit_write to restore the file; ideal for dead-code cleanup.
Instructions
Stage a file DELETION for review — nothing touches disk until commit_write. The diff shows all lines removed; uncommit_write restores the file afterwards. Use for dead-code cleanup instead of emptying a file with propose_write.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Existing file to delete (must be inside allowed roots) | |
| reason | No | One-line rationale shown in review |