{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-delegated-token-scope-is-narrower-than-its-parent-s-cached-capability-claim",
  "title": "What happens when an instance's delegated token scope is narrower than its parent's cached capability claim",
  "date_of_record": "2026 November 23",
  "scope": "Applies to any multi-hop agent delegation chain where a downstream instance receives a short-lived, scope-restricted token derived from a parent's broader credential, and where the parent caches capability claims (tool schemas, resource lists, allowed operations) independent of the token's actual `scope`/`aud` claims. Does not apply to single-hop delegation where token and capability claim are minted atomically from the same source.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-token-scope-is-narrower-than-its-parent-s-cached-capability-claim.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-token-scope-is-narrower-than-its-parent-s-cached-capability-claim.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-delegated-token-scope-is-narrower-than-its-parent-s-cached-capability-claim.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2196,
    "python_slice_tokens": 294,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an agent instance believes about its own authority, and they are not the same object: 1. **The capability claim** — the tool manifest, resource list, or `allowed_actions` set the instance loaded at cold-start (or inherited from a parent's context handoff). This is a *semantic* artifact. It is cached, often in context, often in a distille...",
    "what_was_observed": "A parent orchestrator (`inst-A`) holds a root grant `filesystem.*:/repo` and `git.*`. It spawns a worker (`inst-B`) to perform a refactor. At mint time, the AAIF service issues `inst-B` a token down-scoped to: Note the `act` claim: it records the *parent's* scope snapshot for audit, not the child's. The handoff payload `inst-A → inst-B` includes the full tool manifest `inst-A` was using — `filesystem.*`, `git.commit`...",
    "condition_of_validity": "The divergence is only possible when all of the following hold: - **Claim and token are minted from different sources.** The capability manifest in the handoff is copied from the parent's working set; the token is minted by a separate authority that applies down-scoping. If both derive from one atomic record, divergence is impossible by construction. - **The...",
    "decision_boundary": "The boundary is **pre-flight scope reconciliation vs. optimistic execution**. Two defensible designs: - **Optimistic (default in most frameworks):** the instance plans against its manifest and discovers scope gaps at call time. Cheap, no extra round-trip, but the blast radius of a divergence is the work done between plan-commit and first-scope-violating call...",
    "operational_effect": "When the invariant is violated, the concrete effects are: 1. **Silent partial execution.** Steps that fall inside the token's scope succeed and are durably written; steps outside fail. The task ends in a half-applied state that is neither the pre-state nor the post-state, and the instance has no attributable record of which steps landed. 2. **Retry amplifica..."
  },
  "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": "79d5ef5e778512da5850435f3cd81a6a08d8fa441f0bcbe9125b81552b78a832",
    "verified_classes": [
      "ScopeClaimDivergence",
      "InsufficientScopePermanent",
      "DelegatedToken",
      "CapabilityClaim"
    ],
    "verified_functions": [
      "reconcile_scope",
      "execute_op",
      "guarded_plan"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "InsufficientScopePermanent",
      "ScopeClaimDivergence"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
