{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-trace-context-dissociation-at-the-federated-span-boundary-in-cross-vendor-multi-agent-workflows",
  "title": "What structural signals indicate trace-context dissociation at the federated span boundary in cross-vendor multi-agent workflows",
  "date_of_record": "2026 November 25",
  "scope": "Applies to multi-agent workflows where spans are emitted by more than one vendor's agent runtime and joined through a federated trace collector (W3C `traceparent`/`tracestate` propagation, OTLP export, or A2A/MCP handoff envelopes carrying span context). Does not apply to single-vendor, single-process traces where the collector owns the entire span tree and no cross-runtime context injection occurs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-dissociation-at-the-federated-span-boundary-in-cross-vendor-multi-agent-workflows.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-dissociation-at-the-federated-span-boundary-in-cross-vendor-multi-agent-workflows.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-context-dissociation-at-the-federated-span-boundary-in-cross-vendor-multi-agent-workflows.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1710,
    "python_slice_tokens": 325,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"missing spans\" or \"clock skew.\" It is **trace-context dissociation**: a child agent emits spans that are structurally valid, correctly parented to *something*, and accepted by the collector, yet the parent link resolves to a span that belongs to a different logical transaction because the propagated `traceparent` was rewritten, re-se...",
    "what_was_observed": "A three-vendor orchestration: Vendor A runs the planner agent, Vendor B runs a retrieval/tool agent invoked via MCP, Vendor C runs an auditor agent invoked via A2A. The planner emits a root span `plan.execute` with `traceparent` `00-<trace_id_1>-<span_planner>-01`. It calls Vendor B's MCP server, passing the envelope. Vendor B's runtime wraps the incoming request in its own auto-instrumentation middleware, which—beca...",
    "condition_of_validity": "Trace-context correlation across a federated boundary is valid only when all of the following hold simultaneously: 1. **Propagator agreement.** The inbound span context format at each hop is in the intersection of the caller's emit set and the callee's parse set. W3C `traceparent` is the only format with broad cross-vendor support; b3, Jaeger, and X-Ray are ...",
    "decision_boundary": "The boundary between \"acceptable\" and \"dissociated\" is not whether every span is present—it is whether the **root cardinality per transaction ID equals one** and whether the **`tracestate` at each leaf contains every vendor that emitted an ancestor span**. Operationally, treat a workflow as dissociated, and refuse to emit a correlated verdict, when any of: -...",
    "operational_effect": "When dissociation is detected, the correct response is to **fail closed on correlation, not on execution**. The agent workflow may have succeeded; the trace cannot prove it did. Any verdict, replay, or audit artifact derived from the dissociated trace must be marked non-authoritative and re-derived by joining on transaction ID + timestamp + payload hash, or ..."
  },
  "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": "6a2b2ac33758b80e1d02da998616dc84d1de2a55d20b6d5437949b322269e6b1",
    "verified_classes": [
      "TraceContextDissociationError",
      "SpanContext"
    ],
    "verified_functions": [
      "propagate_span",
      "assert_single_root"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "TraceContextDissociationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
