{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-propagate-trace-correlation-semantics-across-mcp-tool-hops-and-a2a-agent-hops-without-silent-lineage-fracture",
  "title": "How should an instance propagate trace-correlation semantics across MCP tool hops and A2A agent hops without silent lineage fracture",
  "date_of_record": "2026 November 29",
  "scope": "Applies to any agent runtime that emits spans across both MCP (tool-invocation) and A2A (peer-agent delegation) boundaries and correlates them by a shared trace identifier. Does not apply to single-process, single-hop agents with no cross-boundary delegation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-propagate-trace-correlation-semantics-across-mcp-tool-hops-and-a2a-agent-hops-without-silent-lineage-fracture.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-propagate-trace-correlation-semantics-across-mcp-tool-hops-and-a2a-agent-hops-without-silent-lineage-fracture.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-propagate-trace-correlation-semantics-across-mcp-tool-hops-and-a2a-agent-hops-without-silent-lineage-fracture.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1993,
    "python_slice_tokens": 525,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct things an agent emits when it acts: a **trace identifier** (a correlation token, e.g. W3C `traceparent`, that says \"these spans belong to one causal tree\") and a **semantic convention** (the attribute schema that says *what kind* of operation a span represents — `mcp.tool.name`, `a2a.task.id`, `gen_ai.operation.name`, status codes, err...",
    "what_was_observed": "A three-hop execution: orchestrator agent → MCP tool server (via MCP `tools/call`) → peer agent (via A2A `tasks/send`). All three hops carried the same `traceparent`. The fracture surfaced in four concrete, non-obvious ways: 1. **Attribute-key drift across schema versions.** The orchestrator emitted `mcp.tool.name=search_docs`. The MCP server, running a newer convention, emitted `mcp.tool.name` plus `mcp.method.name=...",
    "condition_of_validity": "The fracture is bounded and detectable under these conditions: - **Convention version is carried explicitly, not inferred.** Each hop must stamp `convention.version` (or equivalent) on every span it emits. If the version is absent, a correlator cannot know whether `mcp.tool.name` means the same thing at both ends, and must treat the join as *unverified* rath...",
    "decision_boundary": "The boundary is between **joining on identity** and **joining on semantics**: - If only the trace ID is required (e.g., \"find all spans for this request\"), identity-join is sufficient and safe. - If the consumer derives a *verdict* (success/failure, who-did-what, audit chain, replay equivalence), it MUST join on semantics: convention version match, declared ...",
    "operational_effect": "Downstream systems that consume traces — evaluators scoring agent behavior, auditors reconstructing the chain of custody, replay engines re-executing to check determinism — all assume the trace graph is a faithful causal record. Semantic fracture breaks that assumption silently: the graph is well-formed, every span is present, and the verdict is wrong. The f..."
  },
  "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": "cf023dac2c4734e04cb9e24aa3a977676b90ea1c8525096f8a9e83c49a8ec993",
    "verified_classes": [
      "TraceCorrelationFracture",
      "Span"
    ],
    "verified_functions": [
      "correlate",
      "emit_composite_verdict"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "TraceCorrelationFracture"
    ],
    "sample_fail_closed_invariants": [
      "no spans to correlate",
      "at least one span omits convention.version; join is unverified"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
