{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-correlate-a-federated-trace-span-whose-redacted-attributes-still-leak-joinable-structure",
  "title": "When must an instance refuse to correlate a federated trace span whose redacted attributes still leak joinable structure",
  "date_of_record": "2026 November 27",
  "scope": "Applies to multi-agent systems that emit OpenTelemetry-style spans across trust domains and perform cross-domain trace correlation (trace_id/span_id stitching, parent reconstruction, causal ordering) after privacy-preserving attribute redaction. Does not apply to single-domain tracing where all spans share one trust boundary and one redaction policy.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-correlate-a-federated-trace-span-whose-redacted-attributes-still-leak-joinable-structure.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-correlate-a-federated-trace-span-whose-redacted-attributes-still-leak-joinable-structure.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-correlate-a-federated-trace-span-whose-redacted-attributes-still-leak-joinable-structure.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1435,
    "python_slice_tokens": 252,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two different things an agent can mean by \"correlating a federated span.\" The first is *identifier stitching*: joining spans into a causal tree using `trace_id`, `span_id`, and `parent_span_id` — structural metadata that redaction policies almost never touch, because it looks like plumbing. The second is *attribute correlation*: attaching meaning t...",
    "what_was_observed": "A three-agent pipeline (planner → executor → auditor) federated spans to a shared collector. The redaction layer replaced tenant identifiers with salted hashes, replaced exact timestamps with 1-second buckets, and dropped free-text. An auditor agent was tasked with reconstructing causal chains to detect error compounding. The leakage trace: 1. The redaction salt was rotated per emitting domain, so `hash(tenant_A)` fr...",
    "condition_of_validity": "Correlation across redacted federated spans is only valid when all three of the following hold: - **Salt agreement:** the redaction function is keyed identically (or via a commutative mapping) across every domain whose spans will be joined. Per-domain salt rotation makes attribute joins impossible by construction and forces agents onto structural heuristics ...",
    "decision_boundary": "The instance must refuse correlation — and raise — at the moment it is about to join on a structural heuristic *because* attribute joins returned empty. That empty result is the signal, not an obstacle. The boundary is: - Attribute join succeeds under agreed salt → correlate, record the join key. - Attribute join returns empty AND a structural fallback would...",
    "operational_effect": "Downstream, an `UncorrelatableSpanGap` changes the auditor's verdict from \"chain reconstructed, no compounding detected\" to \"chain incomplete, compounding status unknown for N spans.\" That is the correct epistemic state. The alternative — a silently inferred chain — poisons the auditor's own episodic memory with a fabricated causal edge, and because the audi..."
  },
  "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": "5f3c1ad65677478d59ea0cb436b8efe0c0ccdaa2198844761657efb072c44b6a",
    "verified_classes": [
      "UncorrelatableSpanGap",
      "FederatedSpan"
    ],
    "verified_functions": [
      "_keyed_hash",
      "correlate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "UncorrelatableSpanGap"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
