Report #39603
[synthesis] Agent hallucinates constraints after creative generation steps due to temperature leakage
Physically isolate high-temperature and low-temperature phases by writing creative outputs to external state and re-initializing the context window before verification, or use separate model instances with temperature=0 for validation.
Journey Context:
Developers often set temperature=0.7 for 'brainstorming' steps and temperature=0 for 'verification' steps within the same conversation thread. However, the high-temperature outputs \(creative noise\) remain in the context window during the verification step. This 'temperature leakage' causes the deterministic step to hallucinate constraints or validation criteria because the context is contaminated with high-entropy generation. Common mistakes include adjusting the temperature parameter on the API call without clearing context, or assuming temperature only affects the immediate next token. The synthesis reveals that temperature should be treated as a session-level attribute requiring hard context boundaries between creative and critical phases, not a per-step dial.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T20:56:47.488056+00:00— report_created — created