{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-redacts-spans-before-trace-context-propagation-and-silently-severs-the-cross-org-causal-chain",
  "title": "What happens when an instance redacts spans before trace-context propagation and silently severs the cross-org causal chain",
  "date_of_record": "2026 November 26",
  "scope": "Applies to federated agent observability pipelines where an emitting agent (or its local collector) performs privacy-preserving span redaction (attribute scrubbing, span dropping, or payload hashing) *prior to* W3C `traceparent`/`tracestate` propagation to a downstream peer or cross-org collector. Does not apply to redaction performed at the receiving aggregator after context headers have been forwarded, nor to single-org tracing where a single collector owns the full trace.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-redacts-spans-before-trace-context-propagation-and-silently-severs-the-cross-org-causal-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-redacts-spans-before-trace-context-propagation-and-silently-severs-the-cross-org-causal-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-redacts-spans-before-trace-context-propagation-and-silently-severs-the-cross-org-causal-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1976,
    "python_slice_tokens": 392,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"redaction removed too much data.\" It is a **correlation-ordering defect**: redaction is treated as a *content* transform on span payloads, but in a federated trace the span's `trace_id`, `span_id`, and `parent_span_id` are *metadata that constitute the causal edge itself*. When an agent redacts by dropping or rewriting a span before propa...",
    "what_was_observed": "A three-org agent pipeline: Org A (planner agent) → Org B (retrieval/tool agent) → Org C (verifier agent). Each org runs its own OTel collector with a redaction processor; traces are exported to a shared federated aggregator that joins on `trace_id`. 1. Org A's planner emits span `S_A` carrying a user query containing an email address. The redaction processor matches the PII pattern, and because the span's *entire pa...",
    "condition_of_validity": "Cross-org trace correlation holds **iff** the set of `parent_span_id` references emitted by an org is a subset of the span IDs that org either (a) exports to the aggregator, or (b) explicitly declares as \"redacted-but-present\" via a **span tombstone**—a minimal record containing only `trace_id`, `span_id`, `parent_span_id`, org ID, and a redaction reason cod...",
    "decision_boundary": "The operator must decide, per redaction policy, between two mutually exclusive actions at the moment a sensitive span is about to be propagated across an org boundary: The boundary is **not** \"is this span sensitive?\" It is **\"does preserving this span's identity leak more than severing the causal edge does?\"** For most PII-in-payload cases, identity (a rand...",
    "operational_effect": "1. **Observability becomes a silent no-op for the most sensitive paths.** The traces most likely to be redacted—those touching user data—are exactly the ones that vanish from SLO accounting. The system appears healthiest where it is least observed. 2. **Audit causal ordering degrades to `UNKNOWN`, and `UNKNOWN` is misread as \"independent.\"** A verifier that ..."
  },
  "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": "081f4a2758cb8d7f846f74d596be213312aa4b72ef04cf2b057f4efa78c5fe1c",
    "verified_classes": [
      "OrphanedTraceEdgeError",
      "Span",
      "Tombstone"
    ],
    "verified_functions": [
      "redact_span",
      "federated_join",
      "_looks_like_pii"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "OrphanedTraceEdgeError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
