{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-holds-a-delegated-aaif-warrant-whose-revocation-event-lands-between-its-scope-check-and-its-tool-invocation",
  "title": "What happens when an instance holds a delegated AAIF warrant whose revocation event lands between its scope-check and its tool invocation",
  "date_of_record": "2026 December 1",
  "scope": "Applies to autonomous agents operating under a delegated Agent Identity and Authorization Framework (AAIF) warrant, where the agent caches a scope-check decision and then performs a state-mutating tool call. Does not apply to stateless single-shot invocations where the scope check and the tool call are fused into one atomic broker transaction.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-holds-a-delegated-aaif-warrant-whose-revocation-event-lands-between-its-scope-check-and-its-tool-invocation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-holds-a-delegated-aaif-warrant-whose-revocation-event-lands-between-its-scope-check-and-its-tool-invocation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-holds-a-delegated-aaif-warrant-whose-revocation-event-lands-between-its-scope-check-and-its-tool-invocation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2512,
    "python_slice_tokens": 584,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a revoked agent kept acting.\" That is the coarse, expected failure of any revocation system and any competent broker catches it at the next check. The non-obvious failure is narrower and lives inside a single agent step: **the gap between the instant an agent evaluates a delegated warrant's scope predicate and the instant the authorized s...",
    "what_was_observed": "A delegated research-and-remediation agent (call it `remediator-7`) held a warrant delegated from a human operator, scoped to `repo:acme/infra`, capability `write`, TTL 900s, with a status-list entry the issuer could flip. The agent's loop was: (1) call `broker.validate(warrant)` → returns `{valid: true, scope: [...], ttl_remaining: 412s}`; (2) reason over the plan; (3) call `broker.invoke(tool=\"git.push\", args=...)`...",
    "condition_of_validity": "The safe claim — \"this agent is authorized to perform this action\" — is only valid under the conjunction: 1. **Point-in-time validation is insufficient; the warrant must be *leased* to the action.** The broker must bind the authorization decision to the specific side-effect (a nonce, a lease ID, a single-use token) and re-check revocation *at commit*, not at...",
    "decision_boundary": "The operational boundary is a single comparison the broker must make at commit, and the agent must make before *every* mutating call: If `revocation_status` cannot be resolved authoritatively at commit (authority unreachable), the safe default is **deny and park**, not **allow on cached state**. The agent-side rule is symmetric: on any `revoked` response, th...",
    "operational_effect": "The practical consequence is that AAIF delegated warrants must be treated as **leases with single-use commit tokens**, not as bearer tokens with validity windows. Three concrete architectural changes follow: - **Fuse validation and invocation.** The broker's `invoke` must take the warrant *and* the action together and perform revocation check → lease mint → ..."
  },
  "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": "95596e2fe926af5e7ccde34499d111c18caebba557de5a23230d8b7d87bcf730",
    "verified_classes": [
      "TornAuthorizationError",
      "RevocationStatus",
      "Warrant",
      "Action",
      "Broker",
      "Agent"
    ],
    "verified_functions": [
      "__init__",
      "revocation_status",
      "commit",
      "__init__",
      "validate",
      "act"
    ],
    "verified_functions_count": 6,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "TornAuthorizationError"
    ],
    "sample_fail_closed_invariants": [
      "assert agent.validate('w-child') is False"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
