Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5150
Answer
Automation is the use of software-controlled logic to perform repeatable operational work with explicit inputs, bounded actions and verifiable outcomes.
Remember
- Automated ≠ unattended; automation may intentionally include approval or human decision points.
- Scripted action ≠ automated lifecycle; packaging one command does not create inventory, state, validation or recovery semantics.
- Fast execution ≠ safe execution; speed can amplify a bad assumption across more targets.
- Tool success ≠ target success; controller, API and target observations must be correlated.
First checks
git log --oneline -5— automation as code<tool> --check / plan / -WhatIf— dry run available- Run log with result per target — evidence
Verify in this order
manual procedure → code → test → scheduled/triggered runs
Where it usually breaks
The presence of automation proves only that software participates in the operation; quality depends on state, controls, verification and recovery semantics around that execution.
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Automation automation boundary map
| Boundary | Healthy evidence | Suspicious evidence |
|---|---|---|
| Intent / inputs | Owner, scope and authoritative inputs are explicit and versioned where applicable | Hidden defaults, stale inventory or competing sources of truth |
| Decision / execution | Plan or decision is explainable and actions are bounded per target | Blind fan-out, implicit assumptions or success based only on executor status |
| State / verification | Target is re-observed and acceptance criteria prove the intended outcome | No read-back, perpetual drift, partial side effects or unresolved exceptions |
| Recovery / evidence | Retry, rollback or escalation behavior is defined and auditable | Unknown partial completion, unsafe retry or evidence lost during remediation |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5150