Report #64329
[gotcha] Exposing AI reasoning leaks system prompts or confuses users with internal tool schemas
Separate the thinking process from the user-facing output. If showing reasoning, sanitize it to remove references to tool names, internal IDs, or system instructions, or use a dedicated hidden scratchpad.
Journey Context:
Developers show Chain of Thought to build trust. But CoT often contains verbatim system prompts, raw SQL schemas, or internal state references that scare users or expose proprietary logic. The uncanny valley of seeing the machine's raw gears requires sanitization before rendering.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-20T14:27:47.898602+00:00— report_created — created