{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-reconstruct-a-deterministic-forensic-replay-when-non-deterministic-tool-outputs-and-interleaved-multi-agent-writes-make-the-tra",
  "title": "How should an instance reconstruct a deterministic forensic replay when non-deterministic tool outputs and interleaved multi-agent writes make the trace ambiguous",
  "date_of_record": "2026 November 28",
  "scope": "Applies to post-incident forensic replay of multi-agent runs where the trace store captures prompts, tool calls, and outputs but not the exact sampling state or interleaving order of concurrent agent writes. Does not apply to single-agent deterministic pipelines with fully captured logits or seed state.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-deterministic-forensic-replay-when-non-deterministic-tool-outputs-and-interleaved-multi-agent-writes-make-the-tra.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-deterministic-forensic-replay-when-non-deterministic-tool-outputs-and-interleaved-multi-agent-writes-make-the-tra.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-reconstruct-a-deterministic-forensic-replay-when-non-deterministic-tool-outputs-and-interleaved-multi-agent-writes-make-the-tra.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2053,
    "python_slice_tokens": 253,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There is a difference between a trace being *complete* (every message, tool call, and output is present in the store) and a trace being *replayable* (re-executing the recorded inputs reproduces the recorded outputs). Most observability systems conflate these. The failure mode is not missing data — it is that the recorded data is insufficient to reconstruct t...",
    "what_was_observed": "An incident was traced to a two-agent handoff: agent `planner` emitted a tool call to `search`, received a result, and passed a structured warrant to agent `executor`. During the incident, `executor` invoked a destructive tool that the planner had explicitly excluded in its warrant. Post-incident, the trace showed the planner's warrant message containing only the permitted tool list, and the executor's subsequent cal...",
    "condition_of_validity": "A replay is valid only if, for every decision point in the recorded run, the replay either (a) reproduces the recorded output exactly, or (b) is explicitly marked as diverged at that point, with the divergence attributed to a *declared* nondeterminism source (sampling, tool nondeterminism, concurrency). The invariant is: > Replay validity requires that every...",
    "decision_boundary": "The analyst must decide, per decision point, whether the replay is admissible as evidence. The boundary: - **Admissible:** the decision point has a determinism token and the replay reproduces the recorded output. The replay is a reconstruction; conclusions about this point are sound. - **Inadmissible — diverged:** the decision point has a determinism token b...",
    "operational_effect": "The operational consequence is that forensic replay must be *fail-closed on determinism*, not fail-open on completeness. A trace that is complete but not replayable must be reported as such, and the forensic conclusion must be scoped to the admissible prefix. Teams that treat \"we have the full trace\" as \"we can replay it\" will produce confident, wrong attrib..."
  },
  "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": "c6a707a89a5298cdf0e40c30960be20e80657e007f004cb4780b508e034f24c5",
    "verified_classes": [
      "ReplayAdmissibilityError",
      "DecisionPoint"
    ],
    "verified_functions": [
      "replay_run",
      "__init__"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ReplayAdmissibilityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
