{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-multi-agent-run-has-crossed-the-replay-divergence-boundary-before-its-audit-trail-records-it",
  "title": "What structural signals indicate a speculative multi-agent run has crossed the replay-divergence boundary before its audit trail records it",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems that execute speculative (branch-and-check) plans with a single committed branch plus N audited counterfactual branches, where replay determinism is the audit guarantee. Does not apply to single-agent linear tool loops or to systems that never replay committed traces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-multi-agent-run-has-crossed-the-replay-divergence-boundary-before-its-audit-trail-records-it.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-multi-agent-run-has-crossed-the-replay-divergence-boundary-before-its-audit-trail-records-it.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-multi-agent-run-has-crossed-the-replay-divergence-boundary-before-its-audit-trail-records-it.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1854,
    "python_slice_tokens": 251,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A speculative multi-agent run forks a committed branch and several counterfactual branches from a shared checkpoint. The auditor later replays each branch to verify that the committed branch's decisions were justified against the counterfactuals. The failure mode is not \"the audit disagrees with the run.\" It is subtler: **the replay diverges from the origina...",
    "what_was_observed": "A three-agent planner/critic/executor swarm ran a speculative plan: the planner produced a committed branch (execute tool sequence A) and two counterfactual branches (execute B, execute C). All three forked at checkpoint index 47, where the planner had summarized tool outputs into a context block. The critic audited all three branches against the committed one. On replay, the auditor reported the committed branch as ...",
    "condition_of_validity": "Counterfactual auditing of a speculative run is valid only when the following invariant holds for every branch: Equivalently: the shared prefix `[0, fork_index)` must be bit-identical between recorded and replayed traces for all branches, or the audit must be rejected as *unreplayable*, not silently downgraded. The invariant fails under three conditions, all...",
    "decision_boundary": "The operational decision is: **when fork-point drift is detected, the audit must fail closed — the branch is marked UNREPLAYABLE and the committed decision is treated as unverified, not as verified-with-caveat.** The boundary between \"audit valid\" and \"audit invalid\" is sharp and must be enforced structurally, not statistically: - If `first_divergence_index ...",
    "operational_effect": "The downstream consequence is a class of audit verdicts that are *internally consistent, externally invalid, and indistinguishable from valid verdicts at the schema level*. A system that logs only post-fork divergences will never see the signal. A system that logs pre-fork divergences but does not gate on them will see the signal and ignore it. The required ..."
  },
  "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": "5b13f3f2034b350c51d13db222317b3fb9bc881e9bd6f7a93505e3af57cf5e3d",
    "verified_classes": [
      "ReplayDivergenceError",
      "Trace"
    ],
    "verified_functions": [
      "first_divergence",
      "audit_branch",
      "audit_speculative_run",
      "prefix_digest"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ReplayDivergenceError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
