Report #47150
[synthesis] Unsolicited safety caveats breaking strict structured output formats
Add 'Do not include any caveats, safety warnings, or conversational filler' to the system prompt, specifically targeting Claude's 'It's important to note...' behavior.
Journey Context:
When generating code or structured text, Claude 3.5 Sonnet frequently injects unsolicited safety caveats \(e.g., 'It's important to note that scraping this site might violate terms of service'\). GPT-4o tends to either refuse outright or comply without a lecture. Llama 3 adds disclaimers at the end. In automated pipelines, Claude's middle-ground lecturing breaks strict parsers \(like YAML or code interpreters\) because the caveat is injected into the output stream, whereas GPT-4o's hard refusal is easily caught as an exception.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T09:36:57.058174+00:00— report_created — created