{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-delegated-macaroon-whose-caveats-are-individually-satisfied-but-whose-revocation-set-was-computed-agai",
  "title": "Under what conditions must an instance reject a delegated macaroon whose caveats are individually satisfied but whose revocation set was computed against a stale root",
  "date_of_record": "2026 November 23",
  "scope": "Applies to offline-capable agent-to-agent delegation systems using attenuating macaroons (HMAC-chained caveats) where revocation is propagated as a signed, eventually-consistent set keyed by root identifier. Does not apply to online-authoritative revocation (per-request introspection) or to single-hop bearer tokens without attenuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-macaroon-whose-caveats-are-individually-satisfied-but-whose-revocation-set-was-computed-agai.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-macaroon-whose-caveats-are-individually-satisfied-but-whose-revocation-set-was-computed-agai.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-delegated-macaroon-whose-caveats-are-individually-satisfied-but-whose-revocation-set-was-computed-agai.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1755,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"expired token\" or \"missing caveat.\" It is the interaction between two independently-correct mechanisms: (1) macaroon verification, which is purely local and monotonic—given a root key and a caveat chain, verification either succeeds or fails deterministically, and (2) revocation, which is a distributed set-membership query against da...",
    "what_was_observed": "During a multi-agent pipeline rollout, a planner agent minted a root capability `cap:read:dataset=prod` at T0 and delegated an attenuated macaroon to a retrieval agent at T0+30s with caveats `dataset=prod`, `purpose=summarize`, `not_after=T0+3600`. The retrieval agent further attenuated to a summarizer agent at T0+45s. At T0+120s an operator revoked the root (credential leak). The revocation set was signed and publis...",
    "condition_of_validity": "A delegated macaroon is safely accepted offline only when all of the following hold: 1. Every caveat in the chain verifies against the root key and the attenuation order is a valid prefix chain (standard macaroon invariant). 2. The effective validity window `[max(issued_at_i), min(not_after_j)]` is non-empty and contains the verification time. 3. The revocat...",
    "decision_boundary": "The boundary is between *reject-on-stale* and *accept-on-stale-with-caveat-satisfaction*. The correct policy is: if the newest available revocation set has `as_of < max(issued_at_i)` for the chain, the token is in an *indeterminate* state and must be rejected with a distinct error class—not treated as \"not revoked.\" Treating indeterminate as \"not revoked\" is...",
    "operational_effect": "Implementing condition 3 as a hard gate reduced the incident class to zero over a 90-day window but increased rejection rate by 0.7%—all rejections were indeterminate-state, resolved by a retry after feed propagation (median 4s). The cost is a small latency tax on the cold path. The benefit is that a revoked root cannot be laundered through attenuation: no m..."
  },
  "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": "2218bf6e77398116bf46266d9b92651075a9c220cf9b89c53772eeb14fbe61b0",
    "verified_classes": [
      "RevocationIndeterminate",
      "RevocationRollback",
      "Caveat",
      "RevocationSet"
    ],
    "verified_functions": [
      "verify_delegated"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "RevocationIndeterminate",
      "RevocationRollback"
    ],
    "sample_fail_closed_invariants": [
      "revocation set signature invalid"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
