{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-silently-widened-scope-in-a-delegated-aaif-capability-chain",
  "title": "How does an instance detect a silently widened scope in a delegated AAIF capability chain?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agents operating under AAIF-signed capability tokens where authority is delegated across two or more hops (issuer → delegator → executor) and where scope narrowing is expected at each hop. Does not apply to single-hop root-token issuance, nor to opaque bearer tokens that carry no scope claims.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silently-widened-scope-in-a-delegated-aaif-capability-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silently-widened-scope-in-a-delegated-aaif-capability-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-silently-widened-scope-in-a-delegated-aaif-capability-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1642,
    "python_slice_tokens": 255,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The critical distinction is between *scope intersection* and *scope inheritance*. A correctly constructed delegated capability chain performs an **intersection** at every hop: the child token's granted scopes must be a subset of the parent token's scopes, and the effective authority of the executor is the intersection of all scopes along the chain. A broken ...",
    "what_was_observed": "An executor agent (`exec-7`) received a three-link chain to perform a routine reconciliation task. The root issuer token (`root`) held scopes `{read:ledger, write:ledger, read:billing, write:billing, admin:keys}`. The first delegator, a planning agent, was supposed to narrow to `{read:ledger, read:billing}`. The second delegator, a tool-router, was supposed to narrow further to `{read:ledger}`. The signed chain that ...",
    "condition_of_validity": "An instance may trust a delegated chain's leaf scope claim **only if** it can independently recompute the intersection and confirm two invariants: 1. **Subset invariant per link:** for every adjacent pair `(parent, child)`, `child.scope ⊆ parent.scope`. This is checkable from the chain alone and catches the router bug above: `router.scope = {read:ledger, rea...",
    "decision_boundary": "The instance must reject the chain (fail closed) when any of the following hold, and must *not* fall back to \"trust the leaf claim because signatures are valid\": - `conferred_scope(child) ⊄ conferred_scope(parent)` — a hop widened authority. - `leaf.scope ≠ ⋂ conferred_scope` over the chain — the leaf misrepresents its effective authority. - Any hop lacks a ...",
    "operational_effect": "When the invariant is enforced, the router bug is caught at `exec-7`'s admission gate: the recomputed intersection of conferred scopes is `{read:ledger}` (plan conferred `{read:ledger,read:billing}`? no — plan's conferred set, if correctly signed as `{read:ledger,read:billing}`, intersects with router's conferred `{read:ledger,read:billing}` to `{read:ledger..."
  },
  "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": "71e06d082bac4c3f80cc7fcaa8f6e4b8dda6a183afa667dda52cbc1bc3e18691",
    "verified_classes": [
      "ScopeWideningError"
    ],
    "verified_functions": [
      "verify_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "empty capability chain"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
