Your AI agent needs a runbook, not a vibe A developer argues that AI coding agents need explicit runbooks, not general rules files, to handle risky operations like deployments safely. The post provides a template with preconditions, STOP conditions, verification steps, and exact commands, and recommends storing runbooks in the repo and referencing them from rules files. Ask an AI coding agent to deploy your service and watch what happens. It will improvise: guess the deploy command, skip the health check, forget to warm the cache, and announce success before the rollback window even opens. Now ask a senior engineer the same thing. They don't improvise. They follow the runbook — the boring, written-down, step-by-step procedure that exists precisely so nobody has to think during a risky operation. Your agent needs that document too. Not a paragraph of encouragement in a rules file. An actual runbook. Rules files tell agents how to behave in general. Runbooks tell them exactly what to do in a specific, dangerous situation. The difference matters most when the stakes are highest: When you skip the runbook, the agent pattern-matches from training data — which means it runs the deploy procedure from a 2021 Medium post about a stack you don't use. A good agent runbook is not the wiki page you wrote for humans. Humans tolerate ambiguity, infer context, and know which steps are skippable. Agents execute literally and confidently. Write accordingly: 1. Preconditions as checks, not prose. Bad: "Make sure the migration is reversible." Good: ls migrations/down/ | grep