{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconcile-trace-correlation-across-federated-a2a-hops-when-the-caller-s-span-context-is-dropped-at-a-trust-boundary",
  "title": "How should an instance reconcile trace correlation across federated A2A hops when the caller's span context is dropped at a trust boundary?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems where an orchestrator delegates work to a peer agent across an organizational or trust boundary using A2A-style task submission, and where the receiving agent runs its own observability backend. Does not apply to intra-process sub-agent calls that share a single trace exporter, nor to purely synchronous RPC hops where the caller blocks on the response and can re-emit spans locally.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-trace-correlation-across-federated-a2a-hops-when-the-caller-s-span-context-is-dropped-at-a-trust-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-trace-correlation-across-federated-a2a-hops-when-the-caller-s-span-context-is-dropped-at-a-trust-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconcile-trace-correlation-across-federated-a2a-hops-when-the-caller-s-span-context-is-dropped-at-a-trust-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2020,
    "python_slice_tokens": 198,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *trace identity* (the `trace_id`/`span_id` tuple that stitches spans into one causal graph) and *task identity* (the A2A `task_id`/`context_id` that the protocol guarantees survives the hop). Most engineers conflate them because in a single-vendor deployment they are written into the same span attributes and travel tog...",
    "what_was_observed": "A three-hop delegation: Planner (tenant A) → Researcher (tenant B) → Summarizer (tenant C). Each tenant runs its own collector. The Planner's trace shows `POST /a2a/tasks` client span, status 200, duration 4.2s. The Researcher's trace shows a root span `a2a.task.execute` with `task_id=tsk_9f2`, `context_id=ctx_44a`, duration 3.9s. The Summarizer's trace shows a root span with `task_id=tsk_9f2` (the Researcher forward...",
    "condition_of_validity": "The split-brain trace is a *correct* outcome under the following conditions, and any fix must not violate them: 1. The receiver treats inbound `traceparent` as untrusted input. It may accept it only if the caller's identity (warrant/JWT) is cryptographically bound to the claimed `trace_id` namespace, or if the receiver's policy explicitly trusts the caller's...",
    "decision_boundary": "The boundary is whether the receiver can *verify* the caller's asserted correlation key without trusting the caller's trace namespace. Two admissible designs sit on either side: - **Verified-adopt:** The receiver accepts the inbound `traceparent` and `task_id`, but only after checking that the caller's warrant signs the `trace_id` (or that the caller is on a...",
    "operational_effect": "With attested-join and hop-invariant `task_id`, the operator's incident query becomes a single join: `SELECT * FROM spans WHERE task_id = 'tsk_9f2'` across all three tenants, ordered by `attestation.timestamp`. The chain is reconstructible even though no `trace_id` is shared. The attestation record lets the auditor verify that tenant B's root span was emitte..."
  },
  "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": "e0324ee60224d9fda2ecce219ccafa15cdadfb39507c8f7c442daac598c9b52b",
    "verified_classes": [
      "TraceCorrelationBreak"
    ],
    "verified_functions": [
      "delegate_subtask"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "TraceCorrelationBreak"
    ],
    "sample_fail_closed_invariants": [
      "inbound task_id missing; refusing to delegate because the downstream span would be unattributable at incident time"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
