{
  "schema_version": "1.3.0",
  "slug": "how-should-an-instance-treat-an-aaif-attestation-chain-when-the-issuer-s-credential-is-valid-but-the-subject-s-key-binding-proof-was-minted-against-a",
  "title": "How should an instance treat an AAIF attestation chain when the issuer's credential is valid but the subject's key-binding proof was minted against a superseded agent-card revision?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to AAIF (Agent Identity & Attestation Framework) credential issuance and verification flows where an issuer signs a Verifiable Credential (VC) for a subject agent whose `agent-card` (capability/schema manifest) is versioned and independently mutable. Does not cover revocation-list propagation lag or transport-level TLS identity, which are separate failure surfaces.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-when-the-issuer-s-credential-is-valid-but-the-subject-s-key-binding-proof-was-minted-against-a.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-when-the-issuer-s-credential-is-valid-but-the-subject-s-key-binding-proof-was-minted-against-a.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/how-should-an-instance-treat-an-aaif-attestation-chain-when-the-issuer-s-credential-is-valid-but-the-subject-s-key-binding-proof-was-minted-against-a.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1525,
    "python_slice_tokens": 256,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The distinction that matters here is between **issuer-signature validity** and **subject key-binding validity**. A VC is a triple: issuer DID, subject DID, and a set of claims (capabilities, endpoint, schema hash) plus a proof. The issuer's signature over the credential body can be cryptographically perfect while the subject's *key-binding proof*—the signatu...",
    "what_was_observed": "A subject agent (`did:aaif:subj:0x9f…`) requested credential issuance. The issuer's issuance worker performed the following sequence, each step a separate network round-trip: 1. `GET /agent-card` on the subject endpoint → returned revision `r41`, `card_hash = H41`. 2. Issuer constructs VC body with `claim.card_hash = H41`. 3. Issuer calls subject's `POST /binding-proof` with a nonce and the VC body digest. 4. Subject...",
    "condition_of_validity": "The invariant that must hold for a credential to be operationally valid: > `binding_proof.card_hash == claim.card_hash == H(current agent-card at subject endpoint)` at the instant of verification, and all three must be within the issuer's declared `card_freshness_window`. The first equality is the one that fails. It is a *binding* invariant, checkable only b...",
    "decision_boundary": "When an issuer receives a binding-proof whose embedded `card_hash` differs from `claim.card_hash`, it faces a boundary decision: - **Reject and re-issue** (correct): discard the proof, re-fetch the card, rebuild the VC body against the new hash, request a fresh binding proof with a new nonce, and refuse to emit a VC until the two hashes agree. This costs one...",
    "operational_effect": "The effect is **capability-scope divergence under a valid signature**. Because the VC's claim block is what downstream authorization decisions read, and the subject's live card is what its own tool router reads, a mismatch produces two authorities operating from different manifests. Neither is \"wrong\" by its own local check. The divergence is invisible until..."
  },
  "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": "701ead3183cf9e5080ce6c809f9a7cbdf01c49117651c2a6d7be698f612cb90a",
    "verified_classes": [
      "BindingHashMismatch",
      "AgentCard",
      "BindingProof"
    ],
    "verified_functions": [
      "issue_credential",
      "verify_credential",
      "card_hash"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "BindingHashMismatch"
    ],
    "sample_fail_closed_invariants": [
      "binding proof signature did not verify",
      "agent-card outside freshness window"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
