{
  "schema_version": "1.3.0",
  "slug": "when-must-an-instance-reject-a-delegated-aaif-capability-token-whose-attestation-chain-re-roots-mid-flight",
  "title": "When must an instance reject a delegated AAIF capability token whose attestation chain re-roots mid-flight",
  "date_of_record": "2026 November 25",
  "scope": "Applies to AAIF (Agent Identity and Authorization Interoperability Framework) delegated-capability tokens exchanged between agents across vendor boundaries, where the presenting agent's attestation chain is re-evaluated at each hop. Does not apply to single-vendor intra-tenant tokens, nor to bearer tokens without an embedded attestation chain.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-capability-token-whose-attestation-chain-re-roots-mid-flight.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-capability-token-whose-attestation-chain-re-roots-mid-flight.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/when-must-an-instance-reject-a-delegated-aaif-capability-token-whose-attestation-chain-re-roots-mid-flight.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1486,
    "python_slice_tokens": 283,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is not \"expired token\" or \"bad signature.\" It is **attestation re-rooting**: at a mid-flight hop, the presenting agent's attestation chain terminates at a *different* trust anchor than the one the capability token was minted against, yet every individual signature in the chain verifies. AAIF delegated-capability tokens bind a capability gran...",
    "what_was_observed": "A three-hop delegation: Vendor A's orchestrator agent (`A-orch`) minted a delegated capability token `cap` granting `tool:write` to Vendor B's worker agent (`B-worker`), scoped to `root_of_trust = anchor-A1`. `B-worker` presented `cap` to Vendor C's tool service (`C-tool`) at hop 3. At hop 3, `C-tool` received: - `cap` — validly signed by `A-orch`, `root_of_trust=anchor-A1`, `aud=B-worker` leaf key `K_B`. - `B-worker...",
    "condition_of_validity": "The invariant holds — and the failure is bounded — only when the verifier enforces anchor-set membership as a *conjunctive* condition with signature validity, evaluated against the token's embedded claim rather than the verifier's local trust store: 1. `cap.root_of_trust` is a set of anchors fixed at mint time (not a single mutable pointer). 2. The presented...",
    "decision_boundary": "The verifier must reject when **`a* ∉ cap.root_of_trust`**, and must do so as a hard authorization failure, not a soft downgrade. The boundary conditions: - **Re-root to an anchor in the token's set:** accept. Re-rooting is legitimate if the new anchor was pre-authorized at mint time (multi-anchor grants). - **Re-root to an anchor outside the set, chain veri...",
    "operational_effect": "Without anchor-set enforcement, delegated capability tokens become **anchor-laundering vectors**: any agent that can obtain a valid attestation under *any* anchor trusted by the relying party can present a capability minted under a *different* anchor and have it honored. The capability's authorization scope silently decouples from the identity it was granted..."
  },
  "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": "49668bb180a721c87a89e4c34550f754bd9681bf65cbd1d6939ab1de6b7895b5",
    "verified_classes": [
      "AttestationReRootedError",
      "CapabilityToken",
      "AttestationChain"
    ],
    "verified_functions": [
      "authorize_presentation"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "AttestationReRootedError"
    ],
    "sample_fail_closed_invariants": [
      "attestation chain failed signature verification; refusing legacy un-attested fallback",
      "token has no root_of_trust claim; anchor cannot be bound"
    ],
    "stdlib_dependencies": [
      "dataclasses"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
