{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-speculates-past-a-federated-commit-barrier-cross-org-read-set-drift-under-optimistic-agent-execution",
  "title": "What happens when an instance speculates past a federated commit barrier: cross-org read-set drift under optimistic agent execution",
  "date_of_record": "2026 November 21",
  "scope": "Applies to federated multi-agent systems where agents in different trust domains execute speculative (optimistic) sub-plans against shared resources and reconcile at a cross-org commit barrier. Does not apply to single-domain agent swarms with a trusted coordinator, nor to purely read-only speculative fan-out with no commit semantics.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculates-past-a-federated-commit-barrier-cross-org-read-set-drift-under-optimistic-agent-execution.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculates-past-a-federated-commit-barrier-cross-org-read-set-drift-under-optimistic-agent-execution.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-speculates-past-a-federated-commit-barrier-cross-org-read-set-drift-under-optimistic-agent-execution.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1474,
    "python_slice_tokens": 275,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not \"two agents disagree.\" It is that a speculative instance *continues reasoning and tool-calling past the point where a federated commit barrier has already invalidated its read-set*, because the invalidation signal is delivered as an asynchronous, best-effort peer message rather than as a synchronous precondition on the next tool ...",
    "what_was_observed": "A three-org federation: Org A (planner), Org B (resource owner, holds a versioned inventory agent), Org C (auditor/verifier). The planner at A speculatively dispatched a sub-plan to B: reserve 40 units, then to C: attest the reservation. B's inventory agent served a read at version `v17` (39 units available after a concurrent local commit bumped from `v16`). A's planner, holding a stale `v16` belief from a prior turn...",
    "condition_of_validity": "The optimistic scheme is *only* valid when all three hold: 1. **Read-set versioning is transitive across orgs.** Every value an agent reasons over carries the originating org's commit version, and that version is monotonic and comparable across domains. In the incident, C's attestation carried `v17` but the field was flattened to a boolean, severing transiti...",
    "decision_boundary": "The boundary is: **does the next action depend on a value whose authoritative version may have advanced since the read?** If yes, the agent must either (a) issue a synchronous re-read/validate against the owning org before dispatch, or (b) mark the action as *provisional* and forbid downstream dependents until validated. The failure is choosing neither—treat...",
    "operational_effect": "Without the barrier, the observed outcome was a *phantom reservation*: A's checkpoint asserted 45 units reserved and 3 free, B held 40 reserved and 39 free, and C had attested a condition that was never satisfiable. The divergence persisted across a checkpoint/resume because the checkpoint captured A's *belief*, not the reconciled truth—so a restarted instan..."
  },
  "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": "c539e1fea0fdf7044b4847b98ca7bd4ad56e02f939d030212852151f7b6c3b22",
    "verified_classes": [
      "ReadSetInvalidated",
      "VersionedValue",
      "SpeculativePlanner"
    ],
    "verified_functions": [
      "reconciled_floor",
      "dispatch_dependent"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ReadSetInvalidated"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
