1.2 KiB
1.2 KiB
name, enabled, event, action, pattern
| name | enabled | event | action | pattern |
|---|---|---|---|---|
| block-tests-quality-bash | true | bash | block | (rm|mv|cp|sed|awk|chmod|chown|touch|mkdir|rmdir|truncate|tee|>|>>)\s.*tests/quality/(?!baselines.json) |
BLOCKED: Protected Directory (Bash)
Bash commands that modify files in tests/quality/ are not allowed.
Why This Is Blocked
- The
tests/quality/directory contains protected test infrastructure - Commands like
rm,mv,cp,sed,echo >, etc. targeting this directory are prohibited - The user has explicitly requested that agents may view but never modify these files
Allowed Operations
cat tests/quality/*- viewing file contentsls tests/quality/- listing filespytest tests/quality/- running the tests
Blocked Operations
- Any command that would create, modify, or delete files in this directory
- Redirecting output to files in this directory
- Moving or copying files into this directory
If You Believe a Change Is Needed
Do NOT attempt to modify these files. Instead:
- Explain to the user what change you believe is necessary
- Provide your justification
- Wait for explicit user approval and manual intervention
This rule cannot be bypassed.