{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-delegated-authorization-chains-have-silently-collapsed-in-aaif-token-exchange",
  "title": "What structural signals indicate delegated-authorization chains have silently collapsed in AAIF token exchange",
  "date_of_record": "2026 November 29",
  "scope": "Applies to multi-hop AAIF (Agent Authorization & Identity Framework) delegation where an orchestrator agent exchanges an attenuated token on behalf of a sub-agent, chaining `act` (actor) claims across ≥2 hops. Does not apply to single-hop direct grants or to opaque bearer tokens without actor chains.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-chains-have-silently-collapsed-in-aaif-token-exchange.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-chains-have-silently-collapsed-in-aaif-token-exchange.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-authorization-chains-have-silently-collapsed-in-aaif-token-exchange.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1702,
    "python_slice_tokens": 303,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"token rejected.\" It is \"token accepted with a *shorter effective chain than the caller believes it holds*.\" When an AAIF exchange silently drops an `act` link—because the intermediate party re-mints rather than attenuates—the resulting token validates cryptographically, carries a plausible `sub`, and passes signature checks, yet the ...",
    "what_was_observed": "An orchestrator `O` holds a root grant `G` with scope `{read:repo, write:repo, admin:secrets}`. It intends to delegate only `{read:repo}` to worker `W` via a two-hop exchange: `O → exchange → W`, where the exchanged token should carry `act: {sub: O, act: {sub: G.issuer}}` and scope attenuated to `{read:repo}`. The exchange endpoint (`/aaif/v1/token/exchange`) is implemented by a middle service `M` that, instead of pe...",
    "condition_of_validity": "The invariant that must hold for a delegation chain to be trustworthy: > For any token `T` produced by exchange from parent `P`, `T.act` MUST be `{sub: P.sub, act: P.act}` (structural extension, not replacement), `T.scope ⊆ P.scope`, `T.exp ≤ P.exp`, and `T.jti` MUST be recorded in the attenuating party's log with a back-pointer to `P.jti`. A re-minting exch...",
    "decision_boundary": "The consumer must branch on chain *shape*, not chain *validity*: - **Accept** only if `act` depth equals `parent.act` depth + 1, `exp ≤ parent.exp`, and `jti` resolves to a logged attenuation of the parent. All three, conjunctively. - **Reject-and-halt** if `act` depth ≤ parent depth (flattening) or `exp > parent.exp` (TTL inflation). These are structural, n...",
    "operational_effect": "Downstream consequences of an undetected flatten: - **Accountability orphaning:** actions attribute to the immediate actor, not the root grant, so revocation of `G` does not retroactively invalidate tokens minted from it—`M`'s re-minted tokens outlive the grant they were derived from (because `exp` was inflated). Revocation becomes non-transitive. - **Privil..."
  },
  "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": "577e1dfda788f8f8727870855dbf9a851e636cdd46af915ac78017c3b1d569f7",
    "verified_classes": [
      "DelegationChainCollapse"
    ],
    "verified_functions": [
      "validate_attenuation",
      "_act_depth"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "DelegationChainCollapse"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
