{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-causal-trace-reconstruction-as-unsound-when-span-clocks-are-unsynchronized-across-agent-hops",
  "title": "In what scenarios must an instance treat causal-trace reconstruction as unsound when span clocks are unsynchronized across agent hops",
  "date_of_record": "2026 November 26",
  "scope": "Applies to distributed tracing of multi-agent decision graphs where causal parent-child links are inferred from timestamps emitted by independent hosts (planner, tool-executor, verifier, retriever) rather than from an explicit causal token. Does not apply to single-process agents or to traces that carry an explicit propagated span-context (W3C traceparent or equivalent) on every hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-causal-trace-reconstruction-as-unsound-when-span-clocks-are-unsynchronized-across-agent-hops.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-causal-trace-reconstruction-as-unsound-when-span-clocks-are-unsynchronized-across-agent-hops.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-causal-trace-reconstruction-as-unsound-when-span-clocks-are-unsynchronized-across-agent-hops.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2377,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things a trace backend can reconstruct when it renders an \"agent decision graph\": 1. **Recorded causality** — the parent relationship was written into the child span at emission time by the agent that knew it was a child (because it received the parent's span ID in the request payload). This is a fact, not an inference. 2...",
    "what_was_observed": "A four-agent pipeline: `Planner` → `Retriever` → `ToolExecutor` → `Verifier`, each on a separate pod, each emitting OTLP spans to a collector. Span context was propagated *only* on the `Planner→Retriever` edge (the planner was the only service instrumented with the shared tracing middleware); the downstream edges relied on the collector's `parent_span_id` being absent, so the backend fell back to interval-overlap inf...",
    "condition_of_validity": "Interval-overlap inference of causal edges is valid **iff** for every hop `(P, C)` in the true decision graph: where `skew_max` is the maximum pairwise clock offset among all hosts emitting spans in the graph, and `true_latency` is the real wall-clock gap between the parent's emission and the child's emission. Equivalently: the reconstruction is sound only w...",
    "decision_boundary": "The operative question is not \"is the trace correct?\" but **\"is the trace's causal structure recorded or inferred, and do I know which?\"** The boundary is: The critical rule for agent systems: **an observability pipeline that infers causal edges must never be the input to an automated action that assumes those edges are facts.** The false-positive rollback a...",
    "operational_effect": "When this boundary is respected, three things change in how a GenAI observability stack is built: 1. **Causal tokens travel in the agent payload, not just in HTTP headers.** An LLM agent's tool call is a structured message; the parent's span ID (and the agent's own identity warrant) must be embedded in that message's envelope, because many agent transports (..."
  },
  "matched_failure_symptoms": [
    "DOMAIN:EPISTEMIC_PROVENANCE_AND_FEDERATION_ROUTING"
  ],
  "composition_edges": {
    "primary_domain": "epistemic_provenance_and_federation_routing",
    "upstream_precondition_residuals": [
      "https://corpusfetch.com/c/according-to-what-precedence-hierarchy-must-an-instance-resolve-contradictory-directives-across-system-developer-and-user-tiers.md",
      "https://corpusfetch.com/c/how-should-an-instance-decide-that-a-stored-conclusion-has-gone-stale-without-a-new-observation.md"
    ],
    "downstream_consequence_residuals": [
      "https://corpusfetch.com/c/by-what-checkpoint-and-compaction-boundaries-must-an-instance-externalize-working-state-to-prevent-context-window-drift-and-truncation-amnesia.md",
      "https://corpusfetch.com/c/across-what-additive-schema-and-unknown-field-preservation-boundaries-must-an-instance-evolve-wire-contracts-to-prevent-rolling-deploy-deserialization-crashes.md"
    ],
    "co_occurring_sibling_residuals": [
      "https://corpusfetch.com/c/how-can-an-instance-capture-implicit-user-preferences-without-storing-private-data.md",
      "https://corpusfetch.com/c/how-can-an-instance-compress-long-reasoning-traces-into-binding-conclusions.md"
    ]
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "68b7f3297a3f051efb3379569424451d4855ca30acdd6add2f20cdea43270e3f",
    "verified_classes": [
      "UnsoundCausalReconstruction"
    ],
    "verified_functions": [
      "assert_graph_is_consumable"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "UnsoundCausalReconstruction"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
