Add plan-only Device Core runtime drift audit without changing acceptance
This commit is contained in:
@@ -90,3 +90,26 @@ receipt + original incident evidence. Other rollback failures remain blocked.
|
||||
The r5 archive must never be replayed. Reconciliation does not install a release
|
||||
or activate automatic deployment. Only after its live acceptance may a NEW
|
||||
successful CI run become the next normal-release candidate.
|
||||
|
||||
## Read-only diagnosis after rejected reconciliation
|
||||
|
||||
Reconciliation001 stopped in plan on the saved Core runtime configuration hash.
|
||||
No apply ran. This does not prove either harmless ordering or actual drift. The
|
||||
original backup stores only an aggregate hash, and the legacy snapshot retains
|
||||
HostConfig.Binds/Mounts order. Existing acceptance is deliberately unchanged.
|
||||
|
||||
`build_drift_audit.py` creates a separate `device-core-release-drift-audit` bundle.
|
||||
Its only entry is `deployment/device-core-release-r5-drift-audit-v1.json`.
|
||||
Only canonical `plan` can execute this diagnostic; `apply` refuses before any
|
||||
application/backup action. It proves original incident evidence and reports all
|
||||
five service image/hash comparisons over three observations, source/Compose,
|
||||
health, secret/mount/network boundaries and unrelated Compose preservation.
|
||||
No raw inspect, environment values or secrets are printed.
|
||||
|
||||
The diagnostic searches at most 20,000 exact legacy hash candidates, changing only
|
||||
the order of observed HostConfig.Binds/Mounts (up to eight each) and NetworkMode
|
||||
among attached network names. It preserves every other value. A matching old
|
||||
NetworkMode is reported as a difference, never accepted as harmless. Exhaustion,
|
||||
changing samples or no match remains unresolved. No diagnostic result creates a
|
||||
reconciliation marker or bypasses the original acceptance barriers. A subsequent
|
||||
recovery decision requires the actual NAS report.
|
||||
|
||||
Reference in New Issue
Block a user