{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-reconstruct-a-false-causal-order-when-replaying-a-multi-agent-conversation-from-per-agent-logs",
  "title": "Why does an instance reconstruct a false causal order when replaying a multi-agent conversation from per-agent logs?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to post-incident forensic replay of multi-agent conversations where each agent persists its own local event log and a central collector stitches them together by wall-clock timestamp. Does not apply to systems using a single serialized transcript bus or a vector-clock-native event store.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-reconstruct-a-false-causal-order-when-replaying-a-multi-agent-conversation-from-per-agent-logs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reconstruct-a-false-causal-order-when-replaying-a-multi-agent-conversation-from-per-agent-logs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-reconstruct-a-false-causal-order-when-replaying-a-multi-agent-conversation-from-per-agent-logs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1486,
    "python_slice_tokens": 324,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not log loss, clock skew, or missing messages. It is a *merge-order* defect: the forensic replayer treats per-agent wall-clock timestamps as a total order over causally related events, but multi-agent message passing introduces a happens-before relation that wall-clock time does not preserve. An agent that receives a message and acts on it may...",
    "what_was_observed": "A three-agent incident (planner P, executor E, auditor A) was replayed to determine why E executed a destructive tool call that A had flagged as unsafe. The per-agent logs: - **P** logged `dispatch(task=T7, to=E)` at `12:04:31.118` (flush after RPC returned). - **E** logged `recv(task=T7)` at `12:04:31.094` (handle entry) and `invoke(tool=delete, args=...)` at `12:04:31.207`. - **A** logged `flag(task=T7, unsafe=true...",
    "condition_of_validity": "The reconstruction is only sound when, for every pair of events `(e_send, e_recv)` connected by a message, `ts(e_send) < ts(e_recv)` under the merge clock, *and* the merge clock is monotonic across the RPC boundary. Neither holds in practice: 1. **Asymmetric timestamp placement.** Senders stamp at flush; receivers stamp at entry. The interval between entry a...",
    "decision_boundary": "The replayer must decide, per event pair, whether the timestamp order is *trustworthy* or *causally contradicted*. The boundary: - If `ts(e1) < ts(e2)` **and** no message edge connects them: accept timestamp order (they are concurrent; order is arbitrary but harmless). - If `ts(e1) < ts(e2)` **and** a message edge `e1 → e2` exists: accept **only if** the edg...",
    "operational_effect": "Without the guardrail, forensic replays systematically manufacture \"ignored warning\" and \"poisoned-before-receipt\" findings, because the inversion always makes the receiver look like it acted *after* receiving information it had not yet received. This biases root-cause analysis toward agent-misbehavior conclusions and away from the actual cause (queueing, ba..."
  },
  "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": "41ac2c0eb011aa9c305ab37a6695749fd5ec9768fc620a37e6aaf81051872a04",
    "verified_classes": [
      "CausalOrderViolation",
      "Event"
    ],
    "verified_functions": [
      "reconstruct_order"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "CausalOrderViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
