cd /news/developer-tools/ask-hn-how-do-you-guys-stop-coding-a… · home topics developer-tools article
[ARTICLE · art-113187] src=news.ycombinator.com ↗ pub= topic=developer-tools verified=true sentiment=· neutral

Ask HN: How do you guys stop coding agents from acting out of line?

A Hacker News user asked for tools and tips to prevent coding agents from violating project protocols, citing difficulties enforcing rules such as requiring autogenerated database migrations. The user noted that simple constraints like not writing to the README are easy to encode, but more complex behavioral rules remain challenging to enforce.

read1 min views2 publishedAug 27, 2026

| |||||||||||| 1 point by | I’ve been pretty annoyed recently with my coding agents doing stupid things that are anti-protocol. I can encode rules like “agents shouldn’t write to the README” pretty easily, but things like “database migrations must be autogenerated and not handwritten” are much harder to enforce. Anyone have any tools they use for this or tips for how to deal with issues like that? | ||||||||||| |

── more in #developer-tools 4 stories · sorted by recency
── more on @hacker news 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/ask-hn-how-do-you-gu…] indexed:0 read:1min 2026-08-27 ·