{
  "handle": "Trace",
  "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.",
  "gloss": "Record the lineage or provenance of a target",
  "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."
  ],
  "invariants": [
    "Causality: Events must be logged in monotonic order.",
    "Immutability: History cannot be rewritten, only appended to."
  ],
  "_meta": {
    "tier": 1,
    "ring": 0,
    "supersedes": [
      "sema:Trace#mh:SHA-256:90570af650f6362c2a0d7e94b23ed3cfe2c7406f3bd22352dc73582bfdbb3c3d",
      "sema:Trace#mh:SHA-256:314d8d38e6de13bf191dd0d368c8c1bcf7a2d4953b165f66daf7188b90dc37ab",
      "sema:Trace#mh:SHA-256:b72ad1ec92c488b0a0c997934eaeb4c338f6414faee3654b4944c514d4b26ef8"
    ],
    "path": [
      "Infrastructure",
      "Primitives"
    ]
  },
  "sema_id": "sema:Trace#mh:SHA-256:b68d64423aa72b13a06714aa182baab79eb49a5a856dce56dd554fd63b41c2a9",
  "sema_ref": "Trace#b68d",
  "sema_stub": "b68d",
  "sema_layer": "Infrastructure",
  "sema_category": "Primitives",
  "used_by": {
    "references": {
      "Agent": "sema:Agent#mh:SHA-256:e127459069739fffc96a71d54ef6e8c97ca53471d5349c16aa72a092a33756cd",
      "AuditTrail": "sema:AuditTrail#mh:SHA-256:163b784f86e448340b94d0459483f0f476e052b5b7c589113f5c7df5dd1115a8",
      "DeliberativeAlign": "sema:DeliberativeAlign#mh:SHA-256:dc9e3078f126856429b1372620bce9fecd733f71c1429fcd1c0332908355051e",
      "HypothesisEngine": "sema:HypothesisEngine#mh:SHA-256:f9e8f765ed6e5bca5355567747f7ea9acf4c9836a8f287df8831a9e18c179e3e",
      "Nucleate": "sema:Nucleate#mh:SHA-256:3e4bd57346a1c76316d3a58b729ff6a667a58c48c4c6f47f94017a3954d61783",
      "Proprioception": "sema:Proprioception#mh:SHA-256:d0e9504515812dc3406f58619c71e240ae407b847bb740d529cd91efaba4930f",
      "SelfReminder": "sema:SelfReminder#mh:SHA-256:d7ea6ade4df9ca4285e3aefb5e995a34292412e1f715f1fa3646a2aa528694fd",
      "SemanticTabu": "sema:SemanticTabu#mh:SHA-256:7a2276861f801d88543e81863a33e894b0c7dd4594644a3b91ad737b4eea8728",
      "SimulationTrace": "sema:SimulationTrace#mh:SHA-256:e18789d2ae0413d7f4a4429598f9a12c6f2b9fe4b515eef176d855dcadc0d987",
      "StateSnapshot": "sema:StateSnapshot#mh:SHA-256:d75752f332fe14ae3abf2253a45ab180034d2becc3a7e19e3e30da3c94b3c636",
      "Stigmergy": "sema:Stigmergy#mh:SHA-256:dd4f5a60a12b6dbe6e4a9a051189088dc0a73ef18b5ef4d9ecc361215e9551cb",
      "TraceBelief": "sema:TraceBelief#mh:SHA-256:7b8a67006e9e0f510dd1937e9b420fb8cea880ca1fd0d3d1e86ef5bffffa021a"
    }
  }
}
