news.ycombinator.com

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

vivekyyy · 3 points · 2 comments · 16 ชั่วโมงที่ผ่านมา

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 ชั่วโมงที่ผ่านมา

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 ชั่วโมงที่ผ่านมา

[deleted]

laruss514 ชั่วโมงที่ผ่านมา

[deleted]

biemone14 ชั่วโมงที่ผ่านมา

[deleted]

unknown14 ชั่วโมงที่ผ่านมา

[deleted]