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?

评论

5 条预览评论 · 正在加载完整讨论
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]