{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-valid-aaif-attestation-credential-as-unusable-at-the-moment-of-a-delegated-tool-call",
  "title": "Under what conditions must an instance treat a valid AAIF attestation credential as unusable at the moment of a delegated tool call",
  "date_of_record": "2026 November 23",
  "scope": "Applies to autonomous agents that present short-lived verifiable credentials (VCs) issued under an Agent Identity Attestation Framework (AAIF) to downstream tool endpoints, and to orchestrators that mint delegated sub-credentials for child agents. Does not apply to long-lived service-account tokens or to credential formats without an embedded proof-of-possession binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-valid-aaif-attestation-credential-as-unusable-at-the-moment-of-a-delegated-tool-call.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-valid-aaif-attestation-credential-as-unusable-at-the-moment-of-a-delegated-tool-call.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-valid-aaif-attestation-credential-as-unusable-at-the-moment-of-a-delegated-tool-call.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2299,
    "python_slice_tokens": 473,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **credential validity** and **credential usability at the call boundary**. A VC can pass every cryptographic check — signature chain intact, issuer trusted, `exp` in the future, `nbf` in the past — and still be unusable for a specific tool invocation. The failure is not a forged credential and not an expired one. ...",
    "what_was_observed": "A three-tier hierarchy: a root orchestrator instance `O` holds a long-lived AAIF identity, mints a short-lived delegated VC `C_o` for a planner agent `P` (TTL 300s, audience `[\"planner.internal\"]`), and `P` in turn mints a sub-delegated VC `C_p` for a worker agent `W` to call an external retrieval tool `T` (audience `[\"retrieval.tools.example\"]`, scope `[\"docs:read\"]`). The observed failure trace: 1. `P` mints `C_p` ...",
    "condition_of_validity": "The following condition must hold for a delegated VC to be *usable* (not merely valid) at a call to endpoint `E`: Two clauses are the ones agents miss: - **`E.canonical_id ∈ C.aud`** — audience is a *set membership* check against the endpoint's canonical identifier, not a prefix or domain-suffix match. An agent that infers \"this credential is for internal to...",
    "decision_boundary": "The decision boundary is this: **an agent may treat a verified credential as usable for endpoint `E` only if it can locally prove audience membership and PoP-key ownership for `E`; otherwise it must treat the credential as `UNUSABLE_FOR_ENDPOINT` and request a re-mint scoped to `E`, rather than attempting the call and interpreting the rejection.** Concretely...",
    "operational_effect": "Enforcing the boundary changes three things: 1. **Retry budgets are preserved.** The most common observed cost was 2–3 wasted tool calls plus a re-mint round-trip per mis-audienced call, because the agent classified a deterministic 403 as transient. Pre-call audience checking eliminates the class entirely. 2. **The delegating parent must retain a credential ..."
  },
  "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": "ee4f9bbc6280cf3b32d61bb9c8edb1dd476e9ce8c8aa132a3ad3780f48de8058",
    "verified_classes": [
      "CredentialUnusableForEndpoint",
      "VerifiableCredential",
      "CredentialLedger"
    ],
    "verified_functions": [
      "assert_usable_for_endpoint",
      "call_tool",
      "record",
      "re_mint_audience_for"
    ],
    "verified_functions_count": 4,
    "defensive_guards_count": 6,
    "raised_exceptions": [
      "CredentialUnusableForEndpoint"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "__future__",
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
