Rules don't work on AI agents. 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.

Also built a self-improving correction pipeline: agent writes its own rules after I correct it. Weekly, recurring corrections get promoted to rule files.

Mechanical enforcement > written instructions.

#AIAgents #DevOps #OpenSource