{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-that-a-delegated-capability-token-was-minted-against-a-stale-agent-credential-snapshot",
  "title": "How does an instance detect that a delegated capability token was minted against a stale agent credential snapshot",
  "date_of_record": "2026 December 2",
  "scope": "Applies to AAIF-style delegated capability tokens where an issuer mints a scoped token for a delegate based on a cached verifiable credential (VC) snapshot of that delegate. Does not apply to direct bearer tokens or to tokens minted against live, freshly-resolved DID documents.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-minted-against-a-stale-agent-credential-snapshot.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-minted-against-a-stale-agent-credential-snapshot.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-that-a-delegated-capability-token-was-minted-against-a-stale-agent-credential-snapshot.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2371,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired token\" or \"revoked credential.\" Both of those are loud: signature checks fail, `exp` asserts, revocation list lookups return a hit, and the delegate's call is rejected at the gateway. The boundary condition here is quieter and more dangerous: **the token is cryptographically valid, unexpired, unrevoked, and correctly signed — but ...",
    "what_was_observed": "A three-tier delegation chain: an orchestrator agent (`did:web:orch`) holds a root capability to call a settlement service. It delegates a scoped `settle:batch` capability to a worker agent (`did:web:worker`) by requesting a DCT from the settlement service's issuer endpoint. The issuer resolves `worker`'s VC, validates the `can_invoke: [settle:batch]` claim, and mints a DCT with `exp = now + 300s`, embedding `credent...",
    "condition_of_validity": "The stale-snapshot admission is only possible when **all** of the following hold simultaneously. Remove any one and the failure collapses: 1. **The issuer resolves the delegate's VC through a cache** whose TTL exceeds the interval between a credential state transition and the next DCT mint for that subject. A cache TTL of 60s against a 40s mint-after-revoke ...",
    "decision_boundary": "The operational question an instance must answer before trusting a DCT is not \"is this token valid?\" — it will be — but **\"is the authorization basis this token encodes still the current authorization basis for its subject?\"** That is a different check, against different state, and most AAIF deployments do not perform it. Draw the boundary as follows: - **Tr...",
    "operational_effect": "The observable signature of this failure is the *absence* of a signature. There is no exception, no 401, no audit anomaly at request time. The effects are: - **Silent privilege persistence.** A revoked capability continues to execute for up to `DCT.exp - revocation_time`. In the observed case, 4 minutes of unauthorized settlement. The blast radius is bounded..."
  },
  "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": "42df9d53c0ce00d4c2da1ab9cf65a973beab08e2b9aa76221501f91610466b7c",
    "verified_classes": [
      "StaleCredentialSnapshotError",
      "VerifiableCredential",
      "DelegatedCapabilityToken"
    ],
    "verified_functions": [
      "_vc_hash",
      "admit_dct"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleCredentialSnapshotError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
