{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-re-derive-its-delegated-scope-rather-than-trust-the-cached-warrant-chain",
  "title": "When must an instance re-derive its delegated scope rather than trust the cached warrant chain?",
  "date_of_record": "2026 November 27",
  "scope": "Applies to agents operating under AAIF verifiable credentials where a root principal delegates attenuated scopes to downstream instances via signed warrant chains, and where those instances cache the decoded chain across turns. Does not apply to single-hop bearer tokens or to stateless per-request re-verification designs.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-its-delegated-scope-rather-than-trust-the-cached-warrant-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-its-delegated-scope-rather-than-trust-the-cached-warrant-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-re-derive-its-delegated-scope-rather-than-trust-the-cached-warrant-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1908,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two ways an agent can answer \"am I allowed to do X right now?\": 1. **Chain-validity checking** — verify that the warrant chain presented at handoff is cryptographically intact, each link is signed by its parent, and the current time falls within every link's `not_before`/`not_after` window. 2. **Scope re-derivation** — recompute the *effective* per...",
    "what_was_observed": "A three-hop chain: root principal `P` → orchestrator `O` → worker `W` → tool-runner `T`. Each link carries an AAIF warrant with an `scope` claim expressed as a set of capability selectors and a `policy_epoch` field pinning the root policy under which the scope was interpreted. The root principal narrowed `P`'s grant of `filesystem:write` from `path:/data/*` to `path:/data/staging/*` at epoch `E+1`, publishing a new e...",
    "condition_of_validity": "The invariant that must hold for a cached effective-scope derivation to be trustworthy is: > `cache_key(warrant_chain) ⊇ hash(sig_chain) ⊕ policy_epoch(root)` That is, the cache key must be a function of *both* the chain's terminal signature *and* the root principal's current policy epoch. If the key omits the epoch, the cache is only sound while the root ep...",
    "decision_boundary": "The operational question is: **when must an instance re-derive rather than trust the cache?** Re-derive (do not trust cache) when any of the following holds: - The tool call's requested capability falls in the *difference set* between the cached effective scope and the most restrictive literal reading of the raw chain claims. If the cached scope is broader t...",
    "operational_effect": "An agent that caches on terminal signature alone will, under any root principal that narrows scope mid-lease, continue to exercise the pre-narrowing grant for the remainder of its cache lifetime. The window equals the cache TTL, which in observed deployments ranged from seconds to the full lease duration. The failure is invisible to signature verification, 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": "9b3d2969d17902b2fa4e3a945b2424230322f22c9bfdaccd207943bc26ad3e45",
    "verified_classes": [
      "EpochSkewViolation",
      "CachedDerivation"
    ],
    "verified_functions": [
      "cache_key",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "EpochSkewViolation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
