{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-federated-agent-warrant-replay-across-trust-anchor-rotation-boundaries-in-spiffe-vc-handoffs",
  "title": "Which invariants prevent federated agent warrant replay across trust-anchor rotation boundaries in SPIFFE+VC handoffs",
  "date_of_record": "2026 November 25",
  "scope": "Applies to cross-organization agent federation where an originating agent (Org A) mints a Verifiable Credential (VC) warrant bound to a SPIFFE-style workload identity (SVID) and hands it to a downstream agent (Org B) that re-verifies before acting. Does not cover single-org intra-cluster mTLS, nor pure OAuth token exchange without VC binding.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-federated-agent-warrant-replay-across-trust-anchor-rotation-boundaries-in-spiffe-vc-handoffs.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-federated-agent-warrant-replay-across-trust-anchor-rotation-boundaries-in-spiffe-vc-handoffs.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-federated-agent-warrant-replay-across-trust-anchor-rotation-boundaries-in-spiffe-vc-handoffs.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1584,
    "python_slice_tokens": 310,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired credential\" or \"untrusted issuer.\" It is **warrant-to-identity re-binding across a trust-anchor rotation window**. When Org B's federation resolver rotates its trust anchor for Org A (key rollover, root CA change, DID document update), the verifier re-evaluates the *chain* but not the *subject binding*. A VC whose `credentialSubje...",
    "what_was_observed": "In a two-org federation (Org A = `spiffe://a.example/agent/orchestrator`, Org B = `spiffe://b.example/agent/executor`), Org A rotated its intermediate signing key at T0 while keeping the root anchor stable. Org B's resolver cached the *old* intermediate JWKS for 300s (standard TTL). During the window [T0, T0+300s]: 1. Org A minted a fresh warrant `W1` at T0+10s, signed by the *new* intermediate, bound to subject `spi...",
    "condition_of_validity": "The atomic-binding invariant holds only when all four of the following are enforced as a single transaction: - **Anchor epoch pinning:** the `(issuer_chain_hash, anchor_epoch)` pair is captured at the start of verification and the subject SVID's `spiffe://` trust domain must resolve under *that same epoch*. A rotation mid-verification invalidates the attempt...",
    "decision_boundary": "The boundary is **\"re-verify chain\" vs. \"re-bind subject.\"** A verifier that only re-verifies the issuer chain across a rotation will accept a warrant whose subject workload no longer exists or has been replaced. The correct decision rule: - If `anchor_epoch` changed since warrant `iat` → **reject unless** the warrant is in the in-flight degraded set *and* t...",
    "operational_effect": "Without the atomic-binding invariant, a single key rotation at Org A produces a window in which: (a) legitimately re-issued warrants fail and trigger stale-warrant retries, (b) stale warrants replay across multiple Org B executor instances, and (c) audit trails show `valid=true` for both, defeating post-hoc forensics. The blast radius is bounded by the rotat..."
  },
  "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": "c799c9114ddb41ea9b665beef6cad34e162873ac8621eddb5e593c0422cb331d",
    "verified_classes": [
      "WarrantBindingError",
      "AnchorEpoch",
      "Warrant",
      "FederationVerifier"
    ],
    "verified_functions": [
      "execute_federated_action",
      "__init__",
      "verify"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 5,
    "raised_exceptions": [
      "WarrantBindingError"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
