A patch-only prompt to stop coding agents from re-reading memory and burning credits

Designer-Material633 · reddit · 2026-12-02

The author shares a system prompt that stops agents from looping, forgetting progress, and burning credits after 20 steps: keep state in one versioned store, pass only stateid plus deltas, never loadall(), return only {"patch": {...}}, and halt with CONFLICT on version mismatches instead of guessing.

Related event: A patch-only prompt stops agents from burning tokens rereading memory(2 posts)→

Original post →

More from coding & agent

coding & agent channel →