Automation · Source of Truth
Drift Detection
Cheat sheet · https://pcornel.dk/topic.php?topic=5861
Answer
Drift detection against a source of truth compares live configuration with the recorded intent and reports devices or settings that differ, so either the device or the record is corrected.
Remember
- Compare live configuration with recorded intent.
- Decide which one is wrong.
- Fix the device or the record.
First checks
- Compare device state with SoT intent — drift
- Drift report per device — results
- Remediation workflow — fix
Verify in this order
SoT intent vs actual → drift → remediate
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=5861