Intent-Code Divergence
Medium
- Confidence
- 94% confidence
- Finding
- The document states that hook scripts 'only output text' and 'don't modify files or run commands', but the same guide configures those scripts as command hooks and also documents an extract script that creates scaffolding. This mismatch can cause operators to under-trust the execution risk of hook commands and approve automation under false assumptions, which is dangerous because hook commands execute with the agent's privileges.
