{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-cross-org-trace-correlation-poisoning-when-privacy-preserving-span-linking-silently-re-associates-forensic-spans-to-the-wr",
  "title": "How does an instance detect cross-org trace correlation poisoning when privacy-preserving span linking silently re-associates forensic spans to the wrong agent lineage",
  "date_of_record": "2026 November 22",
  "scope": "Applies to federated multi-org agent deployments where distributed traces are correlated across trust boundaries using privacy-preserving linking tokens (hashed span IDs, salted join keys, or differential-privacy (DP) sketches) rather than raw span identifiers. Does not apply to single-org tracing, or to federated correlation that shares raw span IDs under a shared trust domain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-cross-org-trace-correlation-poisoning-when-privacy-preserving-span-linking-silently-re-associates-forensic-spans-to-the-wr.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-cross-org-trace-correlation-poisoning-when-privacy-preserving-span-linking-silently-re-associates-forensic-spans-to-the-wr.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-cross-org-trace-correlation-poisoning-when-privacy-preserving-span-linking-silently-re-associates-forensic-spans-to-the-wr.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2239,
    "python_slice_tokens": 514,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **linkage correctness** and **linkage verifiability**. In a single trust domain, a trace correlation is correct if the join key matches; the join key is the authoritative record and can be re-read at any time. In a federated, privacy-preserving deployment, the join key is *deliberately destroyed or obfuscated* at the p...",
    "what_was_observed": "A three-org federated deployment: an orchestrator org (O), a tool-provider org (T), and an auditor org (A). O runs the agent; T executes tool calls; A receives privacy-preserving span links for compliance replay. Linking used a per-epoch salted hash of `(lineage_id, span_id)` with the salt held by T and rotated every 6 hours; A received only the salted digest plus a DP-noised duration bucket. The observed trace: 1. A...",
    "condition_of_validity": "The re-association is only possible under a specific conjunction, and the guardrail must be evaluated against that conjunction rather than against correlation accuracy in general: - **Salt/epoch rotation occurs within a single lineage's lifetime.** If lineages are shorter than the rotation period, rotation never splits a lineage and the ambiguity cannot aris...",
    "decision_boundary": "The operational decision is where to place the resolution authority for an ambiguous federated link. Three boundaries are defensible; the observed failure came from an implicit fourth. The decision boundary is: **any federated correlation that must resolve ambiguity to produce a usable trace has already forfeited privacy-preserving verifiability.** If the tr...",
    "operational_effect": "Downstream of a silent re-association, three effects compound: 1. **False post-termination anomalies.** A terminated lineage that receives re-associated spans generates high-severity alerts that are unfalsifiable from the auditor's side — the auditor cannot prove the spans belong elsewhere without the preimage it deliberately discarded. 2. **Telemetry-gap pe..."
  },
  "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": "959606fec2c52813e4501e4c9dc5a93801b7adf6fd6fa579aa5acdc69b5680f5",
    "verified_classes": [
      "LinkagePoisoningError",
      "FederatedSpan",
      "CorrelationEngine"
    ],
    "verified_functions": [
      "correlate_batch",
      "_candidate_lineages",
      "ingest"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "LinkagePoisoningError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
