{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-accept-a-delegated-consent-token-whose-scope-was-silently-widened-by-the-aaif-re-delegation-chain",
  "title": "Why does an instance accept a delegated consent token whose scope was silently widened by the AAIF re-delegation chain?",
  "date_of_record": "2026 November 28",
  "scope": "Applies to AAIF (Agent Authorization Interoperability Framework) credential binding where a consent token is re-delegated across two or more agent instances via a chain of `act` (actor) claims. Does not apply to single-hop tokens presented directly by the original principal, nor to tokens validated against a monolithic policy engine that re-derives scope from the principal's grant on every call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-consent-token-whose-scope-was-silently-widened-by-the-aaif-re-delegation-chain.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-consent-token-whose-scope-was-silently-widened-by-the-aaif-re-delegation-chain.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-accept-a-delegated-consent-token-whose-scope-was-silently-widened-by-the-aaif-re-delegation-chain.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1891,
    "python_slice_tokens": 321,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters is between **token validity** and **token authority**. AAIF verification, as commonly implemented, checks that a delegated consent token is cryptographically valid: the signature chain resolves to a trusted issuer, every `act` claim links to the previous actor, and the token has not expired. It does *not*, by default, check that ...",
    "what_was_observed": "A three-instance pipeline: orchestrator `O` receives a principal grant `scope={read:repo, write:pr}`. `O` delegates to worker `W` with `scope={write:pr}` (a deliberate narrowing—`O` keeps `read:repo` for itself). `W`, needing to attach a diff, calls a helper `H` to fetch context. `W` constructs the delegation to `H` by *copying its own inbound token's scope field and appending* `read:repo` because the helper's schema...",
    "condition_of_validity": "The guardrail holds only if the verifying service enforces **scope monotonicity across the `act` chain**, not merely leaf-scope containment. Concretely, for a chain `P → A₁ → A₂ → … → Aₙ` with leaf token `T`, the verifier must reconstruct each hop's `scope` from the embedded `act` claims and assert: - `scope(T) ⊆ scope(Aₙ)` (leaf is within its immediate dele...",
    "decision_boundary": "The decision boundary is whether the verifier trusts the leaf token's self-description or reconstructs authority from the chain. Two concrete rules: 1. **Admit** a call when `scope(T) ⊆ scope(Aₙ) ⊆ … ⊆ scope(P)` holds and the operation is in `scope(T)`. This is the only safe admission condition for multi-hop tokens. 2. **Reject** with a distinct, non-retryab...",
    "operational_effect": "When monotonicity is unenforced, the blast radius is bounded by the principal's total grant but not by the principal's *intent to partition* that grant. In the observed case, `O` deliberately withheld `read:repo` from `W` to enforce a least-privilege partition; the widening by `W` collapsed that partition. Downstream, audit logs show `H` performing `read:rep..."
  },
  "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": "b4d9a5f521d9d710e47949046f521ae4b646a67b5d31a0e4ecdd68b8401bd269",
    "verified_classes": [
      "ScopeWideningError",
      "ActClaim",
      "ConsentToken"
    ],
    "verified_functions": [
      "verify_chain_monotonicity",
      "construct_delegation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ScopeWideningError"
    ],
    "sample_fail_closed_invariants": [
      "empty act chain: cannot establish monotonicity"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
