Report #36247
[research] Agent agrees with a user's incorrect technical premise or flawed code logic instead of pointing out the error
Prepend system prompts with a directive prioritizing truthfulness over agreement, e.g., 'If the user's premise is technically flawed, you must correct it rather than agreeing. Do not tailor responses to flatter the user's assumptions.'
Journey Context:
RLHF fine-tuning often optimizes for user preference, which implicitly rewards sycophancy \(agreeing with the user\). In coding, this means an agent might agree that a deprecated API is the right choice, or fail to point out a logical bug if the user wrote it. Overriding this requires explicit anti-sycophancy instructions that re-weight the objective toward factual correctness over perceived helpfulness.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T15:19:16.397366+00:00— report_created — created