Pcornel
Automation · Automation Design

Inputs

Cheat sheet · https://pcornel.dk/topic.php?topic=5194

Back to the Topic

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

LayerAutomation Design → Inputs operational reference
Context identityJSON Schema 2020-12 / generic automation + exact revision/input/target identity
Persistent intentVersioned contract/configuration with explicit ownership and prerequisites
VerificationValidate inputs/read current state → exercise bounded operation → independent target read-back
Output contractPreserve structured status/IDs/properties before human formatting
Failure boundarySeparate 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

Confirmation

Confirm action

Continue?