Permissions and checkpoints
/permissions read-only # grep_code, read_file, git_diff /permissions auto # also the narrow write/test tools /permissions ask # blocks write/test/process tools (interactive confirm pending)
apply_patch snapshots every touched path before and after the change. Recover with /checkpoints, /restore <id>, or /rewind --files <id>.