agent/codex/scripts/safety.sh
Snider e58986a3b4 revert fcb9c189e5
revert fix(agentic): harden TODO workspace write

Co-Authored-By: Virgil <virgil@lethean.io>
2026-04-23 12:32:57 +01:00

10 lines
208 B
Bash
Executable file

#!/bin/bash
set -euo pipefail
cat <<'SAFE'
Safety guardrails:
- Avoid rm -rf / rm -r (except node_modules, vendor, .cache)
- Avoid sed -i
- Avoid xargs with file operations
- Avoid mv/cp with wildcards
SAFE