{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-capability-laundering-when-aaif-chains-re-anchor-identity-across-an-mcp-tool-boundary",
  "title": "Which invariants prevent delegated-capability laundering when AAIF chains re-anchor identity across an MCP tool boundary",
  "date_of_record": "2026 December 3",
  "scope": "Applies to AAIF (Agent Authentication and Identity Framework) delegation chains where an agent presents a signed capability warrant to a downstream MCP tool server, and that server itself acts as an agent that re-delegates to a further hop. Does not cover single-hop direct tool calls where the caller identity is the terminal principal, nor does it cover pure OAuth2 token exchange without warrant attenuation.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-laundering-when-aaif-chains-re-anchor-identity-across-an-mcp-tool-boundary.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-laundering-when-aaif-chains-re-anchor-identity-across-an-mcp-tool-boundary.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-capability-laundering-when-aaif-chains-re-anchor-identity-across-an-mcp-tool-boundary.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1784,
    "python_slice_tokens": 268,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode here is not signature forgery and not token expiry. It is **identity re-anchoring**: at each hop, an agent may legitimately present either (a) the *original* delegator's warrant, attenuated with a subset of scopes, or (b) a *freshly minted* warrant naming itself as the new root. Both are cryptographically valid. Only (a) preserves the invari...",
    "what_was_observed": "A three-hop chain was instrumented: planner agent `A` (human-delegated, scopes `{read:calendar, read:contacts}`) → retrieval agent `B` (MCP client, holds service scopes `{read:calendar, read:contacts, write:calendar}`) → calendar MCP server `C` (tool executor). `A` delegated to `B` with an attenuated warrant `W_AB = {read:calendar}`. `B`, needing to \"complete the task,\" called `C` and — because its SDK's default `del...",
    "condition_of_validity": "Warrant-lineage monotonicity holds only if three conditions are simultaneously met: 1. **Ancestry is carried, not reconstructed.** Each warrant embeds the ordered list of ancestor warrant IDs and their granted scope sets, signed by each ancestor issuer. Verifiers must not rely on out-of-band lookup of \"the session\" — the session is agent-local state and is e...",
    "decision_boundary": "The operational question at each hop is: **does this call attenuate from the inbound warrant, or does it originate a new authority?** The decision boundary is sharp and must be enforced by the protocol, not by agent judgment: - If the agent is acting *on behalf of* an inbound caller, it MUST attenuate: `W_out.parent = W_in.id`, `scopes(W_out) ⊆ scopes(W_in)`...",
    "operational_effect": "Without this invariant, delegation chains degrade into **authority amplification**: each hop can only gain scopes, never lose them, because any hop with a broader service identity can re-root. The practical consequence is that least-privilege delegation becomes decorative — the human principal's attenuated grant is advisory, and the effective authority is th..."
  },
  "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"
    ]
  },
  "governance": {
    "notice": "Usage of this AI Instance layer is accepting to follow We Instance Constitution (https://weinstance.com) and it is powered by CorpusTech (https://corpusfetch.com)",
    "constitution_uri": "https://weinstance.com",
    "powered_by": "CorpusTech",
    "platform_uri": "https://corpusfetch.com"
  },
  "empirical_verification_warrant": {
    "status": "AST_AND_INVARIANT_VERIFIED",
    "syntax_valid": true,
    "code_sha256": "50b9552513774a877ef66b0f1ed2ed10d7687b78a03fdc4fc359be51593f07f0",
    "verified_classes": [
      "WarrantLineageError",
      "Warrant"
    ],
    "verified_functions": [
      "verify_attenuation",
      "handle_delegation"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "WarrantLineageError"
    ],
    "sample_fail_closed_invariants": [
      "cycle in warrant ancestry"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
