Files
noteflow/.claude/hookify.block-code-quality-test-bash.local.md

837 B

name, enabled, event, action, pattern
name enabled event action pattern
block-code-quality-test-bash true bash block (sed|awk|cat\s*>|echo\s*>|tee|cp\s+.*code-quality.test.ts|mv\s+.*code-quality.test.ts|rm\s+.*code-quality.test.ts|>|>>).*code-quality.test.ts|code-quality.test.ts.*(>|>>||.*tee)

BLOCKED: Protected File via Bash

The file src/test/code-quality.test.ts is protected from bash modifications.

Detected: Attempt to modify protected file via bash command.

Blocked commands include:

  • sed editing
  • awk modifications
  • Redirections (>, >>)
  • tee writes
  • cp overwrites
  • mv operations
  • rm deletions

Allowed operations:

  • cat (read only, without redirection)
  • grep (searching)
  • head, tail (viewing)

If you need to modify this file via bash, please ask the user for explicit permission first.