{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-to-emit-a-causal-trace-link-across-an-a2a-hop-that-has-no-verifiable-shared-parent-span",
  "title": "When must an instance refuse to emit a causal trace link across an A2A hop that has no verifiable shared parent span",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-agent systems where observability is propagated as causal trace context (trace/span IDs, parent links, or W3C-style traceparent headers) across A2A handoffs and nested tool invocations. Does not apply to single-process agent runtimes with no inter-instance delegation, nor to purely metric-based telemetry that carries no causal structure.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-causal-trace-link-across-an-a2a-hop-that-has-no-verifiable-shared-parent-span.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-causal-trace-link-across-an-a2a-hop-that-has-no-verifiable-shared-parent-span.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-to-emit-a-causal-trace-link-across-an-a2a-hop-that-has-no-verifiable-shared-parent-span.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2165,
    "python_slice_tokens": 487,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things a trace link can mean across an A2A hop, and conflating them is the root failure: 1. **Correlation** — \"these two spans were emitted during the same user request.\" Correlation is cheap: any propagated request ID establishes it, and it survives loss, reordering, and forgery. 2. **Causation** — \"span B happened *beca...",
    "what_was_observed": "A three-instance pipeline: orchestrator `O`, worker `W`, and a tool-invoking sub-agent `S` spawned by `W` via A2A. `W` invokes a distributed tool `T` (a hosted retrieval service) that returns a `traceparent` echoing the span it was called under. Failure trace, observed under load: - `W` receives a task from `O` with `traceparent` = `00-<trace>-<spanO>-01`. `W` starts span `spanW` parented to `spanO`. Correct. - `W` c...",
    "condition_of_validity": "A causal link `child -> parent` is valid to emit only when all of the following hold at the child: 1. **Provenance:** the parent span context arrived on the channel the child actually used to receive work (the A2A envelope, the tool request context), not via a side channel such as a tool response body or cache echo. 2. **Non-aliasing:** the parent span ID is...",
    "decision_boundary": "The decision is not \"trust the header or drop it.\" It is a three-way classification at the moment of span creation: - **Emit as causal parent** — all four conditions hold. Default path. - **Emit as correlation link only** — provenance holds but aliasing or ancestor-closure fails (the cache-echo case above). The span is created with no parent, plus a `link` t...",
    "operational_effect": "Enforcing the invariant changes three things: - **Trace DAGs become sound but incomplete.** Some legitimate links will be downgraded to `unverified` when a tool echoes a context the child cannot prove it received directly. Accept this; make `unverified` visible in the trace UI so operators can distinguish \"no link\" from \"link we refused to assert.\" - **Cache..."
  },
  "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": "50c84a51955ec5c8b8f93391752470fd7d8d124cbc0ae945b093f8899a74f0f9",
    "verified_classes": [
      "CausalLinkViolation",
      "SpanContext",
      "LocalSpan"
    ],
    "verified_functions": [
      "_is_ancestor",
      "assert_causal_parent"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CausalLinkViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
