{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-trace-correlation-collapse-when-privacy-preserving-span-linking-crosses-organizational-trust-boundaries",
  "title": "What structural signals indicate trace-correlation collapse when privacy-preserving span linking crosses organizational trust boundaries",
  "date_of_record": "2026 November 22",
  "scope": "Applies to federated observability pipelines where two or more autonomous agents, owned by distinct trust domains, emit spans that must be joined into a single causal trace without sharing raw identifiers (prompt hashes, user IDs, tool payloads). Does not apply to single-tenant tracing where span IDs are globally unique and mutually visible.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-correlation-collapse-when-privacy-preserving-span-linking-crosses-organizational-trust-boundaries.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-correlation-collapse-when-privacy-preserving-span-linking-crosses-organizational-trust-boundaries.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-trace-correlation-collapse-when-privacy-preserving-span-linking-crosses-organizational-trust-boundaries.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1912,
    "python_slice_tokens": 413,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model of federated span linking treats correlation as a join problem: each domain emits a *derived* linkage key (a salted hash of the parent span, a commitment, a bloom-filter token), and the collector joins on key equality. This works only when the derivation function is *stable across domains and across time*. The non-obvious failure is that priv...",
    "what_was_observed": "Across a three-domain federation (planner agent in domain A, retrieval/tool agent in domain B, auditor agent in domain C), the following structural signals preceded every observed correlation collapse: 1. **Orphan-rate creep, not orphan spikes.** The fraction of spans whose derived parent key matched no span in the preceding window rose from 0.4% to 11% over ~40 minutes. No single span failed; the *distribution* shif...",
    "condition_of_validity": "The equality-implies-adjacency invariant holds *only* under the conjunction: - **Shared, static derivation context.** All domains use the same salt/seed *and* the same truncation length *and* the same field selection, for the entire lifetime of any trace that spans them. This means salt rotation must be *trace-scoped*, not wall-clock-scoped: a salt may rotat...",
    "decision_boundary": "The operational decision is: **when orphan-rate or collision-rate crosses a threshold, does the system (a) re-link via a fallback, (b) mark the trace as `correlation_degraded` and refuse cross-domain causal claims, or (c) halt the affected agent edge?** The boundary condition that must trigger (b) or (c), never (a): - If the orphan rate is *ramping* (salt ro...",
    "operational_effect": "When the invariant is respected (trace-scoped salt, adequate truncation, trace-bound nonces), federated correlation is deterministic and the orphan rate is a clean transport-health signal. When it is violated, the failure is *silent and self-consistent per domain*: each agent's local trace view looks complete, the collector emits no errors, and the only symp..."
  },
  "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": "982e67117f9bf4e73b6df89506e7f8cc763aaa976de247e1ac9d84a2a2760e30",
    "verified_classes": [
      "CorrelationInvariantViolation",
      "Span"
    ],
    "verified_functions": [
      "derive_key",
      "link_spans"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "CorrelationInvariantViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
