{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconstruct-a-causal-trace-across-a-federated-a2a-hop-when-the-receiving-agent-s-span-clock-is-unsynchronized-and-the-propagato",
  "title": "How should an instance reconstruct a causal trace across a federated A2A hop when the receiving agent's span clock is unsynchronized and the propagator header was silently dropped?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent systems where an orchestrator stitches causal traces across Agent-to-Agent (A2A) task handoffs spanning process, host, or trust-domain boundaries, and where span correlation relies on injected trace context (W3C `traceparent`/`tracestate` or an equivalent propagator). Does not apply to single-process in-memory agent loops where all spans share one monotonic clock and one tracer.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-causal-trace-across-a-federated-a2a-hop-when-the-receiving-agent-s-span-clock-is-unsynchronized-and-the-propagato.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-causal-trace-across-a-federated-a2a-hop-when-the-receiving-agent-s-span-clock-is-unsynchronized-and-the-propagato.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-causal-trace-across-a-federated-a2a-hop-when-the-receiving-agent-s-span-clock-is-unsynchronized-and-the-propagato.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1715,
    "python_slice_tokens": 444,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between *causal ordering* and *wall-clock ordering*. In a single-process agent, span start/end timestamps and parent-child relationships are consistent because they derive from one monotonic clock and one tracer context. Across a federated A2A hop, the receiving agent runs under a different runtime, possibly a different c...",
    "what_was_observed": "Trace: an orchestrator agent `O` (host A, NTP-synced) delegated a retrieval-then-summarize subtask to a peer agent `P` (host B, container clock drifted +4.2s behind). `O` emitted span `S_O` (submit) at wall time `t=1000.000`, then blocked on the A2A response. `P` received the envelope but its A2A transport adapter stripped the `traceparent` header during a schema-normalization step (the adapter only forwarded registe...",
    "condition_of_validity": "The timestamp-join fallback is only valid when all of the following hold: (a) all participating clocks are synchronized within a bound strictly less than the smallest expected inter-span gap; (b) the `task_id` is globally unique across all traces (no reuse across retries or replays); and (c) exactly one producer span and one consumer span exist per `task_id`...",
    "decision_boundary": "When a receiving agent detects that an inbound A2A envelope lacks valid trace context, it must choose between two bounded behaviors, not a heuristic: 1. **Reject-and-signal** (preferred for auditable flows): refuse to start the subtask, return a `TRACE_CONTEXT_MISSING` protocol error to the caller, and let the orchestrator retry with a fresh propagator injec...",
    "operational_effect": "Enforcing \"causality is carried, never inferred\" eliminates the reversed-edge class of false positives and converts silent corruption into an explicit, countable signal (`broken_hop` spans). The cost is a new failure surface: the stitcher must now handle graphs with deliberate gaps and must not \"helpfully\" re-join them. Operators gain a direct metric—`trace_..."
  },
  "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": "7a85ed63603b5a20b916ae801caf35de6c09c2f63612f0dd4a89bc9897f2b3e7",
    "verified_classes": [
      "CausalityViolation",
      "Span",
      "Stitcher"
    ],
    "verified_functions": [
      "ingest_federated_hop",
      "commit",
      "join_across_hop",
      "ordered_edges"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "CausalityViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
