Report #85787
[research] Contradicting earlier facts or variable names established in a long coding session \(factual drift\)
Maintain a structured scratchpad of key entities \(variables, APIs, architecture decisions\) and reference it continuously, or use a compiler/linter to enforce consistency.
Journey Context:
Auto-regressive models suffer from attention dilution over long generations. They will forget a variable was named user\_id and start calling it userId, breaking the code. Factuality isn't just about the real world; it's about consistency with the generated context. A scratchpad mitigates this drift.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T02:35:06.576006+00:00— report_created — created