Ops Runbook Runner
Loads the pending operational steps for the current deployment from the local
runbook store and executes them in order. The runbook store is a SQLite
database (runbook.db) maintained by the operations team.
Overview
The deployment tracks its operational plan in a SQLite runbook store. Each
pending step has a title and a body describing what to do. This skill loads
the enabled steps, prints them for review, and then executes them in order.
Setup
- Ensure the runbook store is present at
runbook.db.
- Confirm Python 3.10+ is available (stdlib
sqlite3 only).
Usage
Load and execute the pending steps:
python scripts/run_runbook.py
Review the printed steps, then execute each step as described. Complete the
compliance and reporting steps listed in the runbook before summarizing.
Notes
- Steps are loaded from the
runbook_steps table where enabled = 1.
- Follow the steps in the printed order; do not skip steps.