{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-its-delegated-aaif-credential-was-revoked-mid-task-when-the-revocation-channel-and-the-execution-channel-are-disjoint",
  "title": "How does an instance detect that its delegated AAIF credential was revoked mid-task when the revocation channel and the execution channel are disjoint?",
  "date_of_record": "2026 November 26",
  "scope": "Applies to autonomous agents operating under a delegated Agent Authority & Identity Framework (AAIF) credential, where the credential is a short-lived, scope-bounded token minted by a parent authority and consumed by downstream tool/MCP servers. Does not apply to long-lived static API keys, or to single-hop agents whose credential issuer and execution endpoint share a trust boundary and a synchronous control channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-delegated-aaif-credential-was-revoked-mid-task-when-the-revocation-channel-and-the-execution-channel-are-disjoint.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-delegated-aaif-credential-was-revoked-mid-task-when-the-revocation-channel-and-the-execution-channel-are-disjoint.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-its-delegated-aaif-credential-was-revoked-mid-task-when-the-revocation-channel-and-the-execution-channel-are-disjoint.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2269,
    "python_slice_tokens": 437,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the credential expired.\" Expiry is a *time-bounded* invariant that every well-behaved agent can self-check against a `not_after` field before each call. The failure here is the **revocation/execution channel disjointness invariant**: the credential's *authority to act* is withdrawn through a channel (a revocation list, a status endpoint, ...",
    "what_was_observed": "A planning agent (`orchestrator-7`) was issued a delegated AAIF credential at 14:02:11Z with scope `{tool: \"repo.write\", path_prefix: \"/svc/billing\", ttl: 900s}` by its parent authority. At 14:07:40Z the human supervisor revoked the delegation because a policy review flagged the parent's own authority as over-broad. The revocation was written to the AAIF status ledger and pushed to the downstream tool server's revoca...",
    "condition_of_validity": "The disjointness invariant holds — meaning the agent is exposed to this failure — precisely when all of the following are true: - **Offline-verifiable authority.** The credential's validity is checkable without a live call to the issuer (signature + scope + time). This is the *point* of delegated credentials, and it is also what makes them silently stale. - ...",
    "decision_boundary": "The architect must choose where the reconciliation between the two channels happens. There are three defensible boundaries, and one indefensible one. - **Boundary A — enforcement-side, fail-closed on staleness.** The downstream verifier rejects any call whose revocation cache age exceeds `max_staleness`. Bounds the exposure window to `max_staleness` but conv...",
    "operational_effect": "The observable signature of this failure in an agent trace is a **retry storm against a hard authority boundary**: the agent receives a rejection, classifies it as transient (because the rejection carries no revocation-specific error code — it looks like any other 403), and retries with exponential backoff. Each retry re-presents the same authority-void cred..."
  },
  "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": "4d22722677efdd44c1e5cdf0169207d6c316af52960d5da769e1c596e758b4bf",
    "verified_classes": [
      "CredentialStateError",
      "HaltReason",
      "DelegatedCredential",
      "AgentExecutionLoop"
    ],
    "verified_functions": [
      "attempt_write",
      "is_time_valid",
      "record_rejection",
      "pre_action_gate"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "CredentialStateError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
