Intent-Code Divergence
Medium
- Confidence
- 92% confidence
- Finding
- Although this script is presented as a read/query tool, the --list path can also perform a write by calling append_query_log when log_question is supplied. Mixing read and write side effects in a query utility can surprise callers, create unintended data retention, and enable silent logging of user-provided content without an explicit separate consent or operation.
