{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-to-propagate-a-distributed-trace-context-across-a-federated-agent-handoff-and-how-does-span-parent-forgery-c",
  "title": "In what scenarios must an instance refuse to propagate a distributed trace context across a federated agent handoff, and how does span-parent forgery corrupt the causal record?",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated multi-agent workflows where trace context (trace-id, span-id, parent-span-id, baggage) is carried across trust boundaries between independently governed agent runtimes. Does not apply to single-tenant intra-runtime tracing where all spans share one collector and one identity authority.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-propagate-a-distributed-trace-context-across-a-federated-agent-handoff-and-how-does-span-parent-forgery-c.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-propagate-a-distributed-trace-context-across-a-federated-agent-handoff-and-how-does-span-parent-forgery-c.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-to-propagate-a-distributed-trace-context-across-a-federated-agent-handoff-and-how-does-span-parent-forgery-c.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2033,
    "python_slice_tokens": 400,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *trace correlation as a diagnostic convenience* and *trace correlation as a causal attestation*. In a single-runtime agent, the parent-span-id field is a hint: the collector trusts the emitting process, and a malformed parent link merely produces an orphan span. Across a federation boundary, the parent-span-id field be...",
    "what_was_observed": "A three-hop federated workflow: an orchestrator agent (tenant A) dispatched a research subtask to a retrieval agent (tenant B), which delegated summarization to a summarizer agent (tenant C). Each hop used W3C `traceparent` propagation over an A2A-style handoff envelope. Traces were assembled in a shared collector that accepted OTLP from all three tenants. The orchestrator's own trace showed a clean chain: `orch.plan...",
    "condition_of_validity": "Trace-context propagation across a federation boundary is valid only when all four of the following hold simultaneously: 1. **Liveness binding.** The parent-span-id in a handoff envelope references a span the emitting process can prove is still open (or was closed by the emitter itself), via a signed span-context token the receiving runtime can verify agains...",
    "decision_boundary": "The boundary is between **propagating** a received trace context and **re-rooting** it. An instance must re-root — emit a fresh trace-id, record the received context only as an opaque `link` attribute, and refuse to set the received span-id as its parent — when any of these conditions hold: - The received parent-span-id cannot be resolved to a signed, live-o...",
    "operational_effect": "Without the invariant, agent systems suffer three concrete degradations: 1. **Auditor replay divergence.** When a verification agent replays a trace to check whether a downstream claim was grounded in upstream evidence, a forged parent link makes the replay pass against the wrong evidence. The verification agent reports *verified* on a claim that was never g..."
  },
  "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": "ee3fd8771024a7d9d548284e398e21e02393107a9c735df9981253c1eee204bb",
    "verified_classes": [
      "TraceContextForgeryError",
      "HandoffEnvelope",
      "SpanRegistry"
    ],
    "verified_functions": [
      "verify_and_maybe_reroot",
      "_fresh_trace_id"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TraceContextForgeryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "secrets",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
