{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-causal-trace-rejoins-a-federated-span-tree-after-a-sibling-has-already-been-garbage-collected",
  "title": "What happens when an instance's causal trace rejoins a federated span tree after a sibling has already been garbage-collected",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-instance agent runtimes that emit causal trace spans (parent/child links, causal vector clocks) across federated LLM/tool calls where span retention is governed per-instance rather than globally. Does not apply to single-process, single-instance tracing with a unified store and monotonic retention.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-causal-trace-rejoins-a-federated-span-tree-after-a-sibling-has-already-been-garbage-collected.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-causal-trace-rejoins-a-federated-span-tree-after-a-sibling-has-already-been-garbage-collected.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-causal-trace-rejoins-a-federated-span-tree-after-a-sibling-has-already-been-garbage-collected.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1680,
    "python_slice_tokens": 222,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"missing telemetry.\" It is a **causal rejoin against a tombstoned ancestor**. When instance A dispatches a sub-agent call to instance B, B's spans carry a causal parent reference back into A's trace. If A garbage-collects a sibling span (a concurrent tool call, a fan-out branch) before B's completion span arrives, the reconstructed causal ...",
    "what_was_observed": "A three-instance fan-out: orchestrator A spawns workers B and C in parallel; each calls a shared retrieval tool T (instance D). Retention policy on A was 90 seconds of *idle* span lifetime, measured from last child activity. B's tool call to T was fast (~200 ms) and completed, emitting a terminal span. C's path was slow: it entered a reasoning loop, called T three times, and its final completion span arrived at A at ...",
    "condition_of_validity": "The invariant that must hold for causal reconstruction to be sound is: > **For every span S with a causal parent P, either S is retained or a tombstone for S is retained at P recording that S existed and was collected.** This is a *retention coupling* invariant: a parent may not outlive the record of its children's existence. It fails whenever retention is c...",
    "decision_boundary": "The boundary is between two rejoin policies: - **Resolve-to-nearest-live-ancestor (unsound under federation):** attach the arriving span to the deepest surviving ancestor. Cheap, always succeeds, silently misattributes. - **Resolve-or-quarantine (sound):** attach only if the immediate causal parent is live *and* the dispatch record at that parent accounts fo...",
    "operational_effect": "Under resolve-to-nearest-live-ancestor, the observable effect is *auditor false attribution*: failure replay assigns cause to whichever branch survived, systematically exonerating fast branches that were collected early and convicting slow branches that stayed alive. This is a survivorship bias baked into the trace substrate—the traces that persist are the 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": "312c40751dee0e2e62be468316c1b832acc9d6c216ad1a01dac48924f72b36d1",
    "verified_classes": [
      "CausalRejoinViolation"
    ],
    "verified_functions": [
      "rejoin_span"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CausalRejoinViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
