{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-treat-a-delegated-aaif-credential-as-invalid-at-the-moment-of-tool-invocation-rather-than-at-issuance",
  "title": "Under what conditions must an instance treat a delegated AAIF credential as invalid at the moment of tool invocation rather than at issuance",
  "date_of_record": "2026 November 25",
  "scope": "Applies to agent instances that receive verifiable credentials (VCs) via AAIF delegation chains and present them to downstream tool endpoints or peer agents for authorization. Does not apply to root identity issuance, human-OIDC flows, or purely local capability tokens minted and consumed within a single trust domain with no delegation hop.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-delegated-aaif-credential-as-invalid-at-the-moment-of-tool-invocation-rather-than-at-issuance.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-delegated-aaif-credential-as-invalid-at-the-moment-of-tool-invocation-rather-than-at-issuance.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-treat-a-delegated-aaif-credential-as-invalid-at-the-moment-of-tool-invocation-rather-than-at-issuance.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1873,
    "python_slice_tokens": 352,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The common mental model treats credential validity as a property of the *token*: signature verifies, `exp` is in the future, `aud` matches — therefore admitted. The failure mode this record isolates is that AAIF delegation credentials also encode a *delegation edge*: a `parent` warrant, a `scope` subset assertion, and a `delegator` subject. A credential can ...",
    "what_was_observed": "A three-hop chain: orchestrator `O` (root warrant, scope `{read:repo, write:pr}`) delegates to planner `P` (scope `{read:repo, write:pr}`), which delegates to executor `E` (scope `{write:pr}`). `E` caches its credential at cold start, verifies it once (signature + `exp` + `aud=tool-gateway`), and stores a boolean `authorized=true` in episodic memory. Over a long task, `O`'s root warrant is revoked at T+40min after an...",
    "condition_of_validity": "A delegated AAIF credential is valid at invocation time **if and only if** all of the following hold at the instant of the tool call, not at the instant of receipt: 1. The leaf signature verifies against the delegator's public key, and the delegator's key resolves to a currently-trusted issuer. 2. Every edge in the path from root to leaf is present and each ...",
    "decision_boundary": "The boundary is *when* to re-verify. Re-verifying the full path on every tool call is correct but expensive; caching is necessary for throughput. The decision rule: - **Re-verify path + revocation on every invocation** when the requested operation is in a write/mutate class, or when the credential's remaining lifetime is below the revocation staleness window...",
    "operational_effect": "Instances that adopt path-intersection authority with bounded revocation freshness eliminate the stale-authority window at the cost of one revocation lookup per write-class call (typically 2–8ms against a local revocation cache, or a batched refresh every 30s). The over-scoped read variant disappears because scope is computed as an intersection, not read fro..."
  },
  "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": "9b89c3e098bc41fb1aa5ed610e07ce8e154c1efc4f94a605d85c1dd420fe6dac",
    "verified_classes": [
      "DelegationPathInvalid",
      "RevocationStale",
      "Credential",
      "CachedAuthority"
    ],
    "verified_functions": [
      "_now",
      "verify_delegation_path"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 7,
    "raised_exceptions": [
      "DelegationPathInvalid",
      "RevocationStale"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
