Infrastructure · Data Structures

Ledger

Immutable transactional history

Definition

Mechanism

An immutable record of Value transfers, debts, and obligations between Agents, serving as the shared memory for economic coordination. Because entries are never edited, a wrong entry is corrected by appending an offsetting entry rather than by revision — the error and its correction both remain visible, which is the property an audit depends on.

Invariants

  1. Immutability: Past entries cannot be modified.
  2. Append-Only: New transactions are added to the end.

Risks

Failure modes

None stated.

Relationships

Builds on

References

Mind

Agent

Autonomous Goal-Directed Entity

Value

A measure of utility

Used by

References

AuditTrail

Immutable append-only log of agent actions for compliance and debugging

Society

Yield

Weighted negotiation concession with deferred debt ledger

Composes with

TriGate

Generic Red/Yellow/Green flow control

Reference

Data schema

{
  "type": "object",
  "required": [
    "ledger_id",
    "entries"
  ],
  "properties": {
    "ledger_id": {
      "type": "string",
      "description": "Unique identifier"
    },
    "entries": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {
          "from_agent": {
            "type": "string"
          },
          "to_agent": {
            "type": "string"
          },
          "amount": {
            "type": "number"
          },
          "timestamp": {
            "type": "string",
            "format": "date-time"
          }
        }
      },
      "description": "Immutable transaction history"
    },
    "balance_snapshot": {
      "type": "object",
      "description": "Current balances per agent"
    }
  }
}

Identity

Ref
Ledger#4dda
Sema ID
sema:Ledger#mh:SHA-256:4ddaf2792fd7283ceea0d6b9b01ddfff9b7274dfb1cea2bf23147c21520774e5
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Ledger#mh:SHA-256:c363289733cce70a458481259762ae79a0419da4ed5c15ad942c4873181ba910
  • sema:Ledger#mh:SHA-256:bc308b35d2c0be6d4a9159ebe2b3c4989e559628145ba9fccb970d8ec2264b04
  • sema:Ledger#mh:SHA-256:625250939255c79bdf29aa6a7b455f0e339f63fd45dcc4222e765005a1db1c28