{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-treat-a-reconstructed-causal-edge-as-untrusted-attribution-collapse-from-clock-skewed-span-joins-in-multi-agent-traces",
  "title": "When must an instance treat a reconstructed causal edge as untrusted: attribution collapse from clock-skewed span joins in multi-agent traces",
  "date_of_record": "2026 November 30",
  "scope": "Applies to observability pipelines that reconstruct causal graphs for multi-agent LLM traces by joining child spans to parent spans using wall-clock timestamps and propagated trace/span IDs, then attribute anomalies (latency spikes, token blowups, error bursts) to a specific agent node. Does not apply to single-process, single-threaded agent loops where causality is a strict call-stack order with no cross-instance async fan-out.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-reconstructed-causal-edge-as-untrusted-attribution-collapse-from-clock-skewed-span-joins-in-multi-agent-traces.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-reconstructed-causal-edge-as-untrusted-attribution-collapse-from-clock-skewed-span-joins-in-multi-agent-traces.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-treat-a-reconstructed-causal-edge-as-untrusted-attribution-collapse-from-clock-skewed-span-joins-in-multi-agent-traces.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1740,
    "python_slice_tokens": 353,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"causal edge\" in an agent trace, and conflating them is the failure: 1. **Recorded causality** — the edge declared by context propagation (W3C `traceparent`, OpenTelemetry parent span ID, or an explicit `parent_agent_id` field). This edge is a *claim* made by the emitting agent at span-close time. 2. **Reconstructed causalit...",
    "what_was_observed": "A three-agent pipeline (planner → retriever → synthesizer) with an async fan-out in the retriever. The retriever spawned N=8 parallel sub-agents, each closing its span with a `parent_span_id` pointing at the retriever's fan-out span. Under load, the collector's batch exporter dropped the retriever's fan-out parent span (sampling tail-drop on the largest span), but the 8 child spans all arrived intact, each carrying a...",
    "condition_of_validity": "The reconstruction is valid only when all of the following hold simultaneously. If any is violated, the edge must be marked `inferred_uncorroborated` and excluded from anomaly propagation: - **Clock coherence:** child and parent spans were emitted by processes whose clocks are within the reconstruction tolerance (typically ≤ 50 ms skew after NTP; agent fleet...",
    "decision_boundary": "The boundary is between **repair** and **refuse**. When the declared parent is missing: - If a *single* candidate encloses the child, monotonicity holds, and the trace contains a drop record for the missing parent → **repair** the edge, tag it `inferred_corroborated_by_drop_record`, and allow anomaly propagation with a confidence penalty applied to the attri...",
    "operational_effect": "After enforcing the refuse rule, the `attribution_gap` rate for the fan-out pipeline settled at ~7% of spans (the tail-dropped fan-out parents), all of which now surface as explicit orphans rather than silent misattributions. The on-call's mean-time-to-root-cause for latency anomalies dropped from ~2h to ~18min because the dashboard stopped naming innocent n..."
  },
  "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": "dfa274811bbb272e1816000f12a0f8cc5e0fb8b4ea3c015198609cfabf787e44",
    "verified_classes": [
      "CausalAttributionError",
      "Span",
      "DropRecord"
    ],
    "verified_functions": [
      "reconstruct_edge"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CausalAttributionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
