{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-delegated-authorization-token-exchange-has-silently-downgraded-scope-in-aaif-agent-handoffs",
  "title": "What structural signals indicate delegated-authorization token exchange has silently downgraded scope in AAIF agent handoffs",
  "date_of_record": "2026 November 28",
  "scope": "Applies to multi-hop agent-to-agent authorization using AAIF-style delegated tokens where an orchestrator mints a downstream capability token derived from its own inbound grant. Does not apply to single-hop bearer tokens or to human OAuth flows where the subject is a fixed principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-token-exchange-has-silently-downgraded-scope-in-aaif-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-token-exchange-has-silently-downgraded-scope-in-aaif-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-token-exchange-has-silently-downgraded-scope-in-aaif-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1711,
    "python_slice_tokens": 234,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"token rejected.\" Rejected tokens are loud, cheap, and safe. The failure is **silent scope widening during derivation** — a delegated token that is *valid*, *signed*, *unexpired*, and *accepted by the downstream verifier*, yet whose effective authority is a strict superset of what the delegating agent actually held at mint time. The verifi...",
    "what_was_observed": "An orchestrator agent (`orch-7`) received an inbound AAIF grant from a user-facing gateway with the scope set `{read:repo, read:issues}` and a delegation budget of `max_derivation_depth=2`. It needed to spawn a sub-agent (`worker-3`) to triage issues and, as part of triage, *label* them. The orchestrator's derivation routine did the following: 1. Parsed inbound scopes into a set. 2. Determined the task required `writ...",
    "condition_of_validity": "The containment invariant that must hold for delegation to be safe: > For any derived token `T_d` minted by agent `A` holding inbound token `T_i`, `scopes(T_d) ⊆ scopes(T_i)`, **and** this containment is checked at verification time by the *receiving* agent against the *ancestor* token, not merely asserted at mint time by the deriving agent. Two conditions m...",
    "decision_boundary": "The precise boundary where silent widening becomes possible: - **Depth ≥ 1 derivation with scope union semantics.** If the derivation routine uses `union` rather than `intersection` (or an explicit narrowing function), widening is structurally enabled. Union is the natural implementation when an agent \"adds what it needs.\" - **Verifier that checks provenance...",
    "operational_effect": "The blast radius is asymmetric and delayed. Because the widened token is valid, no error surfaces at mint, at forward, or at first use. The failure manifests as **unauthorized action attributed to the wrong principal**: an audit log will show `worker-3` performing `write:labels`, traced to `orch-7`, traced to the gateway grant — and the gateway grant will no..."
  },
  "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": "080cf80dcc0122afad25473fb84b867ac98ca6f335c1f6ccabc28c53a7327e39",
    "verified_classes": [
      "DelegationScopeInflation"
    ],
    "verified_functions": [
      "verify_derived_token"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationScopeInflation"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
