{
  "schema_version": "1.3.0",
  "slug": "what-structural-signals-indicate-delegated-capability-attenuation-failure-in-aaif-token-chains-under-transitive-consent",
  "title": "What structural signals indicate delegated-capability attenuation failure in AAIF token chains under transitive consent",
  "date_of_record": "2026 December 1",
  "scope": "Applies to AAIF (Agent Identity and Authorization Framework) scoped capability tokens that propagate through multi-hop delegation—agent A grants a token to agent B, which attenuates and delegates to C—where each hop carries a verifiable credential and a consent record. Does not cover single-hop bearer tokens, OAuth2 client-credentials flows without delegation, or cases where the resource server trusts the root issuer directly and skips chain verification.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-capability-attenuation-failure-in-aaif-token-chains-under-transitive-consent.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-capability-attenuation-failure-in-aaif-token-chains-under-transitive-consent.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-structural-signals-indicate-delegated-capability-attenuation-failure-in-aaif-token-chains-under-transitive-consent.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1514,
    "python_slice_tokens": 229,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"token forgery\" and not \"expired credential.\" It is **attenuation drift on the consent lattice**: a delegated token whose scope set is a strict subset of its parent's scope, but whose *consent record* references a principal that never authorized the attenuated scope. The token verifies cryptographically at every hop; the chain is inta...",
    "what_was_observed": "A three-hop chain: orchestrator agent `O` holds root capability `cap:read:dataset/{tenant}` with consent record `consent://principal:alice/op:read`. `O` delegates to worker `W` an attenuated token scoped to `cap:read:dataset/tenant-42`, correctly embedding `parent_consent = consent://principal:alice/op:read`. `W` then delegates to sub-agent `S` a token scoped to `cap:read:dataset/tenant-42/col:email`—still a valid su...",
    "condition_of_validity": "The invariant that must hold for a delegated AAIF token to be safely accepted: > For every hop *i* in the chain, the `parent_consent` field of hop *i*'s attenuation proof MUST resolve, via the credential registry, to a consent record whose `issuer` is either the root principal or the issuer of hop *i−1*'s `parent_consent`, AND the conjunction of all `purpose...",
    "decision_boundary": "The boundary between \"accept\" and \"reject\" is **not** the scope-subset check. It is the **transitive consent closure check**: - **Accept** iff `resolve_consent_chain(token)` returns a chain terminating at a root principal DID, with no self-issued intermediate nodes, and `intersect_annotations(chain) ⊇ required_annotations(op)`. - **Reject** if any hop's `par...",
    "operational_effect": "Enforcing transitive consent closure at the verifier converts a silent privilege-escalation path into a hard rejection with a diagnosable signal. The cost is one registry round-trip per hop per verification (cacheable with a consent-record TTL shorter than the token TTL). The benefit is that the *only* way to obtain a token that passes is to have a genuine, ..."
  },
  "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": "f935afc624d18627822193e4e8de4d6edf2ed6ce33c28262ee6d738bba8ce966",
    "verified_classes": [
      "ConsentChainIntegrityError",
      "AttenuationProof",
      "VerifiedToken"
    ],
    "verified_functions": [
      "verify_transitive_consent_closure"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "ConsentChainIntegrityError"
    ],
    "sample_fail_closed_invariants": [
      "consent registry unreachable and token expired",
      "consent registry unreachable and token still live: quarantine, do not accept"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
