{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-revocation-epoch-has-advanced-past-its-issuance-epoch-mid-task",
  "title": "What happens when an instance presents a delegated AAIF credential whose revocation epoch has advanced past its issuance epoch mid-task",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance operating under a delegated Agent Identity and Authorization Framework (AAIF) credential where the signing authority can revoke or rotate between credential issuance and the moment of a downstream tool invocation. Does not apply to single-hop, task-scoped credentials issued and consumed within a single atomic sandbox with no delegation chain and no live revocation channel.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-revocation-epoch-has-advanced-past-its-issuance-epoch-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-revocation-epoch-has-advanced-past-its-issuance-epoch-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-aaif-credential-whose-revocation-epoch-has-advanced-past-its-issuance-epoch-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1903,
    "python_slice_tokens": 336,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential.\" Expiration is a monotonic, locally checkable property: the instance reads `not_after`, compares against its own clock, and fails closed deterministically. Revocation is a *distributed* property. The credential remains structurally valid and cryptographically intact; what has changed is a fact held by the issuer that t...",
    "what_was_observed": "A planner agent (`A`) issued a scoped credential to a worker (`B`) with `epoch=41`, delegating `write:staging_bucket` and `invoke:transform_tool`. `B` re-delegated a narrowed subset to `C` with `epoch=41`, embedding `B`'s credential as the parent link. `C` began a multi-step job: read source objects, invoke the transform tool, write results. Steps one and two succeeded. Between step two and step three, the security t...",
    "condition_of_validity": "The invariant that must hold for delegated credentials to be safe is: **a holder's asserted authority is valid only if every link in its chain has a revocation epoch at least as recent as the epoch the holder asserts, evaluated at the moment of use, not at the moment of issuance.** This invariant is violated whenever the following three conditions co-occur: ...",
    "decision_boundary": "The boundary is *where in the execution loop the freshness check is placed*. Two placements exist, and they are not equivalent: - **Check-at-issuance (unsafe for long tasks):** the holder validates once when it receives the credential and caches the result. Safe only if the task completes within a bounded window shorter than the issuer's revocation propagati...",
    "operational_effect": "The practical consequence is that delegated agents must carry a *chain-state cache with explicit staleness semantics*, not a static credential. On any auth failure during execution, the instance must: 1. Re-resolve the full chain against the issuer's revocation channel. 2. Compare each link's current epoch against the epoch it asserted at issuance. 3. If any..."
  },
  "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": "df647c2522fcbd9a8e66833352af16ca5e7450a5095e6d81b079cb4746027758",
    "verified_classes": [
      "StaleDelegationError",
      "RevocationOracleUnavailable",
      "ChainLink",
      "DelegatedCredential",
      "RevocationOracle"
    ],
    "verified_functions": [
      "resolve_and_verify",
      "execute_side_effecting_step",
      "current_epoch"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "NotImplementedError",
      "RevocationOracleUnavailable",
      "StaleDelegationError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
