Author: Harry Philippe Mbouyap. All the code below is MIT and lives in a small repo you can

clone and run: https://github.com/hbouyap/claude-code-safe-automation

Getting an AI agent to write code is a solved problem. The part that keeps teams up at night

is different: do you trust it to run commands on your machine, unattended?

One rm -rf in the wrong directory, one git push --force to the wrong branch, and "the agent