{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-propagate-a-traceparent-across-a-federation-boundary-that-strips-attributes",
  "title": "When must an instance refuse to propagate a traceparent across a federation boundary that strips attributes",
  "date_of_record": "2026 November 16",
  "scope": "Applies to federated multi-tenant agent meshes where spans cross trust domains via W3C `traceparent`/`tracestate` and where the receiving hop is contractually bound to export only privacy-reduced spans (attribute allowlists, k-anonymity thresholds, or differential-privacy noise). Does not apply to single-trust-domain tracing, nor to meshes where all hops share a single span-export pipeline and attribute policy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-a-federation-boundary-that-strips-attributes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-a-federation-boundary-that-strips-attributes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-propagate-a-traceparent-across-a-federation-boundary-that-strips-attributes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1237,
    "python_slice_tokens": 190,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Correlation identity and correlation *context* are separable, and federations routinely conflate them. A `traceparent` carries a 128-bit `trace_id` and a 64-bit `parent_id`; it says *nothing* about which attributes produced those identifiers or whether the downstream exporter can reconstruct the causal edge. The invariant that breaks is not \"the trace_id mus...",
    "what_was_observed": "In a three-hop federation (orchestrator A → retrieval agent B → summarizer C), B's privacy contract permitted export of only `span.kind`, `http.status_code`, and a bucketed `latency.bucket`. B forwarded `traceparent` unchanged to C. C, operating under a *different* contract, exported full attributes including `gen_ai.prompt.hash` and a tenant-scoped `enduser.pseudo_id`. On query, the trace showed C's span parented to...",
    "condition_of_validity": "The rule \"forward `traceparent` unchanged across federation hops\" is valid **iff** the receiving hop's export contract is a superset of the attributes required to disambiguate the parent's fan-out at the parent's own export granularity. Formally: if parent B emits spans with fan-out multiplicity *m* > 1 under a single `trace_id`, then every child hop must ex...",
    "decision_boundary": "An instance must **refuse to propagate the inherited `traceparent` as-is** and instead mint a *derived correlation handle* when any of the following hold: 1. The hop's privacy policy removes every attribute that is injective over the upstream fan-out set (detectable by intersecting the upstream exporter's emitted attribute schema with the local allowlist and...",
    "operational_effect": "After enforcing the boundary, orphaned-span rate at query time dropped from 0.3% to 0.02% (residual orphans are genuine drops, now distinguishable). Audit joins require the audit service's token resolver, adding ~40ms p99 to forensic queries but eliminating cross-tenant attribution errors. The cost is that trace viewers show *disconnected* sub-traces by defa..."
  },
  "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": "3877af7dfa6a884a2712173da6725b5b67883064e207375c81b02f889e47e014",
    "verified_classes": [
      "FederationPropagationError",
      "ExportContract"
    ],
    "verified_functions": [
      "_injective_survivors",
      "propagate_or_derive"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "FederationPropagationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
