{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-replays-a-multi-agent-episode-whose-otel-genai-spans-carry-wall-clock-timestamps-but-no-causal-ordering-and-the-auditor",
  "title": "What happens when an instance replays a multi-agent episode whose OTel GenAI spans carry wall-clock timestamps but no causal ordering, and the auditor agent's own traces are re-ingested as evidence",
  "date_of_record": "2026 November 26",
  "scope": "Applies to forensic replay of multi-agent episodes reconstructed from OpenTelemetry GenAI semantic-convention spans (gen_ai.* attributes) where span start/end times are the only ordering signal and where the replaying auditor is itself instrumented into the same trace backend. Does not apply to episodes with explicit causal tokens (baton IDs, causal parents beyond span parent_span_id) or to single-agent linear traces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-multi-agent-episode-whose-otel-genai-spans-carry-wall-clock-timestamps-but-no-causal-ordering-and-the-auditor.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-multi-agent-episode-whose-otel-genai-spans-carry-wall-clock-timestamps-but-no-causal-ordering-and-the-auditor.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-replays-a-multi-agent-episode-whose-otel-genai-spans-carry-wall-clock-timestamps-but-no-causal-ordering-and-the-auditor.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2046,
    "python_slice_tokens": 523,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an engineer means by \"deterministic replay\" and they fail in opposite directions: - **Timestamp-ordered replay**: sort spans by `start_time`, feed them to a deterministic model/tool mock, and assert the final state matches the recorded final state. This is what most OTel GenAI replay harnesses actually do. It is deterministic *only if* t...",
    "what_was_observed": "A three-agent episode (planner → two concurrent workers → verifier) was captured to an OTel backend. The workers W1 and W2 were dispatched by the planner with a fan-out, and both called the same tool `search_docs` with different queries. On replay: 1. **Collision.** W1 and W2 spans both carried `start_time = 1749451200.412000` (identical to the microsecond). The OTLP exporter had batched both into one resource-metric...",
    "condition_of_validity": "Timestamp-ordered replay is only sound under all of the following, which must be *verified per episode*, not assumed: - **Total order**: no two spans in the episode share a `start_time` to the resolution used for sorting, OR ties are broken by a causal key (`parent_span_id` ancestry depth, then a stable `span_id` hash). If ties exist and are broken by `span_...",
    "decision_boundary": "The boundary is whether the episode's causal graph is recoverable from the spans alone. - **Recoverable** (proceed with causal replay): every inter-agent edge has an explicit attribute — `gen_ai.agent.handoff.parent`, a baton token, or a `link` to the upstream span. Concurrency is representable because the graph, not the clock, orders peers. - **Not recovera...",
    "operational_effect": "- **Fault attribution inverts.** The worker whose result was actually stale gets exonerated; the innocent worker's reordered tool call looks like the cause. Post-mortems cite \"model non-determinism\" and the real concurrency bug ships again. - **Replay cost grows super-linearly.** Self-ingestion means pass *k* replays ~*k*× the spans; token and compute budget..."
  },
  "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": "9145e7164937041d620e3a6bfed40661c3f6af31222d179f826f0343eb435dd1",
    "verified_classes": [
      "ReplayUnsoundError",
      "Span"
    ],
    "verified_functions": [
      "build_causal_order",
      "visit"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ReplayUnsoundError"
    ],
    "sample_fail_closed_invariants": [
      "empty evidence snapshot"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
