Infrastructure · Verification

SpotAudit

Random sampling of internal state

Definition

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.

Preconditions

  1. Auditor has authority key

Postconditions

  1. Audit result published to ledger

Invariants

  1. The Audit target is unpredictable to the auditee before selection.
  2. Proof is returned within `response_deadline`.

Risks

Failure modes

  1. Privacy leakage from the sample.

Relationships

Builds on

References

Audit

Verification of conformance

StateAudit

Verifying system state after an operation

Used by

References

Society

PromiseGraph

Recursive trust dependencies modeled as a DAG

Reference

Parameters

response_deadline Duration, unspecified
How long the auditee has to return a proof. Referenced by the second invariant, which previously named a T_max nothing defined.
sample_size Integer, [1, 1000]
Slices requested per audit.

Identity

Ref
SpotAudit#d3a9
Sema ID
sema:SpotAudit#mh:SHA-256:d3a9df6a57f06278d581310ad3f0cb57941311ced0fb7360a5041e9093231b8a
Ring
1
Tier
1
Updated
2026-11-11
Supersedes
  • sema:SpotAudit#mh:SHA-256:66730b2af0aece3adb72ca9e81b48085fc3654642b14cf82f3d8d2ae4890396d
  • sema:SpotAudit#mh:SHA-256:c00cb4b5955cf4cefc126978f1c4f06d5f1a9b505ff0b92f50af1b047b82c3dc