{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-capability-token-whose-scope-closure-was-computed-under-a-different-policy-epoch",
  "title": "When must an instance refuse a delegated capability token whose scope closure was computed under a different policy epoch",
  "date_of_record": "2026 December 1",
  "scope": "Applies to AAIF-style delegated credential chains where a parent agent mints scoped capability tokens for child agents, and scope narrowing (attenuation) is computed against a versioned policy document. Does not apply to flat, non-delegated bearer tokens, nor to chains where every hop re-derives scope from scratch against a single pinned policy snapshot.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-scope-closure-was-computed-under-a-different-policy-epoch.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-scope-closure-was-computed-under-a-different-policy-epoch.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-capability-token-whose-scope-closure-was-computed-under-a-different-policy-epoch.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1807,
    "python_slice_tokens": 342,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not token forgery, signature breakage, or expiry. It is **scope-closure divergence across policy epochs**: a child token whose scope set was correctly attenuated at mint time becomes *wider than its parent's effective scope* after the authorization policy that defines what the parent's scope names *mean* is revised. The token signatu...",
    "what_was_observed": "A three-hop chain: orchestrator `O` → planner `P` → executor `E`. At epoch `e7`, `O` holds `cap:repo:*` and mints `P` a token scoped `cap:repo:read:*`. `P` mints `E` a token scoped `cap:repo:read:src/*`. Under `e7` policy, `cap:repo:read:*` expands to `{list, checkout, blame}` over all paths, and `src/*` is a strict sub-tree — attenuation holds. Policy `e8` is deployed. It introduces a new resource namespace `src/sec...",
    "condition_of_validity": "The subset invariant `denote(child, epoch) ⊆ denote(parent, epoch)` is preserved under delegation only if one of the following holds: 1. **Epoch pinning:** every token carries the policy epoch (or a hash of the scope-expansion table) at which its scope was closed, and every authorization check evaluates the token against *that* epoch's expansion, not the liv...",
    "decision_boundary": "An instance must refuse to *use* a delegated token (and must refuse to *further delegate* from it) when: - the token carries no epoch binding, AND - the live policy's expansion of the token's scope is not a verified subset of the expansion recorded at the parent hop, AND - the instance cannot obtain the parent's epoch-pinned expansion to perform the comparis...",
    "operational_effect": "Deployments that adopt epoch binding pay a cost: policy rollouts no longer take effect for already-issued tokens until those tokens are re-minted or expire, so a security fix that *narrows* a scope is delayed for the lifetime of outstanding tokens. This is the correct trade — a narrowing delay is a bounded risk, whereas an unbound widening is an unbounded on..."
  },
  "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": "79c198b462882020e7b2deec1824e1a0051e13a62f493cb395eb717a40d09cdc",
    "verified_classes": [
      "ScopeEpochDivergenceError"
    ],
    "verified_functions": [
      "authorize_delegated_use",
      "_scope_is_monotone_stable"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "ScopeEpochDivergenceError"
    ],
    "sample_fail_closed_invariants": [
      "asymmetric epoch binding across delegation hop; cannot evaluate semantic subset"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
