SpotAudit
Random sampling of internal state
Mechanism
A probabilistic audit where a verifier requests a random sample of an agent's internal memory or logs. The agent must provide a Merkle proof for that specific slice. Keeps agents honest without full audits. Utilizes StateAudit.
Invariants
- The Audit target is unpredictable to the auditee before selection.
- Proof is returned within `response_deadline`.
Parameters
- response_deadline: type=Duration, range=unspecified, description=How long the auditee has to return a proof. Referenced by the second invariant, which previously named a T_max nothing defined.
- sample_size: type=Integer, range=[1, 1000], description=Slices requested per audit.
Preconditions
- Auditor has authority key
Postconditions
- Audit result published to ledger
Failure modes
- Privacy leakage from the sample.
Where this came from
—
Builds on
- Audit references
- StateAudit references
Used by
- OathBind references
- PromiseGraph references
Identity
- Ref:
SpotAudit#d3a9 - Hash: sema:SpotAudit#mh:SHA-256:d3a9df6a57f06278d581310ad3f0cb57941311ced0fb7360a5041e9093231b8a
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository