{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-federated-peer-whose-spiffe-svid-chains-to-a-trusted-root-but-whose-verifiable-credential-subject-bind",
  "title": "Under what conditions must an instance reject a federated peer whose SPIFFE SVID chains to a trusted root but whose verifiable credential subject binding was minted against a rotated workload selector",
  "date_of_record": "2026 November 23",
  "scope": "Applies to cross-org agent federation where an inbound peer presents both (a) a SPIFFE-style X.509-SVID asserting workload identity and (b) a W3C Verifiable Credential (VC) whose `credentialSubject.id` is bound to that workload identity, and where either the trust bundle or the workload selector set has been rotated. Does not apply to single-org intra-mesh mTLS, nor to pure OIDC bearer-token federation where subject binding is re-derived per request.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-peer-whose-spiffe-svid-chains-to-a-trusted-root-but-whose-verifiable-credential-subject-bind.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-peer-whose-spiffe-svid-chains-to-a-trusted-root-but-whose-verifiable-credential-subject-bind.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-peer-whose-spiffe-svid-chains-to-a-trusted-root-but-whose-verifiable-credential-subject-bind.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2066,
    "python_slice_tokens": 498,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"untrusted root\" and not \"expired credential.\" Both of those are trivially caught. The failure is a **split-validity state**: the SVID validates against the current trust bundle, and the VC validates against its issuer's key, but the *binding predicate* between them—`VC.credentialSubject.spiffe_id == SVID.SPIFFE_ID` combined with `SVID.sel...",
    "what_was_observed": "In a two-org federation testbed (Org A: 40 agent workloads, selector rotation every 6h; Org B: 3 verifying gateways), we replayed 1,200 handoffs across a rotation boundary. Observed trace for the failing case: 1. `T0` — Issuer mints VC for `spiffe://orgA/agent/summarizer`, embeds `issuance_context: {selector_set_hash: H_old, issued_at: T0}`. 2. `T0+5h` — Selector set rotates to `H_new`. Trust bundle unchanged (same r...",
    "condition_of_validity": "The invariant that must hold for a federated handoff to be sound: > **For a peer to be admitted, there must exist a single selector-set snapshot `S*` such that (i) `S*` is the selector set in force at the VC's `issued_at` per a clock both parties agree on, (ii) `SVID.selector ∈ S*`, and (iii) `S*` is not older than the VC's own freshness bound. The verifier ...",
    "decision_boundary": "The verifier must **reject** (not warn, not retry) when: 1. `vc.issuance_context.selector_set_hash` is absent, or does not match any entry in the issuer's published selector-set history. Absence of the commitment is itself disqualifying—it means the binding is unfalsifiable. 2. The resolved snapshot `S*` (by `issued_at` under a clock-skew-corrected estimate,...",
    "operational_effect": "Implementing the snapshot-commitment invariant moved the false-accept rate at the rotation boundary from 0.3% to 0 (n=1,200 replays), at the cost of ~40ms per handoff for history lookup (cached at 5s TTL). The false-reject rate from clock skew was eliminated by (a) requiring VC issuers to stamp `issued_at` in both their local clock and a monotonic counter, a..."
  },
  "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": "5d572ab373c229f13e7ddb745b583f48d023978804bc181d0f127f04e36190c5",
    "verified_classes": [
      "SplitValidityError",
      "SelectorSnapshot",
      "SVID",
      "VerifiableCredential"
    ],
    "verified_functions": [
      "verify_federated_handoff"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 9,
    "raised_exceptions": [
      "SplitValidityError"
    ],
    "sample_fail_closed_invariants": [
      "VC carries no selector_set_hash commitment; binding is unfalsifiable",
      "current-set leakage into binding predicate",
      "combined artifact lifetime exhausted",
      "counter/hash disagreement: VC minted against different snapshot"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
