news.ycombinator.com

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

vivekyyy · 3 points · 2 comments · 16 ore fa

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?

Comments

5 preview comments · loading full thread
gabosarmiento14 ore fa

Have you consider asking your agent to set up basic permission deny rules to block dangerous commands? Just ask it and request that it shows you the config before applying it.

entity0025 ore fa

[deleted]

laruss514 ore fa

[deleted]

biemone14 ore fa

[deleted]

unknown14 ore fa

[deleted]