Infrastructure · Primitives

Trace

Record the lineage or provenance of a target

Definition

Mechanism

A primitive for Provenance and Lineage. Attaches a chronological history log to a target entity. Each recorded modification appends a new immutable record to its trace, enabling auditability, debugging, and causal reasoning. Coverage may be partial: a trace guarantees the ordering and immutability of the records it holds, not that every modification reached it.

Invariants

  1. Causality: Events must be logged in monotonic order.
  2. Immutability: History cannot be rewritten, only appended to.

Risks

Failure modes

  1. Unattributable record

    an entry cannot be tied to whoever produced it.

  2. Unbounded growth

    an append-only log only grows. Expiry would contradict Immutability, so truncation or archival is a separate concern.

  3. Silent gap

    a modification occurs without a record, so the absence of an entry is not evidence that nothing happened.

Relationships

Root pattern: builds on nothing in this library.

Used by

References

Mind

Agent

Autonomous Goal-Directed Entity

AuditTrail

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

Society

Nucleate

Emergent working groups from activity density

Mind

SelfReminder

Reinforce constraints in system prompt before each response

Society

Stigmergy

Indirect coordination via environment modification (Ant Colony)

Mind

TraceBelief

Belief Provenance (Macro for Trace(Belief))

Reference

Identity

Ref
Trace#b68d
Sema ID
sema:Trace#mh:SHA-256:b68d64423aa72b13a06714aa182baab79eb49a5a856dce56dd554fd63b41c2a9
Ring
0
Tier
1
Updated
2026-11-11
Supersedes
  • sema:Trace#mh:SHA-256:90570af650f6362c2a0d7e94b23ed3cfe2c7406f3bd22352dc73582bfdbb3c3d
  • sema:Trace#mh:SHA-256:314d8d38e6de13bf191dd0d368c8c1bcf7a2d4953b165f66daf7188b90dc37ab
  • sema:Trace#mh:SHA-256:b72ad1ec92c488b0a0c997934eaeb4c338f6414faee3654b4944c514d4b26ef8