guardrails
3 articles
When a Commit Guard Cannot Run, It Must Block
A missing Python dependency let my commit guard pass without scanning. Distinguish clean results from broken checks, test exceptions and monitor guard health.
Prompt discipline is engineering infrastructure
Prompt discipline is engineering infrastructure: a forbidden-phrase catalog, hooks, and enforcement that catch AI coding agents dressing shortcuts as judgment.
The blast radius principle: checking targets before destructive commands
Use path checks, previews and a tested recovery plan to limit AI-generated cleanup commands, with a complete exercise that removes no files.