## Lesson — Hooks designed to block agent actions, such as shield gates

**Tags:** architecture, curated
**Pattern:** \b(exec|spawn|execFile)\s*\(
**Engine:** regex
**Scope:** **/hooks/**/*.ts, **/shield/**/*.ts, **/gates/**/*.ts, **/git/**/*.ts, !**/*.test.ts
**Severity:** error

Hooks designed to block agent actions, such as shield gates.
