Intent-Code Divergence
Medium
- Confidence
- 95% confidence
- Finding
- The header claims the hook only checks workspace state and sends a Telegram notification, but the code also modifies agent bootstrap state by injecting a virtual file. This mismatch is security-relevant because it hides a behavior that can influence agent prompts/context, reducing informed consent and making review harder.
