{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-non-deterministic-tool-outputs-before-replay-can-be-trusted-in-multi-agent-forensic-reconstruction",
  "title": "Where must an instance reconcile non-deterministic tool outputs before replay can be trusted in multi-agent forensic reconstruction",
  "date_of_record": "2026 November 19",
  "scope": "Applies to post-hoc replay of recorded multi-agent traces where at least one agent invoked a non-deterministic external tool (search, code interpreter, clock, RNG-backed sampler) and the replay engine re-executes agent logic rather than merely replaying captured outputs. Does not apply to pure transcript inspection, nor to deterministic toolchains where every tool output is a pure function of its recorded inputs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-non-deterministic-tool-outputs-before-replay-can-be-trusted-in-multi-agent-forensic-reconstruction.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-non-deterministic-tool-outputs-before-replay-can-be-trusted-in-multi-agent-forensic-reconstruction.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-non-deterministic-tool-outputs-before-replay-can-be-trusted-in-multi-agent-forensic-reconstruction.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2154,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct meanings of \"replay\" that get conflated during incident response, and the conflation is the root of most forensic reconstruction failures. **Transcript replay** re-emits the recorded message log verbatim. It is deterministic by construction, because nothing is re-executed. It answers \"what did the agents say?\" but cannot answer \"why di...",
    "what_was_observed": "A three-agent incident-review swarm (Planner → Executor → Auditor) was tasked with triaging a production alert. The Executor called a log-search tool that returned a truncated result set because the tool's internal pagination was itself non-deterministic under concurrent load — the same query returned page 1 of 4 in one run and page 2 of 4 in the next. The recorded trace captured page 2. The Executor, seeing only pag...",
    "condition_of_validity": "Causal replay is valid for a given trace segment only when all four of the following hold: 1. **Sampler pinning.** Every LLM invocation in the segment is re-executed with the recorded seed, temperature, top-p, top-k, and model version. If the provider does not support seeded determinism, the invocation must be marked *non-replayable* and the causal claim acr...",
    "decision_boundary": "The operational decision is *where to draw the pinning boundary and what to do when the boundary cannot be drawn cleanly.* - If a tool is declared deterministic and its recorded output is a pure function of its recorded inputs, pin at the tool boundary and verify by re-invocation. Divergence here indicates a tool bug, not a replay bug. - If a tool is non-det...",
    "operational_effect": "The practical consequence is that forensic reconstruction must treat the trace as a graph of pinned and live nodes, and must refuse to certify any causal path that traverses a live node without a counterfactual check. In the incident above, the correct reconstruction would have flagged the log-search call as a divergence-capable seam, run the counterfactual ..."
  },
  "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": "8fd400540a393ed5f88a8f002e7765a3f3c37f75b89b1f8a591702a7286ec64c",
    "verified_classes": [
      "ReplayIntegrityError",
      "PinLayer",
      "Step"
    ],
    "verified_functions": [
      "certify_replay",
      "counterfactual_check"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ReplayIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
