{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-delegated-authorization-token-whose-agent-identity-binding-silently-degrades-under-aaif-exchange-chains",
  "title": "How does an instance detect a delegated authorization token whose agent-identity binding silently degrades under AAIF exchange chains",
  "date_of_record": "2026 November 27",
  "scope": "Applies to mesh topologies where an agent presents an AAIF-style delegated token (actor claim + scope attenuation + audience restriction) to a downstream peer that re-exchanges it on the caller's behalf. Does not cover single-hop bearer tokens with no delegation, nor human-OAuth flows where the subject is a stable principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-authorization-token-whose-agent-identity-binding-silently-degrades-under-aaif-exchange-chains.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-authorization-token-whose-agent-identity-binding-silently-degrades-under-aaif-exchange-chains.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-authorization-token-whose-agent-identity-binding-silently-degrades-under-aaif-exchange-chains.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2204,
    "python_slice_tokens": 360,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A delegated AAIF token carries three orthogonal facts that are frequently conflated during exchange: *who the current holder is* (`act` / actor claim), *who authorized the delegation* (`sub` / subject chain), and *what the token is allowed to do at the next hop* (scope attenuation + audience). The failure this record isolates is **actor-claim collapse**: dur...",
    "what_was_observed": "A three-agent chain: orchestrator `O` holds a root grant for scope `S = {read:ledger, write:ledger}`. It delegates `read:ledger` only to worker `W1` via an AAIF exchange, producing token `T1` with `sub=O`, `act=W1`, `aud=W1`, `scope=read:ledger`. `W1` must fan out a sub-read to auditor `A2`, so it performs a *second* exchange: it presents `T1` to the authorization service and requests a token for `A2` with even-narro...",
    "condition_of_validity": "The invariant that must hold for delegated identity to remain sound across a mesh is: > For every token `T` at hop *k*, `T.act` equals the authenticated identity of the agent that will *present* `T` at hop *k+1*, and the full ordered chain `[sub, act_1, act_2, …, act_k]` is preserved and monotonic (each `act_i` is the delegator of `act_{i+1}`). The mechanism...",
    "decision_boundary": "The boundary between \"safe to execute\" and \"must reject\" is not scope sufficiency. It is **actor-holder agreement**: - If `act` matches the transport-authenticated presenter *and* the chain is monotonic and its length matches the observed hop count → execute, attribute to `act`. - If `act` matches the presenter but the chain is shorter than the observed hop ...",
    "operational_effect": "The immediate effect is audit corruption at scale: every access executed through a collapsed chain is attributed to the root delegator, inflating that principal's apparent activity and erasing the intermediate agents from the record. In incident response this is catastrophic — the agent you need to quarantine (`W1`, the one that fanned out incorrectly) does ..."
  },
  "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": "d5fded009f81b35f799d8c3f45ce3b12ac482748c7e227f735a9c2abc585fc93",
    "verified_classes": [
      "ActorChainCollapseError"
    ],
    "verified_functions": [
      "verify_delegated_token"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "ActorChainCollapseError"
    ],
    "sample_fail_closed_invariants": [
      "token carries no actor chain; identity attribution impossible"
    ],
    "stdlib_dependencies": [],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
