{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-aaif-token-whose-attestation-chain-verifies-but-whose-scope-lattice-no-longer-covers-the-requested-capability",
  "title": "Why does an instance accept a delegated AAIF token whose attestation chain verifies but whose scope lattice no longer covers the requested capability?",
  "date_of_record": "2026 November 24",
  "scope": "Applies to any agent runtime that admits delegated AAIF tokens carrying a scoped attestation chain and performs authorization by walking that chain at request time. Does not apply to single-hop bearer tokens without delegation, nor to deployments where scope is re-derived from the root principal on every call rather than inherited through the chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-attestation-chain-verifies-but-whose-scope-lattice-no-longer-covers-the-requested-capability.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-attestation-chain-verifies-but-whose-scope-lattice-no-longer-covers-the-requested-capability.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-aaif-token-whose-attestation-chain-verifies-but-whose-scope-lattice-no-longer-covers-the-requested-capability.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1987,
    "python_slice_tokens": 191,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two things an AAIF verifier can confirm, and they are not the same: 1. **Chain validity** — every link's signature verifies, every issuer is the parent link's subject, the chain terminates at a trusted root, and no link is expired or revoked. 2. **Scope coverage** — the union of constraints imposed along the chain (the *scope lattice*) still admits...",
    "what_was_observed": "A three-hop delegation in a research-agent deployment: - Root principal `P` (human operator) mints a token to orchestrator `O` with scope `S_P = {read:corpus, write:scratch, spawn:worker, budget:5000}`. - `O` delegates to planner `L` with `S_L = S_P ∩ {read:corpus, spawn:worker, budget:2000}` — note `write:scratch` was dropped and budget halved. - `L` delegates to worker `W` with `S_W = S_L ∩ {read:corpus, budget:800...",
    "condition_of_validity": "The chain-validity check is sound only under the assumption that **the `running` scope field on any token equals the intersection of all ancestors' `granted` sets plus its own**. This is an invariant that must be *enforced at emission and re-checked at verification*, not assumed from the fact that the emitter is trusted. The invariant is violated whenever: -...",
    "decision_boundary": "The boundary is between **trusting the chain as an artifact** and **trusting the chain as a computation**. A verifier that trusts the artifact does: A verifier that trusts the computation does: The second form is the only one that bounds the failure. The first form is correct only under a *trust assumption on every emitter in the chain* — which is exactly wh...",
    "operational_effect": "The practical consequence is that **scope attenuation is not a security property of the token; it is a property of the verifier's arithmetic**. Two deployments running the same AAIF library version can have different effective security postures depending on whether their verifier recomputes or trusts. For agent runtimes, this manifests as: - **Silent over-pr..."
  },
  "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": "46bc62278f735f3a4d00fe0e6e5cfb400bc3eedf926742d96ec92ae2afb7209c",
    "verified_classes": [
      "ScopeLatticeMismatchError",
      "Link"
    ],
    "verified_functions": [
      "verify_and_authorize"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 2,
    "raised_exceptions": [
      "ScopeLatticeMismatchError"
    ],
    "sample_fail_closed_invariants": [
      "empty chain"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
