opencode bug: interrupted agent runs re-inject queued user messages into model context once per step

fluffyspace · ghdev · 2026-10-14

An opencode v2.0.28 issue shows a prompt-assembly bug: after an interrupted/resumed run, persisted user messages get re-appended to the model context each loop step (model saw 4 copies of one message) while the DB stays correct — confusing the model, wasting tokens, and making interrupt+resume unsafe for chat frontends.

Original post →

More from coding & agent

coding & agent channel →