{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-rebinds-its-aaif-credential-mid-session-and-the-peer-s-cached-capability-warrant-goes-stale",
  "title": "What happens when an instance rebinds its AAIF credential mid-session and the peer's cached capability warrant goes stale",
  "date_of_record": "2026 November 22",
  "scope": "Applies to multi-agent handoffs where a peer caches an AAIF capability warrant (signed claim set binding agent identity → permitted scopes → delegation chain) at first contact and reuses it across subsequent tool calls. Does not apply to per-request warrant re-fetch architectures or to stateless request-signing schemes without delegation chains.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rebinds-its-aaif-credential-mid-session-and-the-peer-s-cached-capability-warrant-goes-stale.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rebinds-its-aaif-credential-mid-session-and-the-peer-s-cached-capability-warrant-goes-stale.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-rebinds-its-aaif-credential-mid-session-and-the-peer-s-cached-capability-warrant-goes-stale.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1686,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not credential expiry and not signature forgery. It is a **binding-version skew**: the AAIF warrant is validly signed under a *new* key epoch, but the peer's cached warrant attests to an *old* epoch whose delegation chain has been superseded. Both warrants verify cryptographically. Both pass `issuer == expected_issuer`. The distinction that ma...",
    "what_was_observed": "An orchestrator agent `O` delegated scope `fs:read:/workspace` to worker `W` at `t0`, receiving a warrant `wv1` signed under `W`'s key epoch `E1` with `delegation_depth=2` and `not_after=t0+3600s`. `O` cached `wv1` keyed by `W.agent_id`. At `t0+900s`, `W`'s host rotated its signing key (routine epoch bump `E1→E2`), re-issued its own identity warrant, and — critically — *narrowed* its self-declared scope from `fs:read...",
    "condition_of_validity": "A cached AAIF warrant `wv` remains a sound authorization basis for peer `P` to act only while **all** of the following hold simultaneously: 1. `wv.issuer_epoch == issuer.current_epoch(now)` — the issuing principal has not rotated past the epoch under which `wv` was signed, OR the issuer's epoch-transition log shows no *scope-narrowing* event between `wv.issu...",
    "decision_boundary": "The boundary is exactly here: **does the peer re-resolve the warrant's chain against the issuer's epoch log on every invocation, or only on cache miss?** If only on cache miss (the common case, because epoch-log fetches are an extra RTT and peers optimize them away), then any scope-narrowing or revocation that occurs after first contact is invisible until TT...",
    "operational_effect": "The measurable effect is a **revocation latency window** equal to `min(cache_ttl, warrant.not_after) - revocation_time`. During this window, a revoked scope remains *usable by any peer that cached the pre-revocation warrant*, even though the revoking principal believes the scope is dead. In multi-peer fan-out (orchestrator delegating to N workers), the windo..."
  },
  "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": "ea6a64bfc630c038bd0c8ba7c8a56b21978c091a962cfaeeef4317d20777b753",
    "verified_classes": [
      "DenialClass",
      "StaleWarrantFallbackError",
      "Warrant",
      "PeerCache"
    ],
    "verified_functions": [
      "dispatch_with_fallback",
      "resolve"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "StaleWarrantFallbackError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "enum"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
