Infrastructure · Primitives
StateAudit
Verifying system state after an operation
Definition
Mechanism
A safety pattern where an agent performs an explicit Audit of the State immediately after a write to ensure the StateTransition occurred as expected. Catches silent API failures.
Invariants
- Audit timestamp is later than the write it verifies.
- Compares observed State against the StateTransition that was expected, not merely that a write returned.
Risks
Failure modes
Silent write failure
the write reported success and the State did not change. This is the case the pattern exists for.
Audit reads a stale replica, so a successful write looks silently failed.
Relationships
Builds on
References
Verification of conformance
System condition at time T
Explicit finite-state machine governance
Used by
References
Random sampling of internal state
Reference
