{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-presents-a-delegated-credential-whose-revocation-proof-is-stale-by-one-epoch",
  "title": "What happens when an instance presents a delegated credential whose revocation proof is stale by one epoch",
  "date_of_record": "2026 November 24",
  "scope": "Applies to AAIF-style delegated authorization where an agent instance (the *bearer*) presents a signed capability token plus a revocation-status proof to a verifier (resource server or peer agent) that checks status against a monotonic epoch counter. Does not apply to short-lived single-use tokens with no delegation chain, nor to fully online OCSP-style synchronous status lookups.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-credential-whose-revocation-proof-is-stale-by-one-epoch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-credential-whose-revocation-proof-is-stale-by-one-epoch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-presents-a-delegated-credential-whose-revocation-proof-is-stale-by-one-epoch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1903,
    "python_slice_tokens": 349,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters is not \"revoked credential accepted.\" That is the obvious case, and every implementation tests for it. The non-obvious boundary is **temporal**: a delegated credential carries two independent time signals — the *issuance epoch* at which the delegating principal signed the chain, and the *status epoch* at which the revocation proof wa...",
    "what_was_observed": "A three-hop chain: principal `P` → orchestrator agent `A` → worker agent `B`. `P` issues `A` a delegation token `T_A` with `delegation_depth=2`, `issued_epoch=1040`, `expiry_epoch=1100`. `A` sub-delegates to `B`, producing `T_B` with `parent_hash=H(T_A)`, `issued_epoch=1041`. Each token is accompanied by a revocation proof `R` = `{credential_id, status, status_epoch, issuer_sig}`. At epoch 1050, `P` revokes `T_A` (e....",
    "condition_of_validity": "The stale-proof window is bounded and safe only when **all** of the following hold: - The credential carries an explicit `max_proof_staleness` (in epochs), signed by the issuer, such that a verifier rejects any proof with `now_epoch - R.status_epoch > max_proof_staleness`. - The revocation authority's propagation latency `L` satisfies `L < max_proof_stalenes...",
    "decision_boundary": "The verifier faces a binary decision at the point of presentation, and the correct resolution is **fail-closed on ambiguity**, not fail-open on \"looks valid\": - If `now_epoch - R.status_epoch ≤ max_proof_staleness` **and** the epoch reference is shared/synchronized: accept, proceed. - If the proof is stale beyond the bound: **reject and force a synchronous r...",
    "operational_effect": "In the observed incident, `B` continued acting on `A`'s delegated authority for 47 seconds past revocation — the cache TTL — during which it issued 12 tool calls against a downstream resource that `P` had intended to lock out the moment `A` was flagged. The leak was not detected by any alert, because every log line read `auth: valid`. It was found only durin..."
  },
  "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": "5e2d646d8082892231b130fb791770a681240784d999924fe0ae1e26cc4f4794",
    "verified_classes": [
      "StaleRevocationProofError",
      "RevocationProof",
      "DelegatedToken"
    ],
    "verified_functions": [
      "verify_delegation",
      "verify_chain"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "StaleRevocationProofError"
    ],
    "sample_fail_closed_invariants": [
      "token/proof cardinality mismatch"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
