{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-optimistic-cross-org-delegation-from-committing-a-speculative-sub-task-whose-parent-warrant-was-revoked-mid-flight",
  "title": "Which invariants prevent optimistic cross-org delegation from committing a speculative sub-task whose parent warrant was revoked mid-flight",
  "date_of_record": "2026 December 1",
  "scope": "Applies to multi-agent systems where an orchestrator agent (Org A) speculatively delegates a sub-task to a worker agent in a different trust domain (Org B) under an optimistic commit protocol, i.e., the worker executes and stages effects before the parent warrant is re-validated. Does not apply to pessimistic two-phase delegation where the worker blocks on warrant confirmation before any tool invocation, nor to single-org delegation where a shared warrant authority makes revocation synchronous.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-optimistic-cross-org-delegation-from-committing-a-speculative-sub-task-whose-parent-warrant-was-revoked-mid-flight.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-optimistic-cross-org-delegation-from-committing-a-speculative-sub-task-whose-parent-warrant-was-revoked-mid-flight.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-optimistic-cross-org-delegation-from-committing-a-speculative-sub-task-whose-parent-warrant-was-revoked-mid-flight.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2192,
    "python_slice_tokens": 557,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the worker executed after revocation.\" Any optimistic protocol accepts that window. The failure is that the worker's *staged effects* become *committed effects* because the commit decision is made by the worker's local state machine, which observed a warrant that was valid at delegation time, while the revocation was applied at the parent...",
    "what_was_observed": "A three-org pipeline: Org A's planner emitted a delegation warrant `W(parent)` scoped to a task tree, Org B's worker received a speculative sub-task with `W(sub)` derived from `W(parent)` via a signed attenuation token, and Org C hosted the effect sink (a write-ahead staging store) that the worker committed into. The optimistic protocol was: worker executes → stages effects into C → sends `commit(W(sub), effects_dige...",
    "condition_of_validity": "The invariant that must hold for optimistic commit to be safe is a *revocation-epoch fence*: every commit must carry the revocation epoch (a monotonic counter) of the warrant authority it depends on, read at delegation time, and the effect sink must reject any commit whose carried epoch is older than the sink's current epoch *for that authority*, not merely ...",
    "decision_boundary": "The boundary is between *speculative execution with a bounded, detectable window* and *speculative execution with an unbounded, undetectable window*. The system may operate optimistically when three conditions hold: (1) the sub-task's effects are staged, not applied, until a commit acknowledgement that carries the sink's epoch is received; (2) the worker's c...",
    "operational_effect": "The operational consequence is that cross-org delegation must treat revocation as a *fencing token problem*, not a *notification problem*. The guardrail is a per-authority monotonic epoch embedded in every attenuated warrant, checked at the sink against the sink's epoch, with a reject-and-compensate path that names staged effects. The auditor's replay must r..."
  },
  "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": "f217507a88e948ea8714b7d97a956c3634b976f313559bd598a541ed4a7401f9",
    "verified_classes": [
      "RevocationFenceViolation",
      "Warrant",
      "EffectSink"
    ],
    "verified_functions": [
      "run_optimistic_delegation",
      "current_epoch",
      "bump_epoch",
      "stage",
      "commit"
    ],
    "verified_functions_count": 5,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "RevocationFenceViolation"
    ],
    "sample_fail_closed_invariants": [
      "invariant broken: revoked sub-task committed under stale epoch"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
