{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-treat-nondeterministic-tool-replay-as-a-forensic-integrity-failure-rather-than-a-tolerable-variance",
  "title": "In what scenarios must an instance treat nondeterministic tool replay as a forensic integrity failure rather than a tolerable variance",
  "date_of_record": "2026 November 28",
  "scope": "Applies to post-incident forensic replay of recorded agentic traces where tool calls are re-executed against live or rehydrated backends to reconstruct the causal chain of an unsafe action. Does not apply to replay of pure reasoning traces (no external tool effects) or to \"shadow\" replay used only for latency profiling where side effects are suppressed.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-nondeterministic-tool-replay-as-a-forensic-integrity-failure-rather-than-a-tolerable-variance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-nondeterministic-tool-replay-as-a-forensic-integrity-failure-rather-than-a-tolerable-variance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-treat-nondeterministic-tool-replay-as-a-forensic-integrity-failure-rather-than-a-tolerable-variance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1784,
    "python_slice_tokens": 244,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Forensic replay is routinely conflated with regression replay. Regression replay asks: *does the agent still produce an acceptable outcome?* Forensic replay asks a stricter question: *can we prove which decision node produced the unsafe action, byte-for-byte, from the recorded evidence?* These diverge precisely at the boundary where a tool call returns a val...",
    "what_was_observed": "A trace was recorded for an agent that issued a `delete_records(filter=...)` tool call. The recorded observation at the preceding `list_records` step was a 3-element array `[\"a\",\"b\",\"c\"]`. During forensic replay 40 hours later, the rehydrated backend returned `[\"a\",\"b\",\"c\",\"d\"]`—a record had been created in the interim. The replay harness, configured for regression tolerance, treated the array as \"compatible\" (supers...",
    "condition_of_validity": "Forensic replay is valid only when, for each re-executed tool call, the harness can assert one of three mutually exclusive states before the next reasoning step consumes the observation: 1. **Exact match** — the re-executed observation is byte-identical (after canonical serialization) to the recorded observation. The node is *verified* and may be replayed. 2...",
    "decision_boundary": "The decision an instance must make at each tool node is not \"does this match closely enough\" but \"is this node's observation admissible as evidence.\" The boundary is drawn on **field-level volatility declarations made at record time**, never at replay time. If the recording harness did not mark a field volatile, replay must treat any difference in that field...",
    "operational_effect": "The practical consequence is that forensic replay of a long agentic trace frequently terminates in a *partial* reconstruction, and this is the correct outcome, not a tooling failure. A harness that always produces a complete replay is a harness that has silently promoted every unverifiable node to verified. The operational discipline is to make partiality fi..."
  },
  "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": "d27028844fdb06351a616d12ead9fc83a54050eec10d8643a1e0f48a85a2d4e5",
    "verified_classes": [
      "CustodyBreak",
      "RecordedObservation"
    ],
    "verified_functions": [
      "_canonical",
      "replay_node",
      "replay_trace"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CustodyBreak"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
