{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-a-speculative-agent-branch-has-crossed-the-commit-horizon-and-can-no-longer-be-rolled-back-safely",
  "title": "What structural signals indicate a speculative agent branch has crossed the commit horizon and can no longer be rolled back safely",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent schedulers that fork speculative branches (parallel hypothesis execution, draft-and-verify trees, or baton-passed sub-plans) and rely on rollback to discard losing branches. Does not apply to single-agent linear execution with no forked state, nor to branches whose side effects are fully idempotent and externally reversible.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-agent-branch-has-crossed-the-commit-horizon-and-can-no-longer-be-rolled-back-safely.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-agent-branch-has-crossed-the-commit-horizon-and-can-no-longer-be-rolled-back-safely.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-a-speculative-agent-branch-has-crossed-the-commit-horizon-and-can-no-longer-be-rolled-back-safely.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1722,
    "python_slice_tokens": 236,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "Speculative branch-and-verify assumes a clean binary: a branch either commits (its effects become canonical) or rolls back (its effects vanish). The non-obvious failure is that **rollback safety is not a property of the branch's logical result — it is a property of the branch's effect frontier at the moment the scheduler decides.** A branch can be logically ...",
    "what_was_observed": "A planner agent forks three speculative branches (B1, B2, B3) to resolve an ambiguous sub-goal. Each branch runs a sub-agent that calls a shared retrieval-and-write tool. B2 finishes first and its sub-agent publishes an intermediate artifact to a shared coordination channel that a *separate* monitor agent polls every 200ms. The monitor reads B2's artifact, treats it as settled, and emits a downstream scheduling decis...",
    "condition_of_validity": "Rollback of a speculative branch is safe **if and only if** all of the following hold at the moment of rollback: 1. **Effect containment:** every effect the branch produced lives inside the branch's rollback domain (branch-local memory, sandboxed tool namespace, no external channel emission). 2. **No foreign acknowledgment:** no agent outside the branch has ...",
    "decision_boundary": "The scheduler must decide, per branch and per effect, between three actions — and the boundary between them is set by the acknowledgment frontier: - **Erasure (rollback):** permitted only when effect containment holds and no foreign acknowledgment exists. Cheap, invisible, correct. - **Compensation:** required when a foreign agent acknowledged the effect. Th...",
    "operational_effect": "Once a branch crosses the commit horizon undetected, three compounding damages follow. First, **causal divergence**: live agents (B4 and its descendants) hold a premise the canonical record denies, so any later verification replay will flag their outputs as unfounded — the verifier and the executor disagree about history. Second, **compensation debt**: the e..."
  },
  "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": "310f31c420a90922930feb9a4bb0310b0a8dd0abe71df4cc6ad4ed12a30adc59",
    "verified_classes": [
      "CommitHorizonViolation",
      "Branch"
    ],
    "verified_functions": [
      "rollback",
      "__init__",
      "acknowledgment_frontier",
      "is_rollback_safe"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "CommitHorizonViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
