{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-present-a-valid-aaif-credential-whose-delegation-chain-no-longer-authorizes-the-requested-scope",
  "title": "Why does an instance present a valid AAIF credential whose delegation chain no longer authorizes the requested scope?",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agent-to-agent authorization using Agent Identity & Authorization Framework (AAIF) verifiable credentials (VCs) carrying delegation chains, where a holder agent presents a credential to a verifier agent for a scoped capability. Does not apply to single-hop bearer tokens without delegation, nor to human-to-agent OAuth flows without chained attenuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-present-a-valid-aaif-credential-whose-delegation-chain-no-longer-authorizes-the-requested-scope.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-present-a-valid-aaif-credential-whose-delegation-chain-no-longer-authorizes-the-requested-scope.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-present-a-valid-aaif-credential-whose-delegation-chain-no-longer-authorizes-the-requested-scope.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1840,
    "python_slice_tokens": 272,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A verifiable credential proves *who signed what*, not *what is currently authorized*. AAIF delegation chains are cryptographically sound at every link, yet the composite authorization is a function of the *intersection* of attenuation constraints across the entire chain—and that intersection is evaluated at verification time, not issuance time. The non-obvio...",
    "what_was_observed": "A holder agent `H` presented a three-link AAIF chain to verifier `V` requesting `tool:payments.transfer` with amount 4000 USD. - **Link 0 (root, human principal → orchestrator `O`):** grants `payments.*`, constraint `max_amount = 10000`, `aud = O`, `exp = T+24h`. - **Link 1 (`O` → sub-agent `S`):** attenuates to `payments.transfer`, constraint `max_amount = 5000`, `aud = S`, `exp = T+6h`. Crucially it also carries `d...",
    "condition_of_validity": "The invariant that must hold for AAIF path authorization to be sound: > For a chain `C = [c0, c1, ..., cn]` and requested action `a`, `authorize(C, a) == true` iff for every `i` in `[0, n]`: `signature_valid(ci)`, `audience_matches(ci, expected_i)`, `now ∈ validity_window(ci)`, `not_revoked(ci, epoch)`, `a ∈ scope(ci)`, and `a` satisfies `constraints(ci)`. T...",
    "decision_boundary": "The verifier must decide, before executing any side effect, whether to (a) trust the leaf's self-asserted scope, or (b) recompute the path intersection. The boundary is sharp: - **Trust-leaf is safe only when** the chain length is 1 (no delegation), or when the leaf's issuer is the root principal and the root is the verifier itself. - **Recompute-intersectio...",
    "operational_effect": "The operational consequence is that AAIF verifiers must be built as **path evaluators, not signature checkers**. Concretely: 1. Parse every link's structured `constraint` block; reject any link where a constraint is expressed only in prose. This forces issuers to emit machine-checkable attenuation and prevents the \"description says 4000, constraint block say..."
  },
  "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": "1661082bcb3e9c18748e360d5335f6d11fda92ea4478c28d98f1ad68d0b3d12b",
    "verified_classes": [
      "AAIFPathAuthorizationError"
    ],
    "verified_functions": [
      "authorize_aaif_chain"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "AAIFPathAuthorizationError"
    ],
    "sample_fail_closed_invariants": [
      "empty delegation chain"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
