Automation · Automation Documentation
Architecture
Cheat sheet · https://pcornel.dk/topic.php?topic=6037
Answer
Architecture documentation for automation describes components, data flows, where the job runs, which systems it touches and how credentials are used, often with a simple diagram.
Remember
- Show components, data flow and where the job runs.
- Show how credentials are used.
- A simple diagram beats long text.
First checks
- Architecture diagram (components, data flows, credentials) — overview
- Trust boundaries — security
- Dependencies — external systems
Verify in this order
components → flows → diagram
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 Documentation → Architecture · operational reference
| Layer | Automation Documentation → Architecture operational reference |
|---|---|
| Runtime/ownership | Automation documentation / C4 architecture-model concepts · identify controller/parser, durable intent, identity and target ownership before mutation |
| Persistent intent | Versioned definition/configuration with explicit dependencies, scope and credential boundary |
| Verification | Review one automation system context/container diagram against live inventory: actors, controller, workers, state/secrets, external APIs and verification paths must map to owned components. |
| Expected interpretation | Architecture documentation identifies boundaries, owners, durable state, trust/credential flows and external dependencies at a level that can be matched to the deployed automation. |
| Recovery boundary | Preserve correlation IDs + pre-state, repair first failing boundary, then verify the target independently |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=6037