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)→
More from coding & agent
- BotPings: free iPhone app uses remote MCP to ring your phone when an agent needs help — EngineerVal · 2026-12-02
- AWS engineer builds Rust lease client with lowest bug density of his 30-year career — FlolightC · 2026-12-02
- After 7 months running role-bot teams, one dev switched to single agents with skills — research agrees — myLifeintheStack · 2026-12-02
- How do you vet a new tool before your agent calls it in production? — Wezabis2 · 2026-12-02
- Google clarifies Antigravity TOS: only ACP or headless CLI access, no account pooling — op7418 · 2026-12-02
- Obvious launches 'software factories' with $1M liability insurance, 6-month migration done in 48 hours — cneuralnetwork · 2026-12-02