StateAudit
Verifying system state after an operation
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.
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.
Where this came from
—
Builds on
- Audit references
- State references
- StateTransition references
Used by
- SpotAudit references
Identity
- Ref:
StateAudit#63cf - Hash: sema:StateAudit#mh:SHA-256:63cfd2311667bd0cf3634a23d7c6bb15018d7903ec89e6f5453a827251d7a43c
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository