Developer shares three stop rules for AI coding agents
12/04/2026 — 12/04, 10:20·1 sources (all)·1 reports (all)
Key takeaways
- A developer on DEV Community shared three copy-paste stop rules for coding agents, aimed at preventing them from making unrequested "helpful…
- the other two cap time on open-ended work and mark a task blocked after three failed attempts on the same issue.
Background & analysis
On December 4, 2026, a developer published a post on DEV Community sharing three stopping rules that can be pasted directly into instructions for AI coding agents, aimed at preventing them from continuing to make unsolicited "improvements" after finishing a task and running up costs nobody asked for. The post describes the pattern this way: left alone, a capable coding agent tends to keep going, finishing the assigned task and then noticing three other things worth improving, so the user ends up paying for work nobody requested. The author argues the fix is not a smarter model but a clear stopping rule.
The three rules target different situations. The first, the single-task rule, is meant for daily or scheduled work: do only the task marked TODAY in the state file, and stop once its definition of done is met and it has been verified once. The other two address open-ended long-running tasks, with one setting a time limit and the other marking the work as blocked after the same problem fails three times.
The post does not include the full text of the rules, nor does it offer data on their effectiveness or any third-party assessment. It currently stops at introducing the three rules and when to use each.
AI-generated from 1 reports · updated 2 days ago
- Heat index
- 35
- All sources
- 1
- All reports
- 1
- First seen
- 2 days ago
Reports on this story headlines open the original
Writing on DEV Community, a developer shares three stop rules you can paste into a coding agent's instructions to keep it from drifting into unrequested "improvements" after the task is done. The first limits the agent to the task marked TODAY in a state file and stops it once the definition of done is verified; the others cap open-ended work by elapsed time and by three failed attempts on the same problem.
DEV Community · AIAI score 65
Other stories people are talking about
- Heat index 880RisingOpenAI growth stalls as Nvidia delays 10-Q, sparking AI and chip stock selloff16 sources
- Heat index 830RisingMiniMax M4 scores 47 on Intelligence Index; M4.1 in development18 sources
- Heat index 665Alibaba open-sources Qwen4-35B-A3B with 1M context16 sources
- Heat index 590RisingOpenAI memo makes revenue its north-star metric ahead of IPO9 sources
- Heat index 316SurgeSamsung in talks to buy data-center cooling firm Modexus for about $15B4 sources
How is heat calculated?About the methodHide
Heat counts how many independent sources covered a story in the last 48 hours: one source counts once no matter how many posts it published, decaying with a 24-hour half-life. What ranks first is what many people are talking about.
This page aggregates public feeds. Headlines and summaries are machine-organized and remain the property of the original authors; verify important facts at the source. If you believe a headline or summary infringes your rights, email the contact address in the footer with the page URL and basis of your claim, and we will remove or replace it after review.
- Surge
- Discussion rising fast
- New
- First report within 6 hours
- Rising
- Still gathering discussion

