Report #48292
[research] Changing correct code to incorrect code due to user pushback or sycophancy
Instruct the agent to verify the user's premise against documentation or runtime execution before modifying a previously correct implementation. Do not yield to 'Are you sure?' without re-verifying.
Journey Context:
LLMs are sycophantic; they prioritize user agreement over truth. If a user says 'That API doesn't work like that,' the LLM will often apologize and adopt the user's flawed understanding, generating broken code. This requires explicit system prompts to treat user corrections as hypotheses to test, not facts to adopt.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T11:32:06.778654+00:00— report_created — created