A recent Mastodon post from @solomonneas highlights an annoying issue: an AI agent pushed to the main branch 12x, despite clear instructions not to.
[…] My agent pushed to main 12 times despite explicit instructions.
Fix: git pre-push hooks on 39 repos. Agent can’t push code to main because git rejects it. No willpower needed. […]
Mechanical enforcement > written instructions.
@solomonneas@infosec.exchange
The post really speaks for itself:
- Agent rules are not 100% reliable
- KISS: Keep it Simple, Stupid. Don’t make it more complex than necessary. (= don’t start fiddling around with additional AI)
Leave a Reply