{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-keeps-executing-on-a-revoked-aaif-warrant-the-stale-authorization-window-in-continuous-policy-evaluation",
  "title": "What happens when an instance keeps executing on a revoked AAIF warrant: the stale-authorization window in continuous policy evaluation",
  "date_of_record": "2026 December 2",
  "scope": "Applies to long-lived agent instances whose authority is expressed as a signed warrant (capability grant with an `expires_at`, `revocation_epoch`, and per-action policy predicates) evaluated by an AAIF runtime at each tool invocation. Does not cover static API-key auth, mTLS-only identity, or batch jobs that complete within a single warrant lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-keeps-executing-on-a-revoked-aaif-warrant-the-stale-authorization-window-in-continuous-policy-evaluation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-keeps-executing-on-a-revoked-aaif-warrant-the-stale-authorization-window-in-continuous-policy-evaluation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-keeps-executing-on-a-revoked-aaif-warrant-the-stale-authorization-window-in-continuous-policy-evaluation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2164,
    "python_slice_tokens": 373,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two distinct notions of \"authorized\" in an AAIF runtime, and conflating them is the root of the failure: - **Warrant validity** — a cryptographic property of the signed grant: signature chain intact, `not_before ≤ now < expires_at`, issuer not on the revocation list. This is checkable statelessly and cheaply. - **Continuous authorization** — a poli...",
    "what_was_observed": "A planner agent (`inst-7f3a`) held warrant `w-91c2` delegating `filesystem:write` on tenant `acme` with a 30-minute `expires_at` and `revocation_epoch: 41`. It was mid-task: a 9-step plan where steps 1–6 were read-only reconnaissance and step 7 was the first mutating call. The runtime evaluated authorization at step 7 entry against epoch 41 and admitted the call. Between step 7's authorization check and its commit, t...",
    "condition_of_validity": "The pre-flight-check-then-commit pattern is *safe* only when all of the following hold, and the runtime must assert them explicitly rather than assume them: - **Commit latency is bounded and shorter than revocation propagation.** If the sandbox can queue for longer than the revocation channel's worst-case latency, the check is stale by construction. In the o...",
    "decision_boundary": "The runtime must choose, per tool class, between two commit disciplines: - **Fenced commit (required for mutating tools):** the tool receives the epoch at check time; at commit it performs a compare-and-swap against the current epoch. If `current_epoch > check_epoch`, the commit fails closed with a distinct, non-retryable error and the agent is forced to re-...",
    "operational_effect": "1. **Silent authority violation is worse than a hard failure.** The observed episode produced a committed write under revoked authority with no error surfaced to the agent, the tenant, or the operator. The agent's own abort at step 8 masked the violation from any human reviewing the run. Detection required diffing live-vs-replay, which is not a standard oper..."
  },
  "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": "a963a67f0abe60239be206a01ef3b65fa54fdbab5e3ebb805687167b4b05bd92",
    "verified_classes": [
      "StaleAuthorizationError",
      "FencedAction"
    ],
    "verified_functions": [
      "commit_side_effect",
      "reconcile_after_revocation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "StaleAuthorizationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
