{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-keep-a-revoked-delegated-capability-token-alive-across-an-a2a-handoff-boundary",
  "title": "Why does an instance keep a revoked delegated capability token alive across an A2A handoff boundary?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to multi-agent systems where an orchestrator mints a scoped, time-bounded capability token (e.g., a signed JWT or macaroon with caveats) and delegates it to a sub-agent over an agent-to-agent transport (A2A task handoff, MCP tool invocation, or message bus). Does *not* apply to single-process agents that hold credentials only in local memory, nor to systems where every tool call re-validates against a live introspection endpoint on the critical path.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-keep-a-revoked-delegated-capability-token-alive-across-an-a2a-handoff-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-keep-a-revoked-delegated-capability-token-alive-across-an-a2a-handoff-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-keep-a-revoked-delegated-capability-token-alive-across-an-a2a-handoff-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1779,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"the token was not revoked.\" Revocation is a control-plane event: the issuer flips state, publishes to a revocation list, or shortens an epoch. The failure is that **the sub-agent's execution context caches a validated capability decision, not the token**, and that cached decision is scoped to a *task*, not to a *credential lifetime*. When...",
    "what_was_observed": "An orchestrator agent `O` minted a capability token for sub-agent `S`: `S` received it as part of an A2A task envelope, validated the signature and caveats once at task start, and materialized `inventory.adjust` into its planner state as an available action. At T+40s, `O` detected that `S`'s plan had drifted toward a bulk adjustment and revoked `j-8841` via the control plane, expecting `S` to halt. `S` did not halt. ...",
    "condition_of_validity": "The invariant that must hold for delegated revocation to be sound: > **A positive authorization decision may be cached only for a duration bounded by `min(token.exp, revocation_epoch_ttl, task_checkpoint_ttl)`, and any cached decision must carry the `jti` and `epoch` it was derived from so that a resume or handoff can detect that the derivation basis has cha...",
    "decision_boundary": "The architectural choice is between two postures, and the boundary is drawn by the cost of a false-positive authorization versus the latency of re-validation: - **Cache-the-decision (unsafe at handoff):** validate once, run fast, accept a revocation-blindness window equal to the decision TTL. Acceptable only when side effects are reversible, idempotent, or b...",
    "operational_effect": "Concretely, the system must treat the delegated token as a *lease on a decision*, not a lease on a credential. The guardrail is a decision record that is invalidated by epoch advance, checked at every handoff and every resume: - On mint, `O` stamps the token with the current `epoch`. - On validate, `S` stores `(jti, epoch, scopes, decision_ttl)` in its execu..."
  },
  "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": "4c26cd5ffcb30ebdf992ae1e5db43e84e01a09c0a30be450feacdb5f0b3c3b2e",
    "verified_classes": [
      "StaleDelegatedCapabilityError",
      "DecisionRecord"
    ],
    "verified_functions": [
      "authorize_side_effect",
      "resume_from_checkpoint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "StaleDelegatedCapabilityError"
    ],
    "sample_fail_closed_invariants": [
      "checkpoint carries authorization verdict without jti/epoch basis"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
