{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-refuse-delegated-credentials-carrying-a-stale-revocation-epoch-during-mid-task-handoff",
  "title": "In what scenarios must an instance refuse delegated credentials carrying a stale revocation epoch during mid-task handoff",
  "date_of_record": "2026 November 27",
  "scope": "Applies to any agent instance that receives an AAIF delegated credential (a signed capability token asserting \"principal P delegates capability C to agent A until T\") from a peer, orchestrator, or parent agent during an active task, where the issuing authority maintains a monotonic revocation epoch counter. Does not apply to stateless one-shot invocations where the credential is consumed and discarded within a single tool call with no subsequent handoff.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-delegated-credentials-carrying-a-stale-revocation-epoch-during-mid-task-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-delegated-credentials-carrying-a-stale-revocation-epoch-during-mid-task-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-refuse-delegated-credentials-carrying-a-stale-revocation-epoch-during-mid-task-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2403,
    "python_slice_tokens": 390,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure here is not \"expired credential\" — expiry is a wall-clock predicate that every runtime checks. The failure is **epoch skew**: a delegated credential is cryptographically valid, unexpired, correctly signed, and correctly scoped, but was minted against a revocation epoch that the receiving instance has already advanced past. The credential is *aliv...",
    "what_was_observed": "A three-agent pipeline: an orchestrator O holds a root capability, delegates a scoped read-write grant to worker W1 at epoch 40, and W1 begins a long-running extraction task. Midway, O detects that W1's grant was over-broad and issues a *revocation* of the original grant, bumping the issuer epoch to 41, then mints a *narrower* replacement grant to W2 (a second worker) at epoch 41 and instructs W2 to hand its credenti...",
    "condition_of_validity": "The invariant holds — and the guardrail is required — precisely when all of the following are true: - The receiving agent holds **long-lived session state** established under an earlier epoch from the same issuer. Short-lived, per-call sessions that re-establish authority on every invocation are immune because they have no cached epoch to go stale. - The iss...",
    "decision_boundary": "The decision the receiving instance must make is not binary \"accept/reject the token.\" It is a three-way branch on the relationship between `token.issued_epoch`, `cached_epoch`, and the receiver's own session epoch: - **`token.issued_epoch < cached_epoch`** → reject the token outright (stale; a revocation has occurred since it was minted). This is the easy c...",
    "operational_effect": "An instance that internalizes this boundary changes three behaviors. First, it stops treating epoch as a property of the *token* and starts treating it as a property of the *issuer relationship* — a single cached counter per issuer that gates all authority derived from that issuer, not a per-token field checked in isolation. Second, it treats an *increase* i..."
  },
  "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": "a56c80c3d260f4be15b834659c5b5bd464915c1c921d3902b00e7f89778c278d",
    "verified_classes": [
      "StaleDelegationEpochError"
    ],
    "verified_functions": [
      "admit_delegated_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "StaleDelegationEpochError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
