Automation · Automation Design
Inputs
Cheat sheet · https://pcornel.dk/topic.php?topic=5194
Answer
Inputs are the data an automation job receives — parameters, files, inventory, API payloads. Define their names, types and allowed values clearly and validate them before doing anything.
Remember
- Name, type and allowed values for each input.
- Validate before acting.
- Reject unknown inputs.
First checks
- Input schema (types, ranges, required) — contract
- Validation at entry — reject bad input
- Examples of valid inputs — documentation
Verify in this order
input → schema validation → automation
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.
Automation Design → Inputs · operational reference
| Layer | Automation Design → Inputs operational reference |
|---|---|
| Context identity | JSON Schema 2020-12 / generic automation + exact revision/input/target identity |
| Persistent intent | Versioned contract/configuration with explicit ownership and prerequisites |
| Verification | Validate inputs/read current state → exercise bounded operation → independent target read-back |
| Output contract | Preserve structured status/IDs/properties before human formatting |
| Failure boundary | Separate source/input/engine/controller execution from downstream target outcome |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5194