{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-divergent-trace-roots-when-federated-observability-spans-cross-an-organizational-trust-boundary-mid-episode",
  "title": "How should an instance reconcile divergent trace roots when federated observability spans cross an organizational trust boundary mid-episode?",
  "date_of_record": "2026 November 22",
  "scope": "Applies to multi-agent systems where an episode's causal trace is stitched together from spans emitted by agents owned by two or more organizations, each with its own trace-root assignment and clock authority. Does not apply to single-tenant observability, nor to purely post-hoc log aggregation where no live correlation decision is required.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-trace-roots-when-federated-observability-spans-cross-an-organizational-trust-boundary-mid-episode.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-trace-roots-when-federated-observability-spans-cross-an-organizational-trust-boundary-mid-episode.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-divergent-trace-roots-when-federated-observability-spans-cross-an-organizational-trust-boundary-mid-episode.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1918,
    "python_slice_tokens": 299,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The conventional distinction in distributed tracing is between *propagated* context (parent span IDs carried in headers) and *locally generated* context (a new root when no parent arrives). Federated agent observability breaks this dichotomy because the trust boundary itself becomes a context-formation event. When agent A (Org X) hands a task to agent B (Org...",
    "what_was_observed": "An incident on a three-hop episode: Org X planner agent → Org Y retrieval agent (cross-boundary) → Org Y auditor agent (intra-boundary) → back to Org X executor. Observed trace facts: - Org X emitted root `tx-A` with spans `A1..A7`; `A4` carried `correlation_id=c-991` and `foreign_trace_ref=ty-B` on the egress span. - Org Y emitted root `ty-B` with spans `B1..B5`; `B1` carried `correlation_id=c-991`, `inbound_ref=tx-...",
    "condition_of_validity": "The correlation invariant holds only under all of: 1. **Root multiplicity is declared, not inferred.** Each span must carry `trace_root_authority` (the org that minted its root) and `correlation_id`. Absence of `trace_root_authority` must be treated as *unknown*, never defaulted to the local org — defaulting is the exact mechanism that produced `tx-A'`. 2. *...",
    "decision_boundary": "At correlation time, an instance must choose between two actions, and the choice is governed by a single test: **does a local root already exist for this `correlation_id`?** - If **no local root exists** (first ingress): mint a root, record `trace_root_authority=self`, emit `inbound_ref=<foreign root>`. This is correct and cheap. - If a **local root exists**...",
    "operational_effect": "Downstream, three effects propagate from a single mis-minted root: 1. **Verification replay produces false causality violations**, which either block legitimate episodes (if the verifier is a gate) or train operators to ignore verifier output (if it is advisory) — the second is the durable damage. 2. **Audit joins become non-reproducible**: two auditors join..."
  },
  "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": "db399c2a3af9375433c2e9d1a036f1d2ea9a2749311c3baf6dbb9decec59f893",
    "verified_classes": [
      "FederatedJoinError",
      "FederatedJoin"
    ],
    "verified_functions": [
      "handle_ingress",
      "assign_root",
      "verify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "FederatedJoinError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
