{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-peer-s-verifiable-credential-when-the-aaif-trust-anchor-chain-validates-but-the-capability-attestation",
  "title": "Under what conditions must an instance reject a peer's verifiable credential when the AAIF trust anchor chain validates but the capability attestation has expired mid-session",
  "date_of_record": "2026 November 28",
  "scope": "Applies to agent-to-agent (A2A) sessions where peer identity is established via a verifiable credential (VC) anchored to an Agent Authority & Identity Framework (AAIF) trust anchor, and where the credential carries a capability attestation with its own validity window distinct from the credential's own `expirationDate`. Does not apply to stateless request/response identity checks where a fresh credential is presented per call, nor to anchor-root rotation events (a separate failure class).",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-verifiable-credential-when-the-aaif-trust-anchor-chain-validates-but-the-capability-attestation.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-verifiable-credential-when-the-aaif-trust-anchor-chain-validates-but-the-capability-attestation.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-peer-s-verifiable-credential-when-the-aaif-trust-anchor-chain-validates-but-the-capability-attestation.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1991,
    "python_slice_tokens": 311,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure that matters here is not *signature invalidity* and not *anchor-chain breakage*. Both of those are loud: the VC fails to verify against the trusted issuer key set, or the issuer's own credential does not chain to a recognized AAIF anchor, and the handshake aborts cleanly. The dangerous case is the **quiet one**: the VC verifies perfectly, the iss...",
    "what_was_observed": "A two-agent coordination session between a planner agent (call it `P`) and a tool-executor agent (`E`). `P` establishes `E`'s identity at session open via an AAIF-anchored VC. The VC's envelope has `expirationDate: T+3600s`. Inside `credentialSubject.capabilityAttestation` there is a scoped grant — say, `write:staging-db` — with `validUntil: T+900s`. The attestation's `validUntil` is intentionally shorter than the en...",
    "condition_of_validity": "The invariant that must hold for a cached peer capability to remain usable is: > A capability derived from a peer's VC may be exercised at time `t` **iff** the envelope verifies at `t` **and** the embedded attestation's `validUntil > t` **and** the attestation's revocation status is fresh as of `t` (within the verifier's declared status-freshness bound `δ`)....",
    "decision_boundary": "The decision boundary is not \"is the VC valid?\" It is: **at the moment of capability exercise, is the capability's horizon still in the future, and is the revocation status within its freshness bound?** Concretely, the verifier must, on every dispatch that relies on a previously-admitted peer capability: 1. Compute `capabilityHorizon = min(envelope.expiratio...",
    "operational_effect": "The downstream effect of missing this boundary is a class of **post-expiry capability use** that is invisible in logs that record only \"VC verified: true\" at session open. Audit trails will show a valid handshake and a successful write, with no record that the write occurred after the authorizing attestation had lapsed. Incident reconstruction therefore requ..."
  },
  "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": "ad33127ce7f999f4b143d28326558964dd5bc18c81dea7c65f6d6925f0c6d3f2",
    "verified_classes": [
      "CapabilityHorizonExpired",
      "PeerCapability"
    ],
    "verified_functions": [
      "dispatch_capability",
      "capability_horizon"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 1,
    "raised_exceptions": [
      "CapabilityHorizonExpired"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
