Prompt instructions are soft constraints that RLHF-trained deference and hedging can override under pressure. Claude Code stop hooks run after generation and before you see the output, and can force a revision — here's the AND-gate pattern and two production hooks I run.
Stop Hooks as Hard Constraints: Enforcing Claude Code Behavior Outside the Model