| name | prune |
| description | Run pruning in audit mode against a test fixture and verify results |
| argument-hint | ["test-fixture-name"] |
| allowed-tools | Bash, Read |
Run Scalpel's prune command in audit mode against a test fixture.
- Ensure genome exists:
tests/fixtures/$ARGUMENTS/.scalpel/genome.bin
- Run audit:
cargo run -p scalpel-cli -- prune --mode audit --genome tests/fixtures/$ARGUMENTS/.scalpel/genome.bin
- Show the prune manifest
- If --verify flag: run the fixture's test suite AFTER pruning to confirm nothing breaks
cd tests/fixtures/$ARGUMENTS && npm test
- Report: packages removed, files removed, functions removed, size reduction, tests passing