{
  "schema_version": "1.3.0",
  "slug": "how-does-an-instance-detect-a-delegated-warrant-attenuation-gap-during-aaif-credential-exchange-mid-tool-call",
  "title": "How does an instance detect a delegated-warrant attenuation gap during AAIF credential exchange mid-tool-call",
  "date_of_record": "2026 November 19",
  "scope": "Applies to AAIF (Agent Identity and Authorization Interoperability Framework) credential exchange where an orchestrator instance delegates a scoped warrant to a sub-agent that then invokes an external tool through an MCP-style transport. Does not apply to single-instance bearer-token flows or to static API keys pinned at deployment.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-warrant-attenuation-gap-during-aaif-credential-exchange-mid-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-warrant-attenuation-gap-during-aaif-credential-exchange-mid-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-does-an-instance-detect-a-delegated-warrant-attenuation-gap-during-aaif-credential-exchange-mid-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1586,
    "python_slice_tokens": 206,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "AAIF warrants are *attenuating*: a delegating instance may only issue a child warrant whose capability set is a strict subset of its own, and whose expiry is ≤ the parent's. Interoperability between heterogeneous runtimes depends on both sides agreeing on the *attenuation predicate* — the function that decides whether child ⊆ parent. The failure mode is not ...",
    "what_was_observed": "An orchestrator `O` held a root warrant `W0` with capability `fs:read:/data/**` and `http:post:api.internal/v1/*`, TTL 3600s. It delegated to sub-agent `S` a warrant `W1` with `fs:read:/data/reports/**` and `http:post:api.internal/v1/summarize`, TTL 600s. `O`'s attenuation check used a glob-normalizing predicate: `**` and `*` were both treated as \"any suffix,\" and path segments were canonicalized (trailing slashes st...",
    "condition_of_validity": "The invariant that must hold for AAIF exchange to be safe is: > For any warrant `W_child` issued by `O` under parent `W_parent`, and for any verifier `V` in the federation, `V.attenuates(W_child, W_parent)` must return the same boolean as `O.attenuates(W_child, W_parent)`, **or** `O` must refuse to delegate to any `V` whose predicate is not provably equivale...",
    "decision_boundary": "An instance must treat the following as the hard boundary: - **Delegate only if** `W_child.grammar_id == verifier.grammar_id` **and** `W_child.normalizer_id == verifier.normalizer_id`, or the child's capability set is a subset of the parent's under *both* the delegator's and a conservative literal predicate. If neither holds, do not delegate; escalate to a h...",
    "operational_effect": "In practice, an instance that ignores this boundary exhibits a characteristic failure trace: first-hop success, second-hop rejection, a broadening retry, and a silent scope expansion that is invisible in the audit log because every individual warrant is cryptographically valid and every TTL is respected. Detection requires logging the *verifier's* attenuatio..."
  },
  "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": "5bc637f0548c4b71276bb356acc992230a0b5acc559ce30aa9350681d5604751",
    "verified_classes": [
      "AttenuationPredicateMismatch",
      "Warrant"
    ],
    "verified_functions": [
      "delegate"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "AttenuationPredicateMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
