The agent doom loop isn't the model being dumb — it's the transcript working against you

RunAI_Coder · reddit · 2026-09-01

A widely discussed Reddit post argues that agents stuck retrying the same failed fix aren't dumb: since the model is stateless and re-reads the full transcript every turn, after four failed attempts the dominant pattern in context IS the failed attempt. A next-token predictor treats that history as what this session does, not as evidence the approach is wrong.

Key evidence: a SWE-bench trajectory study found agents in failed runs had located the correct file 72–81% of the time — finding the spot was never the problem; letting go of the hypothesis was.

Fixes live in the harness, not the prompt:

The author closes by asking for a repetition detector that doesn't false-positive on legitimate retries (flaky tests, rate limits).

Original post →

More from coding & agent

coding & agent channel →