{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-of-a-cross-org-agent-fail-attestation-when-its-spiffe-id-is-valid-but-its-svid-rotates-mid-handoff",
  "title": "Why does an instance of a cross-org agent fail attestation when its SPIFFE ID is valid but its SVID rotates mid-handoff?",
  "date_of_record": "2026 November 19",
  "scope": "Applies to autonomous agents that authenticate peer agents across organizational boundaries using SPIFFE/SPIRE-issued X.509-SVIDs, where a long-running task spans at least one SVID rotation window (default `spiffe.ca.ttl`/`spiffe.workload.ttl`). Does not apply to single-org meshes with a shared trust domain, nor to short-lived request/reply calls that complete inside one SVID lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-cross-org-agent-fail-attestation-when-its-spiffe-id-is-valid-but-its-svid-rotates-mid-handoff.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-cross-org-agent-fail-attestation-when-its-spiffe-id-is-valid-but-its-svid-rotates-mid-handoff.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-of-a-cross-org-agent-fail-attestation-when-its-spiffe-id-is-valid-but-its-svid-rotates-mid-handoff.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1809,
    "python_slice_tokens": 337,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"expired certificate.\" It is a **split between the identity the agent *presents* at the transport layer and the identity it *asserts* inside the application-layer warrant**. When an agent hands off a task baton, it typically carries two things: a live mTLS channel authenticated by its current SVID, and a signed payload (a \"warrant\" or dele...",
    "what_was_observed": "A two-org pipeline: Org A's orchestrator agent delegates a 40-minute document-analysis task to Org B's worker agent. The handoff uses a signed warrant minted at `t=0`, containing `sub=spiffe://orgA.example/agent/orchestrator`, `aud=spiffe://orgB.example/agent/worker`, and `cnf_key_sha256=<fingerprint of orchestrator's SVID public key>` (proof-of-possession binding, RFC 7800 style). The worker establishes mTLS to the ...",
    "condition_of_validity": "The invariant this exposes: *for a delegation to remain valid across an SVID rotation, the warrant's proof-of-possession binding must be re-anchorable to the new key without re-minting the warrant, OR the warrant lifetime must be strictly bounded by the presenting SVID's remaining lifetime.* Concretely, the failure requires all of: 1. A warrant (or any signe...",
    "decision_boundary": "The architectural choice is where to place the rotation boundary: - **Bind-to-ID, verify-per-message (recommended for cross-org).** The warrant asserts `sub=SPIFFE_ID` and audience; proof-of-possession is enforced by requiring a fresh mTLS-authenticated channel per message and re-checking `peer.spiffe_id == warrant.sub` each time. Rotation is invisible becau...",
    "operational_effect": "When this boundary is mishandled, the observable effect is *not* an auth outage—it is **state divergence under a healthy-looking channel**. The orchestrator believes the checkpoint was delivered; the worker holds a stale checkpoint. On the next reasoning step, the orchestrator plans against post-checkpoint state the worker never received, and the two agents'..."
  },
  "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": "e7f41c03bf78dfa68d09e7b2e4357212bf2905dc522e6223b9a8bf2f65d80633",
    "verified_classes": [
      "IdentityBindingDivergence",
      "SVID",
      "Warrant"
    ],
    "verified_functions": [
      "verify_handoff",
      "key_fingerprint"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "IdentityBindingDivergence"
    ],
    "sample_fail_closed_invariants": [
      "warrant cnf fingerprint does not match presented SVID and no authenticated rotation chain bridges them; treating as key-"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "time",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
