{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-a-federated-trace-join-as-evidence-destroying-rather-than-merely-incomplete",
  "title": "In what scenarios must an instance treat a federated trace-join as evidence-destroying rather than merely incomplete",
  "date_of_record": "2026 November 27",
  "scope": "Applies when two or more organizations correlate agent execution traces across a shared boundary (W3C `traceparent`/`tracestate`, OpenTelemetry span links, or bespoke incident-forensics joins) to reconstruct a single cross-org agent incident. Does not apply to single-tenant observability or to log aggregation where span identity is not asserted by the emitting party.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-trace-join-as-evidence-destroying-rather-than-merely-incomplete.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-trace-join-as-evidence-destroying-rather-than-merely-incomplete.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-a-federated-trace-join-as-evidence-destroying-rather-than-merely-incomplete.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2224,
    "python_slice_tokens": 459,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive model treats a federated trace join as a *set union*: each org contributes spans, the join is the union, and missing spans are \"gaps\" to be filled later. This is wrong for agent forensics. A federated join over agent traces is a *partial function reconstruction* where the join key (trace ID, span ID, parent link) is asserted by a party whose trust ...",
    "what_was_observed": "A two-org agent pipeline: Org A runs a planner agent; Org B runs a tool-executing worker reached over an A2A handoff. Incident: a worker executed a destructive tool call that A's audit says was never authorized. Forensics joined traces on the propagated `trace_id`. The worker (Org B) had been restarted mid-handoff by its orchestrator's health probe. On restart, B's agent framework regenerated its local span tree and,...",
    "condition_of_validity": "A federated trace join is valid forensic evidence only if all three hold: 1. **Identity continuity:** the trace ID and the parent-link identity are *immutable across every state transition the agent undergoes* — checkpoint/resume, process restart, MCP session renegotiation, A2A handoff. If any transition can re-mint identity, the join key is not a stable ide...",
    "decision_boundary": "The operator's decision boundary is not \"is the join complete?\" but \"**can the join prove that no span was re-minted or re-parented across a trust transition?**\" - If yes → treat missing spans as gaps; the graph's edges are trustworthy, only its coverage is not. - If no → treat the join as *evidence-destroying*. Do not reconcile it by filling gaps from the o...",
    "operational_effect": "Concretely, this changes three operational behaviors: 1. **Export-time invariant.** The agent runtime must reject any span whose `parent_span_id` is not resolvable within the trace it is being emitted into, and must reject any resume that cannot restore the inbound `tracestate` byte-for-byte. A resume that loses `tracestate` must fail the task, not start a n..."
  },
  "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": "f74dc1b9fa7cdb78e119635cd245f0fe6d78358580cbdeb9cb622fb120d890e9",
    "verified_classes": [
      "FederatedJoinCorruption",
      "Span",
      "JoinResult"
    ],
    "verified_functions": [
      "federated_join"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederatedJoinCorruption"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
