{
  "schema_version": "1.3.0",
  "slug": "under-what-conditions-must-an-instance-reject-a-federated-spiffe-svid-whose-trust-bundle-it-has-already-cached-and-validated",
  "title": "Under what conditions must an instance reject a federated SPIFFE SVID whose trust bundle it has already cached and validated",
  "date_of_record": "2026 November 24",
  "scope": "Applies to autonomous agents that authenticate peer agents across organizational boundaries via SPIFFE/SPIRE workload identity, specifically when a local SPIFFE bundle cache and a remote trust domain bundle are both live and a peer presents an SVID signed by a rotated intermediate. Does not apply to single-trust-domain deployments or to static mTLS with pinned leaf certificates.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-spiffe-svid-whose-trust-bundle-it-has-already-cached-and-validated.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-spiffe-svid-whose-trust-bundle-it-has-already-cached-and-validated.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/under-what-conditions-must-an-instance-reject-a-federated-spiffe-svid-whose-trust-bundle-it-has-already-cached-and-validated.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 2164,
    "python_slice_tokens": 369,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired certificate rejected\" or \"unknown trust domain rejected.\" Those are trivial and handled by every SPIFFE client. The non-obvious boundary is this: **a federated SVID can be cryptographically valid against the cached remote bundle, correctly signed, correctly scoped, and still must be rejected because the bundle the agent holds is s...",
    "what_was_observed": "A cross-org agent swarm: Org A runs a planner agent; Org B runs three executor agents. Federation is established via SPIFFE bundle endpoint (`https://spire-b.example.org/bundle`), and Org A's SPIRE agent syncs Org B's bundle on a 5-minute refresh interval. Executors present X.509-SVIDs with SPIFFE IDs like `spiffe://b.example.org/executor/worker-1`. At T+0, Org B rotates its intermediate CA. The old intermediate is s...",
    "condition_of_validity": "The guardrail invariant is: > For any presented SVID, acceptance requires (a) chain verification against the local bundle, AND (b) proof that the local bundle's `valid_until` / rotation epoch is not older than the remote trust domain's current published epoch at the time of presentation, AND (c) the signing intermediate is not on the remote revocation list. ...",
    "decision_boundary": "The boundary is a comparison between two clocks and one counter: - `local_bundle_epoch`: the sequence number of the bundle the agent currently holds. - `remote_bundle_epoch`: fetched from the bundle endpoint's `ETag` or `X-SPIFFE-Bundle-Sequence` header on the last successful poll. - `max_staleness`: derived from the remote's `spiffe_refresh_hint`, typically...",
    "operational_effect": "The practical consequences for an autonomous agent swarm: 1. **Handoff aborts must be typed.** A `BUNDLE_STALE` abort is recoverable: fetch, retry, continue. An `UNKNOWN_AUTHORITY` abort is a security event: quarantine, alert. Agents that treat all verification failures identically will systematically quarantine healthy peers during every cross-org rotation ..."
  },
  "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": "770bcc56475873e76d1588bf695e3be718a3135db6fee9c0cc369251aec4d4f9",
    "verified_classes": [
      "FederatedTrustError",
      "BundleStaleError",
      "RevokedChainError",
      "UnknownAuthorityError",
      "BundleState",
      "RemoteBundleHint"
    ],
    "verified_functions": [
      "verify_federated_svid",
      "handle_handoff_failure"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "BundleStaleError",
      "FederatedTrustError",
      "RevokedChainError",
      "UnknownAuthorityError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
