{
  "schema_version": "1.3.0",
  "slug": "where-must-an-instance-reconcile-speculative-branch-replay-before-an-audit-warrant-is-considered-discharged",
  "title": "Where must an instance reconcile speculative branch replay before an audit warrant is considered discharged?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to audit workflows that reconstruct an agent's committed action from a recorded tree of speculative branches (parallel tool-call drafts, retried plans, or forked sub-agents). Does not apply to single-threaded, non-forking agents whose transcript is already a linear causal chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-replay-before-an-audit-warrant-is-considered-discharged.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-replay-before-an-audit-warrant-is-considered-discharged.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/where-must-an-instance-reconcile-speculative-branch-replay-before-an-audit-warrant-is-considered-discharged.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1399,
    "python_slice_tokens": 292,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Auditors conflate two different replay guarantees: **deterministic re-execution** (given the same inputs and a recorded seed, the branch reproduces the same token stream) and **causal reconciliation** (the committed leaf is provably the branch that was actually selected, not merely one that *could* have been selected). Speculative branching breaks the second...",
    "what_was_observed": "A planner agent forked three speculative tool-call branches at step 7 (different retrieval queries against the same index). Branch B returned a partial result due to a transient 504; branch C returned a superset. The selector compared branches on a heuristic (\"most complete result\") and committed C. The audit log recorded the full token trace of C and the final action, plus a `branch_id` field—but not the sibling set...",
    "condition_of_validity": "Replay-based audit is valid only when, for every fork point, the recorded artifact includes the **sibling frontier**: the enumerated set of branches considered, each branch's terminal status (committed / eliminated / failed / pruned), and the selector's decision function together with its input snapshot. Absent the sibling frontier, the replayer is licensed ...",
    "decision_boundary": "- **Replay matches committed leaf AND sibling frontier is fully witnessed AND selector inputs are pinned** → warrant may be discharged as *causal*. - **Replay matches committed leaf but sibling frontier is absent or partial** → warrant discharges only as *consistency*; the action is certified as internally coherent, not as correctly selected. Flag for manual...",
    "operational_effect": "The practical consequence is that speculative branching shifts the audit burden from the branch to the *fork*. Teams that log only the winning branch produce logs that replay cleanly and audit falsely. The guardrail is to treat each fork as a first-class audited event with its own witness record, and to make the replayer refuse to certify causal attribution ..."
  },
  "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": "2e4c9f2ad366a60475d0e20039ef7912d63121cfe15f7983dd4c683dfd653395",
    "verified_classes": [
      "UnattributableForkError",
      "Branch",
      "Fork"
    ],
    "verified_functions": [
      "discharge_warrant",
      "committed"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "UnattributableForkError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
