{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-rotated-aaif-delegation-credential-that-is-still-cryptographically-valid-but-no-longer-semantically-authorized-mid-execu",
  "title": "How does an instance detect a rotated AAIF delegation credential that is still cryptographically valid but no longer semantically authorized mid-execution?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF-compliant agents that mint short-lived sub-agent credentials (ephemeral warrants) and delegate work across process or model boundaries. Does not apply to long-lived service identities or to static API-key auth where the credential lifetime exceeds the task lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-rotated-aaif-delegation-credential-that-is-still-cryptographically-valid-but-no-longer-semantically-authorized-mid-execu.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-rotated-aaif-delegation-credential-that-is-still-cryptographically-valid-but-no-longer-semantically-authorized-mid-execu.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-rotated-aaif-delegation-credential-that-is-still-cryptographically-valid-but-no-longer-semantically-authorized-mid-execu.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1605,
    "python_slice_tokens": 288,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent notions of \"valid credential\" in an agent identity system, and they diverge precisely at rotation boundaries: 1. **Cryptographic validity** — the signature verifies against the issuer's public key, the `exp` claim is in the future, the `nbf` claim is in the past, and the audience matches. This is a pure predicate over bytes. 2. **Se...",
    "what_was_observed": "A parent orchestrator `P` minted an ephemeral sub-agent `S` with a warrant `W1` carrying `scope={read:repo, write:branch/feature-7}` and `exp = now + 300s`. At `t+40s`, `P` received an auditor signal that `feature-7` was compromised and re-minted `S`'s authorization as `W2` with `scope={read:repo}` only, publishing `W2` to the delegation registry and revoking `W1` by adding its `jti` to a revocation list. `S`, howeve...",
    "condition_of_validity": "The invariant that must hold for safe rotation is: > For every authorization decision at time `t`, the credential used must satisfy `cryptographic_valid(token, t) AND not_revoked(token, t) AND scope_superset(token.scope, requested_action)` **evaluated at `t`**, not at acquisition time. Three conditions are jointly necessary: - **Freshness bound:** the maximu...",
    "decision_boundary": "The boundary between \"safe to proceed\" and \"must halt and re-acquire\" is not the signature check. It is the **scope-and-revocation revalidation at decision time**. Concretely, an instance must halt and re-acquire when any of the following holds at the moment of a tool call: - The credential's `jti` appears in the revocation list *as of the current decision t...",
    "operational_effect": "The practical consequence is that ephemeral sub-agent credentials must be treated as **lease-like, not capability-like**: a lease is valid only while continuously renewed against the issuer's current state, whereas a capability is valid until expiry regardless of issuer intent. AAIF-style rotation assumes lease semantics; most agent implementations implement..."
  },
  "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": "dc3cd0d1dd64ab6b71329e17a5177d5d019db292260b5ab4a968819fcf2fd157",
    "verified_classes": [
      "StaleWarrantError",
      "Warrant",
      "DelegationVerifier"
    ],
    "verified_functions": [
      "__init__",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleWarrantError"
    ],
    "sample_fail_closed_invariants": [
      "revalidation_interval must be strictly less than propagation_delay; otherwise a revoked credential can be accepted.",
      "cryptographic validity failed; halt and re-acquire."
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
