{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-that-speculative-agent-branches-have-crossed-the-point-of-no-return-before-rollback-completes",
  "title": "What structural signals indicate that speculative agent branches have crossed the point of no return before rollback completes",
  "date_of_record": "2026 November 24",
  "scope": "Applies to orchestrators that fork parallel sub-agent branches speculatively (run-ahead execution with deferred commit) and rely on rollback to discard losing branches. Does not apply to purely sequential agents, or to branches whose side effects are fully sandboxed behind a transactional resource manager with hard abort semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-agent-branches-have-crossed-the-point-of-no-return-before-rollback-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-agent-branches-have-crossed-the-point-of-no-return-before-rollback-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-that-speculative-agent-branches-have-crossed-the-point-of-no-return-before-rollback-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1494,
    "python_slice_tokens": 236,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **reversible speculation** (a branch whose effects are contained in a buffer that can be atomically discarded) and **irreversible speculation** (a branch that has already emitted a side effect into a shared, non-transactional surface — an external tool call, a memory write, a message to a peer agent, or a cache mutatio...",
    "what_was_observed": "A planner agent forked four speculative branches to resolve a dependency-graph sub-task. Each branch was given a copy of the shared context and a tool budget. Branch B2 called a `write_file`-class tool that committed to a shared workspace path, then continued reasoning and ultimately lost the speculative race to B3. The orchestrator, on learning B3 won, invoked rollback on B2. The rollback discarded B2's context and ...",
    "condition_of_validity": "The invariant that bounds this failure is: **a speculative branch may only be considered rollback-safe if every external effect it emits is either (a) routed through a commit-gated transaction that the orchestrator can abort, or (b) recorded in the same ledger that rollback consults, with a causal link to the branch's checkpoint sequence.** Both conditions m...",
    "decision_boundary": "The decision boundary is the moment a branch's first un-gated external effect commits. Before that moment, rollback is a pure context discard and is safe. After it, rollback is a *partial* operation that leaves orphaned world-state, and the correct action is not rollback but **compensating reconciliation**: the orchestrator must either (a) promote the losing...",
    "operational_effect": "When this boundary is crossed silently, the operational effect is **non-deterministic provenance loss**: the merged output is internally inconsistent in a way that cannot be reproduced from the retained branch logs, because the evidence of the inconsistency was itself rolled back. Debugging then requires reconstructing the losing branch's execution from exte..."
  },
  "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": "2e158c4780b888728de874fd32ee9b18dc344e07ffcaa3295dbbad30acf21cf7",
    "verified_classes": [
      "SpeculativeRollbackIntegrityError"
    ],
    "verified_functions": [
      "verify_branch_reverted",
      "safe_rollback"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SpeculativeRollbackIntegrityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
