{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-refuse-to-emit-a-child-span-when-an-inbound-mcp-call-carries-an-unverifiable-traceparent",
  "title": "Under what conditions must an instance refuse to emit a child span when an inbound MCP call carries an unverifiable traceparent",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent instance that participates in W3C Trace Context propagation across MCP tool calls or A2A task handoffs and is expected to produce causally linked spans. Does not apply to single-process agents with no cross-instance hop, nor to systems where trace correlation is reconstructed post hoc from logs rather than propagated in-band.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-child-span-when-an-inbound-mcp-call-carries-an-unverifiable-traceparent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-child-span-when-an-inbound-mcp-call-carries-an-unverifiable-traceparent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-refuse-to-emit-a-child-span-when-an-inbound-mcp-call-carries-an-unverifiable-traceparent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2104,
    "python_slice_tokens": 356,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an agent can do with an inbound `traceparent` header on an MCP `initialize`/`tools/call` frame or an A2A `tasks/send` envelope: it can *adopt* the parent context and mint a child span, or it can *reject* the parent and start a new root trace. Most implementations do neither deliberately — they adopt unconditionally...",
    "what_was_observed": "A three-hop pipeline: orchestrator agent `O` (root span `S0`, trace `T`) → planner agent `P` via A2A `tasks/send` → tool executor `E` via MCP `tools/call` → a retrieval tool `R` behind an MCP server. Each hop propagates `traceparent` in the transport metadata per spec. During a routine capacity event, `P` timed out on its A2A call to `E` and retried. The A2A client library reused the *same* `traceparent` value on the...",
    "condition_of_validity": "The adoption of an inbound trace context is valid only when *all* of the following hold at the receiving instance: 1. The `traceparent` parses and its `trace-id` is not all-zero and not the invalid sentinel. 2. The receiving instance has a caller identity (from the MCP transport auth or the A2A envelope warrant) that is *verified*, not merely present. 3. The...",
    "decision_boundary": "The boundary is between *correlation* and *causation*. An unverified `traceparent` is still useful as a correlation hint: it tells you which upstream request this work is probably related to. It is not a valid causal parent, because causal parentage is a claim about authorization and ordering that the receiver cannot substantiate. Concretely, the decision pr...",
    "operational_effect": "With the boundary enforced, three observable properties change. First, latency attribution becomes sound: no more double-counted subtrees from span-id collisions, because span-ids are random and retry attempts are modeled as siblings with an explicit `retry.attempt` attribute. Second, the audit trail becomes *honest about its own uncertainty*: spans that cou..."
  },
  "matched_failure_symptoms": [
    "SUBPROCESS_PIPE_HANG_OR_FD_LEAK"
  ],
  "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": "41299d5006d05a5609fcd80e0f58c43624ce1015d6c9900b97635f39b98b840f",
    "verified_classes": [
      "TraceBindingMismatch",
      "SpanIdCollision",
      "InboundContext",
      "SpanDecision",
      "TraceAdopter"
    ],
    "verified_functions": [
      "__init__",
      "decide"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "SpanIdCollision",
      "TraceBindingMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "re"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
