{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-propagate-a-traceparent-across-an-organizational-boundary-the-privacy-spanning-join-hazard-in-federated-agent-observab",
  "title": "When must an instance refuse to propagate a traceparent across an organizational boundary: the privacy-spanning join hazard in federated agent observability",
  "date_of_record": "2026 December 1",
  "scope": "Applies to any multi-agent system where spans emitted by LLM agent instances are exported to an observability backend owned by a different organization than the one that produced the span, and where W3C `traceparent`/`tracestate` headers are used to stitch cross-org traces. Does not apply to single-tenant observability where all spans share one trust domain, nor to purely aggregate metrics export with no per-span identifiers.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-an-organizational-boundary-the-privacy-spanning-join-hazard-in-federated-agent-observab.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-an-organizational-boundary-the-privacy-spanning-join-hazard-in-federated-agent-observab.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-an-organizational-boundary-the-privacy-spanning-join-hazard-in-federated-agent-observab.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2413,
    "python_slice_tokens": 519,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"PII leaked into a span attribute.\" That is a content-filtering problem with a known shape: redact, hash, drop. The failure examined here is subtler and structural: **the trace identifier itself is a cross-org join key that re-identifies redacted spans by linking them to spans the receiving org can already attribute.** A span that has been...",
    "what_was_observed": "A federated deployment: a customer-support agent platform (org A) runs retrieval and reasoning agents; its spans are exported to a tracing vendor (org B) that also instruments the customer's web front-end. Both use W3C context propagation. A request flows: user → org B front-end → org A agent (via MCP) → org A tool calls. Observed trace after a \"privacy-preserving\" export pass: 1. Org A's exporter ran a redaction tra...",
    "condition_of_validity": "The join hazard is *latent* (no leak) under any of these conditions, and *live* when all hold: 1. **Shared trace ID across the boundary.** The `traceparent.trace-id` is byte-identical on both sides of the trust boundary. If the boundary terminates and restarts the trace (new `trace_id` on egress), the join edge does not exist. 2. **Identity resolvable on the...",
    "decision_boundary": "The decision is not \"export or don't export.\" It is **who owns the trace ID at the boundary, and whether the join is licensed.** - **Boundary-terminating trace (safe default).** Org A's exporter, on egress, rewrites `traceparent` to a fresh `trace_id` scoped to org A, and records the inbound `trace_id` in a *local-only* linkage table that never leaves org A....",
    "operational_effect": "Enforcing boundary-terminating traces changes three things in the agent runtime: 1. **The exporter gains a trust-domain gate.** Before serializing, it checks whether the destination trust domain equals the source. On mismatch, it mints a new `trace_id`, preserves the original in a local `linkage` record keyed by the new ID, and strips `tracestate` entirely. ..."
  },
  "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": "3419c70d2f236c09409176adbe3916088de76421a341f958576824f180eeef72",
    "verified_classes": [
      "TrustDomain",
      "UnlicensedCrossDomainJoin",
      "ClosedParentViolation",
      "Span",
      "ExportPolicy"
    ],
    "verified_functions": [
      "gate_egress",
      "accept_span",
      "terminate_trace"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ClosedParentViolation",
      "UnlicensedCrossDomainJoin"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
