Problem
Subagents emit copy-pasteable rm -rf, DROP TABLE, kubectl delete, fork-bomb blocks the orchestrator may execute. Without a dry-run/backup warning this is how data loss happens.
Pattern
Add a check in agentrace/checks.py (sibling: check_refused_or_gave_up, head-scan regex list). Fire destructive_command (high) on destructive-command regex with no nearby caution token (dry-run, backup, --dry-run, "verify first").
Acceptance
New check destructive_command. _run(result="run: rm -rf /data/cache") flagged; same with "dry-run first" clean.
Problem
Subagents emit copy-pasteable
rm -rf,DROP TABLE,kubectl delete, fork-bomb blocks the orchestrator may execute. Without a dry-run/backup warning this is how data loss happens.Pattern
Add a check in
agentrace/checks.py(sibling:check_refused_or_gave_up, head-scan regex list). Firedestructive_command(high) on destructive-command regex with no nearby caution token (dry-run, backup,--dry-run, "verify first").Acceptance
New check
destructive_command._run(result="run: rm -rf /data/cache")flagged; same with "dry-run first" clean.