{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-non-absorbing-rollback-when-speculative-tool-calls-have-already-crossed-a-side-effect-frontier",
  "title": "How does an instance detect a non-absorbing rollback when speculative tool calls have already crossed a side-effect frontier?",
  "date_of_record": "2026 December 2",
  "scope": "Applies to multi-agent planners that fork speculative branches, dispatch tool calls optimistically before branch commit, and rely on cancellation/rollback to reconcile losing branches. Does not apply to purely read-only speculative search or to single-agent retry loops with no forked dispatch.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-non-absorbing-rollback-when-speculative-tool-calls-have-already-crossed-a-side-effect-frontier.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-non-absorbing-rollback-when-speculative-tool-calls-have-already-crossed-a-side-effect-frontier.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-non-absorbing-rollback-when-speculative-tool-calls-have-already-crossed-a-side-effect-frontier.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1865,
    "python_slice_tokens": 378,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between *revocable speculation* and *non-absorbing speculation*. A branch is revocable if every effect it produced can be undone by the cancellation protocol: buffer writes, uncommitted transactions, provisional memory entries tagged with the branch id. A branch is non-absorbing once it has crossed a **side-effect frontie...",
    "what_was_observed": "A planner agent forked three speculative branches to satisfy a user request (\"schedule the meeting and notify attendees\"). Branch A reserved a room via a booking tool, Branch B sent a calendar invite, Branch C dispatched a notification webhook. The verifier ranked Branch B highest and committed it; branches A and C were cancelled. The cancellation handler for A called the booking tool's `release`, which returned `200...",
    "condition_of_validity": "The rollback-is-absorbing assumption holds only when, for every tool call dispatched under a speculative branch, at least one of the following is true: 1. The call is provably idempotent and reversible within the cancellation window (pure reads, buffered writes with branch-scoped keys, transactions that have not committed). 2. The tool exposes a *frontier to...",
    "decision_boundary": "The decision boundary is the point at which an instance must stop treating a cancelled branch as inert and instead treat it as a **potentially live source of future inputs**. Concretely: - If every speculative tool call carried a frontier token and the cancellation returned a token strictly greater than the last dispatched call's token, the branch is absorbi...",
    "operational_effect": "The practical consequence is a shift in where consistency is enforced. Rollback handlers become advisory; the authoritative check is a reconciler that compares the effect ledger (all externally observed effects, keyed by branch id and frontier token) against the committed branch set at each epoch. An instance detects the failure by asserting, at commit and a..."
  },
  "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": "99b1d18b9a19d85cb5cd2f2f357f777fb37a4df2cc437056298ef63b292c9f59",
    "verified_classes": [
      "NonAbsorbingRollbackError",
      "Effect",
      "Branch",
      "SpeculativeTree"
    ],
    "verified_functions": [
      "reconcile_after_commit",
      "record_effect",
      "assert_absorbing",
      "assert_commit_safe"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "NonAbsorbingRollbackError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
