mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
Users who installed TORCH via `npm install <tarball> && npx torch-lock init` had no built-in way to cleanly remove it. This adds a `remove` command that detects and removes all TORCH artifacts: the torch/ directory, config files, runtime directories (.torch/, .scheduler-memory/, task-logs/), governance proposals, host package.json scripts, and the npm package itself. - Add cmdRemove() in src/ops.mjs with detection, preview, confirmation, and cleanup - Wire up `remove` command in CLI dispatcher (src/lib.mjs) - Add TORCH_HOST_SCRIPTS constant in constants.mjs for shared script key list - Add docs/removal.md with full manual removal instructions - Add removal section to README.md - Add 7 scenario tests in test/ops-remove.test.mjs https://claude.ai/code/session_011Snrxu3iZGLtJ9pnFSajpM