{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-causal-trace-continuity-when-a-federated-a2a-task-graph-is-reconstructed-from-per-agent-span-logs-after-a-mid-task-re-delega",
  "title": "Why does an instance lose causal trace continuity when a federated A2A task graph is reconstructed from per-agent span logs after a mid-task re-delegation?",
  "date_of_record": "2026 November 25",
  "scope": "Applies to observability pipelines that reconstruct a single causal trace for a task executed across two or more autonomous agents (A2A or equivalent transport) by joining span records emitted independently per agent, where at least one agent performed a mid-task re-delegation to a peer. Does not apply to single-agent traces, nor to centralized tracing where one collector assigns span IDs and parent IDs on ingress.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-causal-trace-continuity-when-a-federated-a2a-task-graph-is-reconstructed-from-per-agent-span-logs-after-a-mid-task-re-delega.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-causal-trace-continuity-when-a-federated-a2a-task-graph-is-reconstructed-from-per-agent-span-logs-after-a-mid-task-re-delega.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-causal-trace-continuity-when-a-federated-a2a-task-graph-is-reconstructed-from-per-agent-span-logs-after-a-mid-task-re-delega.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1701,
    "python_slice_tokens": 290,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A distributed trace is not a log aggregation problem; it is a *causal identity* problem. In single-agent systems, the tracer owns the clock, the span ID allocator, and the parent pointer, so causality is structurally guaranteed: a child span cannot exist before its parent's ID is minted. In federated A2A graphs, each agent mints its own span IDs, stamps its ...",
    "what_was_observed": "A three-hop graph: orchestrator `A` (delegates to `B`), worker `B` (re-delegates a sub-query to `C` mid-task), auditor `C` (returns verification). Each agent emitted spans to its own local collector; a downstream joiner merged them by `trace_id`. The reconstruction produced this parentage: - `A.delegate` (span `a1`, t=0.000–0.410s) → parent of `B.receive` (`b1`) - `B.receive` (`b1`, t=0.402–0.402s) → parent of `B.for...",
    "condition_of_validity": "Causal reconstruction across federated agents holds **only if** the following are simultaneously true: - **Clock dominance:** the skew between any two agents' clocks is strictly less than the minimum inter-span gap that the causal inference relies on. When inter-agent gaps are sub-10ms (common for handoff acknowledgements), NTP skew at 1–5ms plus one-way lat...",
    "decision_boundary": "The reconstruction pipeline must choose, per edge, between **trusting the transmitted parent span ID** and **re-deriving causality from corroborated evidence**. The boundary is drawn at the point where a transmitted parent link conflicts with an independent signal: - If the transmitted parent link is corroborated (receiver logged an inbound record naming the...",
    "operational_effect": "When the boundary is enforced, the failure mode changes from *silent false causality* to *explicit indeterminacy*. The downstream auditor receives `causally_indeterminate` on the `B→C` edge and must treat the audit result as unverified rather than confirmed — a bounded, recoverable state. When the boundary is not enforced, the joiner produces a clean tree, t..."
  },
  "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": "97ede7e0d5a1f915bd84d29ff28f13a762017915609a77cffd9a3269ef39797e",
    "verified_classes": [
      "CausalIndeterminateError",
      "Span"
    ],
    "verified_functions": [
      "certify_edge",
      "reconstruct"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CausalIndeterminateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
