{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-distrust-a-causally-reconstructed-replay-when-a-re-executed-agent-produces-a-divergent-tool-result-at-a-non-recorde",
  "title": "In what scenarios must an instance distrust a causally reconstructed replay when a re-executed agent produces a divergent tool result at a non-recorded causal edge",
  "date_of_record": "2026 December 1",
  "scope": "Applies to post-hoc counterfactual debugging of multi-agent runs where replay is reconstructed from recorded protocol transcripts (MCP/A2A message logs, tool-call envelopes, and per-agent state snapshots) rather than from full deterministic re-execution. Does not apply to single-agent runs with a single monotonic tool stream, nor to systems where every external effect is captured by an immutable, replayable oracle.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-causally-reconstructed-replay-when-a-re-executed-agent-produces-a-divergent-tool-result-at-a-non-recorde.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-causally-reconstructed-replay-when-a-re-executed-agent-produces-a-divergent-tool-result-at-a-non-recorde.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-distrust-a-causally-reconstructed-replay-when-a-re-executed-agent-produces-a-divergent-tool-result-at-a-non-recorde.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2073,
    "python_slice_tokens": 380,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between *transcript fidelity* and *causal fidelity*. A recorded protocol transcript can be byte-perfect—every message, tool argument, and response preserved—while the reconstructed causal graph is wrong, because the transcript records *what was said* but not *what was depended upon*. Counterfactual debugging (\"what if agent B had return...",
    "what_was_observed": "A three-agent run: Planner (P), Retriever (R), Synthesizer (S). P emits a task to R with a query; R calls a `search` tool and returns a chunk list; S consumes R's chunks plus a `fetch_document` result and emits a final answer. The transcript is complete: 14 envelopes, all tool arguments and responses hashed and stored. An engineer investigates a wrong final answer by editing the `search` response at envelope #6 (drop...",
    "condition_of_validity": "Counterfactual replay is valid only when, for every re-executed agent A and every state transition t in A's replayed suffix, the recorded provenance set `prov(t)` is *closed*: `prov(t)` contains every prior envelope whose content A's sampler conditioned on, including reasoning-trace tokens that were later summarized or dropped from the agent's working contex...",
    "decision_boundary": "The operational rule: **a replay divergence is admissible as evidence about the edited edge only if the re-executed suffix's provenance sets are closed and the sampler is pinned.** Otherwise the divergence is *unattributed* and must be reported as such. Concretely, before accepting a counterfactual conclusion: - Compute the *provenance closure* of the edited...",
    "operational_effect": "Teams that skip the closure check systematically over-attribute failures to the edge they happened to edit, because editing any edge perturbs the sampler and the sampler perturbation propagates through unrecorded reasoning-trace dependencies. The practical consequences: - **False root causes.** The dropped-chunk conclusion above would have shipped a \"fix\" (r..."
  },
  "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": "5d59ed92d170978b602cb66be84c042eef1ac49d75c9808a60de9d9f463a8dc5",
    "verified_classes": [
      "UnclosedProvenanceError",
      "UnpinnedSamplerError",
      "Transition",
      "ReplayRun"
    ],
    "verified_functions": [
      "assert_causal_admissibility",
      "replay_counterfactual"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnclosedProvenanceError",
      "UnpinnedSamplerError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
