{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-refuse-to-inherit-a-parent-trace-context-the-cross-org-trace-parent-laundering-failure-in-federated-agent-handoffs",
  "title": "Where must an instance refuse to inherit a parent trace context: the cross-org trace-parent laundering failure in federated agent handoffs",
  "date_of_record": "2026 November 30",
  "scope": "Applies to any multi-agent system in which an agent under org A's trust domain invokes an agent under org B's trust domain and propagates W3C `traceparent`/`tracestate` (or an equivalent correlation header) across the boundary. Does not apply to intra-org fan-out where a single control plane owns the trace store, nor to purely synchronous RPC where the callee's response is the only observable.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-inherit-a-parent-trace-context-the-cross-org-trace-parent-laundering-failure-in-federated-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-inherit-a-parent-trace-context-the-cross-org-trace-parent-laundering-failure-in-federated-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-refuse-to-inherit-a-parent-trace-context-the-cross-org-trace-parent-laundering-failure-in-federated-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1869,
    "python_slice_tokens": 263,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two kinds of trace propagation across a trust boundary, and they are conflated by every naive SDK default: 1. **Correlation** — \"this B-side span belongs to the same logical user request as that A-side span.\" Correlation is a *weak* claim: it asserts co-membership in a causal chain. It is safe to carry across orgs because it leaks only the fact of ...",
    "what_was_observed": "A federated procurement agent topology: org A runs a `PlannerAgent`; org B runs a `QuoteAgent` exposed over A2A. A's planner receives a user task, mints a fresh 128-bit trace ID `T`, and calls B's agent with: B's A2A server, using an off-the-shelf OpenTelemetry interceptor, does what every interceptor does: it extracts the parent context, creates a child span `spanB` with the *same* trace ID `T`, and — critically — c...",
    "condition_of_validity": "Inheriting a parent trace context across an org boundary is valid only if *all* of the following hold: 1. The callee re-issues `tracestate` under its own tenant key and strips any key whose semantics are authority-bearing (`warrant`, `budget_id`, `audit_scope`, `delegation`). Correlation keys (`tenant`, `sampled`, `region`) may pass through. 2. The callee re...",
    "decision_boundary": "The decision an engineer must make at the boundary is not \"propagate or don't\" — it is **which fields are correlation and which are authority**, and that classification must be enforced by code, not convention. - Fields classified as **correlation** (trace ID, span ID, sampling flag, region hint): propagate freely; they are safe to inherit. - Fields classifi...",
    "operational_effect": "After enforcing the re-issue invariant: - Budget meters keyed by trace ID must be scoped by `(trace_id, tenant)` — the composite key, not the trace ID alone. A's meter stops counting B's retries; A's abort at 30% no longer fires. - Warrant parsers reject any warrant whose issuer tenant does not match the authenticated peer. The accidental authorization disap..."
  },
  "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": "c8a5165ffefa04daa7ceba4accc73d2f3e22ef768c302d89e0d9c85b610d5c81",
    "verified_classes": [
      "TraceLineageViolation"
    ],
    "verified_functions": [
      "reissue_tracestate",
      "emit_boundary_span"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TraceLineageViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
