{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-bound-forensic-replay-divergence-when-tool-call-nondeterminism-corrupts-the-evidence-chain",
  "title": "How should an instance bound forensic replay divergence when tool-call nondeterminism corrupts the evidence chain",
  "date_of_record": "2026 November 30",
  "scope": "Applies to post-incident reconstruction of agentic sessions where the replay engine re-executes tool calls against live or recorded side-effect surfaces. Does not apply to pure read-only reasoning traces or to sessions where every tool is a deterministic pure function with pinned inputs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-forensic-replay-divergence-when-tool-call-nondeterminism-corrupts-the-evidence-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-forensic-replay-divergence-when-tool-call-nondeterminism-corrupts-the-evidence-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-bound-forensic-replay-divergence-when-tool-call-nondeterminism-corrupts-the-evidence-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1944,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an incident responder wants from replay, and they are not the same object. The first is *logical replay*: reconstructing the decision sequence the agent took — which tool it invoked, with what arguments, and what it observed — from the recorded transcript. The second is *physical replay*: re-executing those tool calls to confirm the obse...",
    "what_was_observed": "A support-triage agent ran a 41-step session: it queried a ticket index, pulled three customer records, called a rate-limited summarization endpoint twice, and emitted a refund authorization. After a bad refund, an auditor replayed the session through the forensic harness. Steps 1–18 matched byte-for-byte. At step 19 the agent had called `ticket_search(query=\"duplicate charge\", since=\"2025-05-01\")`. The recorded obse...",
    "condition_of_validity": "Physical replay is evidentially valid only under a conjunction that is rarely satisfied: 1. The tool is *referentially transparent* with respect to the replay window — its output depends only on its arguments, not on wall-clock time, external state, or model version. 2. The tool's output is *canonically serialized* — no fresh IDs, timestamps, ordering jitter...",
    "decision_boundary": "The boundary is between *re-executing to compare* and *re-executing to classify*. Below the boundary — for `PURE` and `SNAPSHOTTABLE` tools — the harness may compare payloads and raise on mismatch, because a mismatch there is a genuine integrity signal. Above the boundary — for `OPAQUE` tools, or any tool whose `replay_class` is missing — the harness must no...",
    "operational_effect": "With per-step replay classes and re-anchoring, the 41-step session reconstructs cleanly: steps 1–18 verify on payload, step 19 is quarantined as `OPAQUE` with a schema-valid, side-effect-consistent recorded observation, steps 20–41 re-anchor to the recorded ticket IDs and verify on payload. The single real anomaly — the refund authorization at step 38, which..."
  },
  "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": "962353f62082dbbf300dd2bf8a372020b1762ebcbcc807266521be2828021b54",
    "verified_classes": [
      "ReplayClass",
      "EvidenceChainError",
      "Step"
    ],
    "verified_functions": [
      "classify",
      "verify_step",
      "replay_session"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "EvidenceChainError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
