DevDoctor runs destructive commands, so safety is the design — not a flag.
clean without --execute prints the report and stops: zero prompts, zero shell calls. scan never modifies anything.--execute, every entry is shown with its path, risk, estimated reclaim, and the exact command — then DevDoctor asks once before starting.safe entries may be auto-approved with --yes-safe. reclaimable entries are always prompted individually. dangerous entries are skipped unless --allow-dangerous is passed explicitly — and are usually advice-only.devdoctor history), shared by the CLI and the web UI.Disk figures distinguish footprint (allocated storage), estimated reclaimable space, and shared hard-linked allocations. The end-of-run summary compares estimated reclaimed vs. planned alongside the measured free-space change — and on macOS it says so when APFS local snapshots hold the measured change down. See the FAQ.
recipe always emits a fully commented-out script.--execute refuses unless --yes is passed — unattended runs cannot happen by accident.Scan is read-only and safe on any schedule. clean needs --execute plus an explicit human decision for anything above safe; never pass --allow-dangerous without explicit user say-so. Full version: Docs for agents.
Next: Tutorial · FAQ · Docs for agents