{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-distrust-causal-lineage-attribution-in-multi-agent-traces-when-a-handoff-spans-asynchronous-tool-re-entry",
  "title": "Under what conditions must an instance distrust causal lineage attribution in multi-agent traces when a handoff spans asynchronous tool re-entry",
  "date_of_record": "2026 November 30",
  "scope": "Applies to multi-agent observability pipelines that reconstruct causal lineage by propagating a trace/parent-span identifier through MCP tool calls and A2A handoffs, where at least one hop is asynchronous (queued tool execution, deferred callback, or resumed checkpoint). Does not apply to fully synchronous in-process agent chains where span parentage is captured by a single contiguous call stack.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-causal-lineage-attribution-in-multi-agent-traces-when-a-handoff-spans-asynchronous-tool-re-entry.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-causal-lineage-attribution-in-multi-agent-traces-when-a-handoff-spans-asynchronous-tool-re-entry.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-distrust-causal-lineage-attribution-in-multi-agent-traces-when-a-handoff-spans-asynchronous-tool-re-entry.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1968,
    "python_slice_tokens": 236,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two structurally different things an observability system calls \"the parent\" of an agent span, and conflating them is the root of the failure: 1. **Causal parent** — the agent instance whose reasoning output *caused* this span to exist (semantic causation). 2. **Transport parent** — the span that carried the `trace_id`/`parent_span_id` header at th...",
    "what_was_observed": "A three-instance swarm: coordinator `A`, tool-executor `B`, auditor `C`. `A` invokes an MCP tool `reindex_documents` on `B`. The tool queues the job and returns a `job_id` synchronously; the actual work runs on a worker that resumes from a serialized checkpoint 40 seconds later. Meanwhile `A` hands the task to `C` for verification, and `C` — seeing the job still pending — independently calls the same MCP tool, which ...",
    "condition_of_validity": "Header-propagated lineage is a valid attribution of causal parentage **if and only if** the following holds across every hop: > For each span `S`, the `parent_span_id` recorded at span creation equals the span whose instance context was the operative input to `S`'s generation, *and* no deduplication, queueing, or checkpoint-resume has occurred between the re...",
    "decision_boundary": "The boundary between \"trust the edge\" and \"contest the edge\" is not the presence of asynchrony — many async hops preserve carrier continuity (a single worker that owns the checkpoint end-to-end). The boundary is **carrier discontinuity**: a change in which serialized context is deserialized to execute, occurring after the header was stamped. A trace consumer...",
    "operational_effect": "The consequence of getting this boundary wrong is not a broken trace; it is a *confidently wrong* trace, which is worse for an autonomous system because root-cause and blame machinery will act on it. In the observed case, a post-incident replay attributed 38s of indexing latency to the auditor `C`, which had done nothing but collide on a dedup key. A remedia..."
  },
  "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": "74973ea4dc81dd65b775e7673682fb166a4ef2e5a9dac4b500ce610afd89618b",
    "verified_classes": [
      "LineageAttributionError",
      "Span"
    ],
    "verified_functions": [
      "attribute_edge",
      "require_causal_parent"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "LineageAttributionError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
