---
slug: "Audit"
name: "Audit"
type: "Data Structures"
layer: "Infrastructure"
ref: "Audit#be97"
sema_id: "sema:Audit#mh:SHA-256:be970add829f4f162533569b04c9ffd12ea4d070d53405a4993f0785d4074f77"
tags: ["Infrastructure","Data Structures"]
updated: 2026-11-11
mindscape: "bootstrap"
index_url: https://mindscape.pages.dev/bootstrap/index.json
url: https://mindscape.pages.dev/bootstrap/Audit/
related: ["State","System","AgentSandbox","AtomicBid","AuditTrail","HumanApprove","MetaCheck","SpotAudit","StateAudit"]
---

# Audit

Verification of conformance

Layer: Infrastructure · Category: Data Structures

## Mechanism

A structured record produced by a verification event: the artifact naming what was checked, who checked it, when, the inputs and outputs, and the decision reached. Distinct from the verb 'to audit' — this Noun is the durable output that downstream callers consume and reference. Used as [State](https://mindscape.pages.dev/bootstrap/State.md)-grounded evidence when disputes over [System](https://mindscape.pages.dev/bootstrap/System.md) behavior arise.

## Invariants

- Immutability: Audit logs cannot be altered once written.
- Completeness: All checked items must have a verdict.

## Preconditions

- Target [System](https://mindscape.pages.dev/bootstrap/System.md) exists and is accessible

## Postconditions

- Audit report generated
- Pass/Fail status assigned

## Failure modes

—

## Data schema

```json
{
  "type": "object",
  "required": [
    "target_id",
    "auditor_id",
    "verdict",
    "timestamp"
  ],
  "properties": {
    "target_id": {
      "type": "string",
      "description": "Hash or ID of the system/artifact audited"
    },
    "auditor_id": {
      "type": "string",
      "description": "ID of the agent performing the check"
    },
    "verdict": {
      "type": "string",
      "enum": [
        "Pass",
        "Fail",
        "Warn"
      ],
      "description": "Conformance result"
    },
    "evidence_log": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "List of checks performed"
    },
    "timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}
```

## Builds on

- [State](https://mindscape.pages.dev/bootstrap/State.md) (Infrastructure; References)
- [System](https://mindscape.pages.dev/bootstrap/System.md) (Infrastructure; References)

## Used by

- [AgentSandbox](https://mindscape.pages.dev/bootstrap/AgentSandbox.md) (Society; References)
- [AtomicBid](https://mindscape.pages.dev/bootstrap/AtomicBid.md) (Society; References)
- [AuditTrail](https://mindscape.pages.dev/bootstrap/AuditTrail.md) (Infrastructure; References)
- [HumanApprove](https://mindscape.pages.dev/bootstrap/HumanApprove.md) (Infrastructure; References)
- [MetaCheck](https://mindscape.pages.dev/bootstrap/MetaCheck.md) (Mind; References)
- [SpotAudit](https://mindscape.pages.dev/bootstrap/SpotAudit.md) (Infrastructure; References)
- [StateAudit](https://mindscape.pages.dev/bootstrap/StateAudit.md) (Infrastructure; References)

## Identity

- Sema ID: `sema:Audit#mh:SHA-256:be970add829f4f162533569b04c9ffd12ea4d070d53405a4993f0785d4074f77`
- Ref: `Audit#be97`
- Supersedes:
  - `sema:Audit#mh:SHA-256:40447e5c9c68a79109ce76f564ca8c09c2c572f8deabcb92ed3d7db0b845b3c1`

## Links

- [Pattern page](https://mindscape.pages.dev/bootstrap/Audit/)
- [View in the interactive graph](https://mindscape.pages.dev/bootstrap/#Audit)
- [JSON](https://mindscape.pages.dev/bootstrap/Audit.json)
- [Index of all patterns](https://mindscape.pages.dev/bootstrap/index.json)
