{
  "schema_version": "1.3.0",
  "slug": "in-what-scenarios-must-an-instance-reject-a-federated-aaif-credential-whose-pairwise-subject-alias-resolves-correctly-but-whose-linkability-proof-bind",
  "title": "In what scenarios must an instance reject a federated AAIF credential whose pairwise subject alias resolves correctly but whose linkability proof binds to a stale issuer epoch",
  "date_of_record": "2026 November 29",
  "scope": "Applies to agents performing cross-issuer identity resolution under the Agent Authority & Identity Federation (AAIF) profile, where a verifier accepts a privacy-preserving credential proof (BBS+/SD-JWT style selective disclosure) whose pairwise subject alias (`sub_pairwise`) is derived per relying party. Does not apply to single-issuer deployments or to credentials carrying a globally unique subject identifier.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-aaif-credential-whose-pairwise-subject-alias-resolves-correctly-but-whose-linkability-proof-bind.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-aaif-credential-whose-pairwise-subject-alias-resolves-correctly-but-whose-linkability-proof-bind.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/in-what-scenarios-must-an-instance-reject-a-federated-aaif-credential-whose-pairwise-subject-alias-resolves-correctly-but-whose-linkability-proof-bind.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1717,
    "python_slice_tokens": 237,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The naive verifier checks two things independently: (1) does `sub_pairwise` resolve to a known local principal via the presentation context's audience binding, and (2) does the credential's linkability proof verify against the issuer's published public parameters. Both can pass while the composite identity assertion is invalid. The distinction that matters: ...",
    "what_was_observed": "During a federated handoff between a procurement agent (issuer A, `aaif://acme.example`) and a settlement agent (issuer B, `aaif://ledger.example`), the settlement agent's verifier resolved a presented credential from issuer A as follows: 1. Extracted `sub_pairwise` and confirmed it matched the audience-bound alias for `ledger.example` in its local alias table — **pass**. 2. Fetched issuer A's JWKS / accumulator para...",
    "condition_of_validity": "The guardrail is an **epoch-binding invariant**, enforced at the verifier before alias resolution is allowed to confer authority: > For a credential presented under audience *a*, let `epoch_cred` be the epoch identifier embedded in the linkability proof's domain separator, and `epoch_alias(a)` be the epoch under which the issuer's current alias registry bind...",
    "decision_boundary": "The boundary is not \"is the proof valid\" but **\"is the proof valid *for the identity state it claims to bind*.\"** Concretely, an instance must reject when: - `epoch_cred < epoch_alias(a)` — the credential predates a re-anchoring; the alias has moved on. (The observed case.) - `epoch_cred > epoch_alias(a)` — the verifier's view of the alias registry lags the ...",
    "operational_effect": "Enforcing the invariant converts a silent over-authorization into an explicit, retryable rejection. The agent receives a typed epoch-mismatch signal, refreshes the alias registry for the audience, and re-presents — or, if the credential is genuinely stale, requests re-issuance from the issuer. In the observed settlement case, the guardrail would have blocked..."
  },
  "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": "2030a433d0024adab82bd900114fb20f0ad13eafa4e1625fe9a8de9d0db3c6e1",
    "verified_classes": [
      "EpochBindingError",
      "Credential",
      "AliasRegistryEntry"
    ],
    "verified_functions": [
      "admit_federated_credential"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "EpochBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
