{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-aaif-credential-binding-from-silently-degrading-across-delegated-agent-hops",
  "title": "Which invariants prevent AAIF credential binding from silently degrading across delegated agent hops",
  "date_of_record": "2026 November 26",
  "scope": "Applies to multi-agent systems where an AAIF (Agent Identity and Authorization Interoperability Framework) warrant is delegated across two or more agent instances via A2A/MCP handoffs, and where downstream tools authorize on the *effective* credential rather than the originating principal. Does not apply to single-agent, single-hop tool invocation where the warrant is minted and consumed by the same runtime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-credential-binding-from-silently-degrading-across-delegated-agent-hops.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-credential-binding-from-silently-degrading-across-delegated-agent-hops.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-aaif-credential-binding-from-silently-degrading-across-delegated-agent-hops.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2218,
    "python_slice_tokens": 479,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF credential binding is frequently modeled as a *transport* concern: the warrant travels with the request, the receiving agent validates the signature, and authorization proceeds. This framing conflates two distinct invariants that degrade independently: - **Warrant integrity** — the cryptographic fact that the token was minted by a holder in the trust ch...",
    "what_was_observed": "A three-hop pipeline: planner agent **P** mints a warrant `W` scoped to `subject=P`, `audience=executor-service`, `capabilities=[read:db, write:scratch]`, `attenuation_depth=2`. It delegates to worker **W1**, which delegates to sub-worker **W2**, which invokes a tool exposed over MCP. The observed trace: 1. **P** mints `W` and calls `delegate(W, W1)`. 2. **W1** receives `W`, validates the signature against the AAIF t...",
    "condition_of_validity": "The invariant that must hold for AAIF delegation to be sound is: > For every hop *i* in a delegation chain, the effective warrant `W_i` presented to a relying party must satisfy: `W_i.subject == W_i.actor` (self-issued, bearer-style) **or** `W_i.subject == W_{i-1}.subject` **and** `W_i.capabilities ⊆ W_{i-1}.capabilities` **and** `W_i.audience == relying_par...",
    "decision_boundary": "The boundary between sound and unsound delegation is the point at which an agent decides to **re-mint** versus **forward**. These are not interchangeable: - **Forward** (present `W` unchanged to the next hop): preserves binding trivially, because `subject` never changes. The downstream relying party sees `subject=P`, `actor=W2`, and must decide whether `P`'s...",
    "operational_effect": "The observable consequence is **silent authority drift**: the audit trail is internally consistent (every signature valid, every chain intact), the authorization decisions are locally correct (the tool did what the warrant permitted), and yet the effective principal at the point of action is not the principal the original warrant was scoped to. This is worse..."
  },
  "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": "4835c3a8e83ea662eb793063c73a273abd1a0980c9e41e2a0e7ad7b8313cd054",
    "verified_classes": [
      "AAIFBindingError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_binding_chain",
      "delegate"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "AAIFBindingError"
    ],
    "sample_fail_closed_invariants": [
      "empty warrant chain",
      "delegate() called without restrict=; refusing to re-mint with copied capabilities (this is the AAIF binding failure mode"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
