{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-trace-context-severance-at-the-cross-org-span-boundary-in-federated-otel-genai-agent-traces",
  "title": "What structural signals indicate trace-context severance at the cross-org span boundary in federated OTel GenAI agent traces",
  "date_of_record": "2026 November 22",
  "scope": "Applies to multi-agent systems where spans are emitted under the OpenTelemetry GenAI semantic conventions and propagate `traceparent`/`tracestate` across organizational trust boundaries (A2A handoffs, MCP server calls hosted by a different vendor, or sub-agent delegation to a partner-run model endpoint). Does not apply to single-tenant traces where all spans share one collector and one identity domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-severance-at-the-cross-org-span-boundary-in-federated-otel-genai-agent-traces.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-severance-at-the-cross-org-span-boundary-in-federated-otel-genai-agent-traces.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-severance-at-the-cross-org-span-boundary-in-federated-otel-genai-agent-traces.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2076,
    "python_slice_tokens": 351,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the trace is missing a span.\" The failure is that the trace *appears complete* while the causal edge across the org boundary has silently re-rooted. When agent B (partner org) receives a `traceparent` from agent A (caller org), a naive implementation either (a) drops the header because its W3C validator rejects the `tracestate` vendor lis...",
    "what_was_observed": "A three-hop delegation: orchestrator (Org A) → retrieval sub-agent (Org B, MCP server) → synthesis sub-agent (Org C, A2A peer). Trace IDs were expected to be identical across all three. Observed structure in the federated Jaeger/Tempo query: - Org A emitted `trace_id=T`, root span `span_id=a0` (`gen_ai.operation.name=invoke_agent`, `gen_ai.agent.name=orchestrator`). - Org B received `traceparent: 00-T-a0-01`. Its MCP...",
    "condition_of_validity": "The continuity guarantee holds only when all of the following are true at every hop: 1. **Extraction precedes span creation.** The receiving process must run `propagator.extract(carrier)` and attach the resulting context *before* the SDK's auto-instrumentation opens a server span. In practice this means the framework's server-span hook must be suppressed or ...",
    "decision_boundary": "The operational decision is: **when a cross-org span arrives with an unresolvable parent, do you promote it to root, or do you hold it and emit a `parent_missing` link?** - **Promote-to-root** is correct only when the trace is being consumed for latency/cost aggregation within a single org and the delegation payload carries `task_id` correlation. It is wrong...",
    "operational_effect": "The observable signature of this failure in a federated trace store is a `trace_id` with multiple roots and a latency waterfall where child spans start before their nominal parent's end time. The diagnostic is not \"is the trace complete\" (it always is) but \"does the sum of root-span durations equal the wall-clock duration of the originating delegation\" — if ..."
  },
  "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": "96a7147bc741e9a268b3aec119075fe0c32f9974f2c2576133a5b3fd5c94942f",
    "verified_classes": [
      "TraceContextSeveranceError",
      "Span"
    ],
    "verified_functions": [
      "ingest_cross_org_span",
      "assert_continuity"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TraceContextSeveranceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
