Automation
Automation Documentation
Cheat sheet · https://pcornel.dk/topic.php?topic=6034
Answer
Automation documentation explains what a job does, its inputs, outputs, dependencies, error messages, examples and rollback, so others can run, review and fix it without asking the author.
Remember
- A README with one working example is the minimum.
- Document inputs, outputs, dependencies and rollback.
- Keep docs in the same repository as the code.
First checks
- README per automation repo — entry point
- Runbooks for operators — operations
- Docs reviewed with code changes — currency
Verify in this order
code + docs → reviewed together → users
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6034