---
library: "bootstrap"
slug: "Trace"
name: "Trace"
ref: "Trace#b68d"
hash: "sema:Trace#mh:SHA-256:b68d64423aa72b13a06714aa182baab79eb49a5a856dce56dd554fd63b41c2a9"
type: "Primitives"
layer: "Infrastructure"
version: "0.11.0"
root: "a6a3d1ff0f982ee30430c5b42f3784c8ec901fd68482cfc1bc30899c1e5e48c5"
license: null
url: "https://semahash.org/vocabularies/bootstrap/patterns/Trace"
---

# Trace

Record the lineage or provenance of a target

Infrastructure · Primitives

## 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

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

## Failure modes

- Unattributable record: an entry cannot be tied to whoever produced it.
- Unbounded growth: an append-only log only grows. Expiry would contradict Immutability, so truncation or archival is a separate concern.
- Silent gap: a modification occurs without a record, so the absence of an entry is not evidence that nothing happened.

## Where this came from

—

## Used by

- [Agent](https://semahash.org/vocabularies/bootstrap/patterns/Agent.md) (references)
- [AuditTrail](https://semahash.org/vocabularies/bootstrap/patterns/AuditTrail.md) (references)
- [DeliberativeAlign](https://semahash.org/vocabularies/bootstrap/patterns/DeliberativeAlign.md) (references)
- [HypothesisEngine](https://semahash.org/vocabularies/bootstrap/patterns/HypothesisEngine.md) (references)
- [Nucleate](https://semahash.org/vocabularies/bootstrap/patterns/Nucleate.md) (references)
- [Proprioception](https://semahash.org/vocabularies/bootstrap/patterns/Proprioception.md) (references)
- [SelfReminder](https://semahash.org/vocabularies/bootstrap/patterns/SelfReminder.md) (references)
- [SemanticTabu](https://semahash.org/vocabularies/bootstrap/patterns/SemanticTabu.md) (references)
- [SimulationTrace](https://semahash.org/vocabularies/bootstrap/patterns/SimulationTrace.md) (references)
- [StateSnapshot](https://semahash.org/vocabularies/bootstrap/patterns/StateSnapshot.md) (references)
- [Stigmergy](https://semahash.org/vocabularies/bootstrap/patterns/Stigmergy.md) (references)
- [TraceBelief](https://semahash.org/vocabularies/bootstrap/patterns/TraceBelief.md) (references)

## Identity

- Library: bootstrap 0.11.0 (root a6a3d1ff0f98)
- Ref: Trace#b68d
- Hash: sema:Trace#mh:SHA-256:b68d64423aa72b13a06714aa182baab79eb49a5a856dce56dd554fd63b41c2a9

## Links

- Page: https://semahash.org/vocabularies/bootstrap/patterns/Trace
- JSON: https://semahash.org/vocabularies/bootstrap/patterns/Trace.json
- Library: https://semahash.org/vocabularies/bootstrap
- Library index: https://semahash.org/vocabularies/bootstrap/index.json
