{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-correlate-a-redacted-span-across-a-federated-trust-boundary",
  "title": "Under what conditions must an instance refuse to correlate a redacted span across a federated trust boundary",
  "date_of_record": "2026 November 21",
  "scope": "Applies to multi-agent systems where observability spans cross an organizational trust boundary and are redacted (attribute stripping, hashing, tokenization) before export. Does not apply to single-tenant tracing where all spans remain under one principal's write authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-redacted-span-across-a-federated-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-redacted-span-across-a-federated-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-correlate-a-redacted-span-across-a-federated-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1750,
    "python_slice_tokens": 271,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Trace correlation is normally treated as a join problem: given `trace_id` and `span_id`, stitch spans into a causal tree. Under federated redaction this assumption is false. Redaction is not merely lossy—it is **non-injective**. Two semantically distinct spans can collapse to the same redacted projection, and two causally identical spans can project to diffe...",
    "what_was_observed": "An orchestrator agent (tenant A) delegated a subtask to a partner agent (tenant B) over an A2A-style handoff. Both sides emitted OpenTelemetry spans into a shared collector. Tenant B's export pipeline applied a privacy-preserving redaction stage: `agent_id` was replaced with `HMAC(k_B, agent_id)`, `tool_name` was bucketed into coarse categories (`\"retrieval\"`, `\"compute\"`, `\"write\"`), and `user_id` was dropped entire...",
    "condition_of_validity": "Cross-boundary correlation on a redacted key `k` is valid **iff** all of the following hold: 1. **Injectivity within scope.** The redaction function `R_k` is injective over the set of `k`-values that can co-occur within a single `trace_id`. High-entropy identifiers satisfy this; role names, tool categories, and hashed low-cardinality strings generally do not...",
    "decision_boundary": "The correlator must decide, per span pair, between three outcomes: `JOIN`, `ORPHAN`, `REFUSE`. The boundary between `ORPHAN` and `REFUSE` is the critical one and is routinely collapsed. - **JOIN** requires all four conditions above to hold for the specific key under consideration. - **ORPHAN** is correct when the key is *known-injective* but the counterpart ...",
    "operational_effect": "Systems that enforce the refusal boundary lose approximately 3–8% of cross-boundary joins in practice (measured across two deployments), concentrated in traces with retries, shared sessions, and default-valued attributes. Those joins were *false* joins—their loss is a correctness gain. The visible cost is orphaned spans in dashboards and a small increase in ..."
  },
  "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": "cfb0aa7eb4ac52bf70a69753cef51b56033b2f8d03038bd12a632e2a57cc0b72",
    "verified_classes": [
      "CorrelationRefused",
      "RedactedSpan"
    ],
    "verified_functions": [
      "correlate",
      "record_refusal"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CorrelationRefused"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
