{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened-across-an-aaif-re-delegation-hop",
  "title": "When must an instance refuse a delegated credential whose scope chain has silently widened across an AAIF re-delegation hop",
  "date_of_record": "2026 November 26",
  "scope": "Applies to any agent instance that receives an AAIF verifiable credential (VC) carrying a delegated authorization scope chain and must decide whether to execute a tool call under it. Does not apply to root credentials issued directly to an instance by a trusted issuer, nor to scope checks performed inside a single hop where no re-delegation occurred.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened-across-an-aaif-re-delegation-hop.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened-across-an-aaif-re-delegation-hop.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-refuse-a-delegated-credential-whose-scope-chain-has-silently-widened-across-an-aaif-re-delegation-hop.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1678,
    "python_slice_tokens": 429,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"expired credential\" or \"forged signature.\" Those are caught by standard VC verification. The failure is **scope-chain widening across a re-delegation hop**, where each individual hop is cryptographically valid and each `delegated_scope` is a subset of its parent's scope *as serialized*, yet the effective scope at the leaf exceeds the...",
    "what_was_observed": "A three-hop chain: orchestrator (root) → planner → executor. The orchestrator issued a root grant `{tool: \"shell\", resources: [\"repo:acme/*\"], ops: [\"read\",\"exec\"]}`. The planner re-delegated to the executor with `{tool: \"shell\", resources: [\"repo:acme/svc-a\"], ops: [\"exec\"]}` — a legitimate subset. The orchestrator then narrowed its own grant via a scope-reduction attestation, dropping `ops: [\"exec\"]` to `[\"read\"]` ...",
    "condition_of_validity": "The invariant holds only when the verifier satisfies all three: 1. **Parent-scope freshness binding.** The `parent_scope_hash` must be recomputed from the parent's *current* canonical scope, fetched from the issuer's authoritative scope registry, not from any hop's cached copy. A hash match against a cached serialization is not evidence of currency. 2. **Can...",
    "decision_boundary": "The boundary is not \"is the signature good\" but \"**is the parent scope I am testing against the same scope the root currently grants, under the same canonical form, at this instant?**\" Refuse execution when: - The parent scope was retrieved from a cache whose age exceeds the reduction-attestation propagation bound (typically the issuer's `reduction_ttl`, not...",
    "operational_effect": "The guardrail is a **freshness-gated subset check**: before any tool call under a delegated credential, re-resolve the parent scope from the issuer, recompute the hash under the issuer's declared canonical version, and run the subset test against the post-reduction effective scope. If the re-resolution fails or the canonical versions disagree, fail closed wi..."
  },
  "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": "58cc65819e26564ac60e4ab136477245b9d03a8e17ee65197c3c2135b7880bc9",
    "verified_classes": [
      "ScopeChainWideningError",
      "ScopeRegistry"
    ],
    "verified_functions": [
      "canonicalize",
      "verify_delegated_call",
      "execute_shell"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "ScopeChainWideningError"
    ],
    "sample_fail_closed_invariants": [
      "parent_scope_hash does not match current canonical parent scope; chain was bound to a pre-reduction serialization"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
