Rules don’t always work on AI agents
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 […]
https://www.locked.de/rules-dont-always-work-on-ai-agents/ #AI #GenAI #KISSPrinciple #SoftwareEngineeringRules don’t always work on AI agents
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

