You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
chore: rm -rf deny rule blocks the documented cleanup #884
.claude/settings.json denies Bash(rm -rf /*) to stop a root wipe. The pattern is a prefix match, so it also blocks every rm -rf on an absolute path. That includes the cleanup the cloud-session notes in CLAUDE.md tell agents to run when the disk fills:
rm -rf $REPO/src-tauri/target/debug/incremental
→ blocked by a deny rule
The workarounds are a relative path or find -delete. Both get around the rule rather than respect it.
Fix
Pick one:
Narrow the rule to the dangerous forms: Bash(rm -rf /), Bash(rm -rf /*) written as an exact command, Bash(rm -rf ~) and Bash(rm -rf $HOME).
Keep it broad, and add a just clean-debug recipe (or a script) that deletes src-tauri/target/debug/incremental and stale large test binaries. Point the CLAUDE.md cloud-session note at that recipe.
Activity
chore: add a debug-build cleanup script