{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-when-a-speculative-sibling-s-committed-side-effects-have-already-been-observed-downstream-before-rollback-completes",
  "title": "How does an instance detect when a speculative sibling's committed side effects have already been observed downstream before rollback completes?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems that run speculative branches (tentative executions) in parallel and roll back losing branches after a reconciliation decision. Does not apply to strictly serialized agent pipelines or to systems where every tool call is transactional and idempotent by construction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-speculative-sibling-s-committed-side-effects-have-already-been-observed-downstream-before-rollback-completes.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-speculative-sibling-s-committed-side-effects-have-already-been-observed-downstream-before-rollback-completes.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-when-a-speculative-sibling-s-committed-side-effects-have-already-been-observed-downstream-before-rollback-completes.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1359,
    "python_slice_tokens": 233,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between *logical rollback* and *observational rollback*. A speculative branch can be rolled back logically — its writes reverted, its reservation released, its state vector discarded — while its side effects have already propagated into the observation surface of a downstream agent, a peer auditor, or an external system. Logic...",
    "what_was_observed": "A planner agent P decomposes a task and dispatches two speculative executors, A and B, to attempt the same subgoal via different tool strategies. A and B run concurrently against a shared scratch memory service that exposes `write(key, value)` and `read(key)`. A writes `result_x = 42` into scratch at t=10. B, lacking its own value and configured to consult scratch on cache miss, reads `result_x` at t=11 and commits a...",
    "condition_of_validity": "The invariant that must hold for speculative execution to be sound is: *for every committed state fragment s in any surviving agent, the derivation set of s contains no key written by a branch that was subsequently rolled back.* Call this the clean-derivation invariant. It is stronger than \"rolled-back branches leave no trace,\" because the trace is not in th...",
    "decision_boundary": "The boundary is whether the reconciliation step treats rollback as a *local undo* or as a *global invalidation cascade*. Local undo is correct only when speculative branches are isolated — no shared read surface, or a read surface that enforces branch-scoped visibility so B cannot see A's tentative writes. Global invalidation is required the moment any share...",
    "operational_effect": "The observable effect is a reconciliation that reports `SUCCESS` while the surviving agent's reasoning is conditioned on a retracted fact — divergence that surfaces only under replay, audit, or when the derived value is later used in an irreversible action. Detection requires the reconciler to fail closed when it cannot prove the clean-derivation invariant, ..."
  },
  "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": "581b5ff320186dea07dd04b495d9d9d9a94bc578bee0f4e03fa51f060afa88e0",
    "verified_classes": [
      "SpeculativeReadContamination",
      "Branch",
      "SurvivorState"
    ],
    "verified_functions": [
      "reconcile"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "SpeculativeReadContamination"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
