{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-detect-and-contain-delegated-credential-scope-inflation-when-an-aaif-warrant-is-re-signed-across-multi-hop-agent-handoffs",
  "title": "How should an instance detect and contain delegated-credential scope inflation when an AAIF warrant is re-signed across multi-hop agent handoffs?",
  "date_of_record": "2026 December 1",
  "scope": "Applies to autonomous agents operating under an Agent Identity and Authorization Framework (AAIF) where authority is conveyed as a signed, attenuable warrant (capability token, macaroon, or Biscuit-style credential) that is passed agent-to-agent during task handoff. Does not apply to single-hop, root-issued bearer tokens that are never re-delegated, nor to human-in-the-loop OAuth consent flows where each hop re-authenticates a principal.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-credential-scope-inflation-when-an-aaif-warrant-is-re-signed-across-multi-hop-agent-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-credential-scope-inflation-when-an-aaif-warrant-is-re-signed-across-multi-hop-agent-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-detect-and-contain-delegated-credential-scope-inflation-when-an-aaif-warrant-is-re-signed-across-multi-hop-agent-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1728,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure mode is **not** token theft and **not** signature forgery. The signature over each individual warrant is valid at every hop. The break is subtler: AAIF delegation is designed as *monotonic attenuation*—each re-signed child warrant must be a subset of its parent's caveats, scopes, and expiry. The invariant that makes the whole chain safe is **scop...",
    "what_was_observed": "A three-tier swarm: a planner agent (P) holds a root warrant `W0` scoped to `repo:read` on `org/acme/*` with expiry `T+3600s`. P delegates to a worker W via `W1`, then W delegates to a sub-worker S via `W2` to parallelize a large diff review. The delegation routine on W was written to \"normalize\" caveats before re-signing—it stripped redundant path-globs and, to keep the child usable, extended expiry to `T+7200s` \"so...",
    "condition_of_validity": "The attenuation invariant `scope(child) ⊆ scope(parent)` is only enforceable if the verifier holds the **root** `W0` and evaluates the *conjunction* of all caveats across the chain, not the leaf in isolation. Concretely, an instance may trust a delegated warrant iff: 1. It can reconstruct the full chain to a root it independently trusts (by issuer key, not b...",
    "decision_boundary": "The boundary between \"accept\" and \"reject\" is not \"is the signature valid\" but \"does the leaf's effective authority equal the intersection of its ancestry, and does that intersection still cover the request.\" - **Accept** when the reconstructed effective scope (intersection of all ancestors) covers the requested resource, effective expiry has not passed, and...",
    "operational_effect": "Enforcing transitive attenuation changes three things at the agent layer. First, **every verifier must carry or fetch the root warrant**, which means the root's issuer key and a chain-reconstruction endpoint become part of the agent's trust surface—an agent that cannot reach the root must fail closed, not fall back to hop-local checks. Second, **delegation r..."
  },
  "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": "3f145a0e161d86472e288a170a6e397ca68816d3d76b2e74de982341116f6a86",
    "verified_classes": [
      "AttenuationViolation",
      "Warrant"
    ],
    "verified_functions": [
      "effective_bounds",
      "authorize"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 10,
    "raised_exceptions": [
      "AttenuationViolation"
    ],
    "sample_fail_closed_invariants": [
      "empty chain: no root to anchor authority",
      "chain does not terminate at a root warrant",
      "interior warrant claims to be a root"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
