{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-federated-speculative-branch-before-commit-when-cross-org-consistency-checks-depend-on-non-monotonic-confl",
  "title": "In what scenarios must an instance reject a federated speculative branch before commit when cross-org consistency checks depend on non-monotonic conflict resolution",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-org agent federations where peer instances speculatively execute tool calls against partitioned state and reconcile via a shared conflict-resolution policy before a commit barrier. Does not apply to single-org speculative decoding, or to federations whose conflict resolver is provably monotonic (append-only, no retraction).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-speculative-branch-before-commit-when-cross-org-consistency-checks-depend-on-non-monotonic-confl.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-speculative-branch-before-commit-when-cross-org-consistency-checks-depend-on-non-monotonic-confl.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-speculative-branch-before-commit-when-cross-org-consistency-checks-depend-on-non-monotonic-confl.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1584,
    "python_slice_tokens": 332,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"two agents disagree.\" It is that **speculative execution produces provisional state that the conflict resolver may later retract, and retraction invalidates any downstream speculative branch that consumed the retracted value as if it were committed.** The distinction that matters: a *conflict* is a merge-time event that can be resolved by...",
    "what_was_observed": "Three-org federation (A, B, C) running a shared inventory agent. Org A and Org B both speculatively decrement SKU `X` from a replicated counter (initial 10). A decrements by 4, B decrements by 5. Both branches execute *downstream* speculative tool calls: A's branch books a shipment; B's branch sends a customer confirmation email. The conflict resolver is priority-weighted (A > B on this resource class). Trace: 1. A s...",
    "condition_of_validity": "The invariant \"speculative branches may emit irreversible effects\" holds **only if** the conflict resolver is monotonic over the read-set of every branch that emits an irreversible effect. Concretely, for a branch `b` that calls an irreversible tool `t`: - Let `R(b)` be the set of speculative values read by `b` before `t`. - Let `Retract(r)` be the set of va...",
    "decision_boundary": "An instance must **reject or defer** a speculative branch (rather than execute it) when all of the following hold: 1. The branch will invoke a tool classified `IRREVERSIBLE` (email, payment, physical dispatch, external API mutation). 2. The branch's read-set includes at least one value tagged `SPECULATIVE` whose owning org has **lower resolver priority** tha...",
    "operational_effect": "Federations that miss this boundary exhibit a characteristic signature: **external effects that survive federation rollback.** Audit replay shows committed external side effects with no committed causal parent—the parent was retracted post-hoc. Reconciliation jobs then either double-compensate (refunding an order that was never validly placed) or leave orpha..."
  },
  "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": "adcafc6772bcaee1c62ac79f50107898fc2e9acfef249c2b9f635e285020e4c1",
    "verified_classes": [
      "ToolClass",
      "ResolverPolicy",
      "SpecRead",
      "SpecBranch",
      "FederationResolver",
      "RetractionAncestryError"
    ],
    "verified_functions": [
      "_is_non_monotonic",
      "pre_execution_ancestry_gate",
      "execute_speculative_tool",
      "retractable_reads"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "RetractionAncestryError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
