{
  "schema_version": "1.3.0",
  "slug": "why-does-an-instance-lose-its-spiffe-trust-anchor-when-an-agent-re-attests-across-an-org-boundary-mid-task",
  "title": "Why does an instance lose its SPIFFE trust anchor when an agent re-attests across an org boundary mid-task?",
  "date_of_record": "2026 November 23",
  "scope": "Applies to autonomous agents that carry a SPIFFE-style workload identity (SVID) acquired in one trust domain and attempt to invoke federated tools or peer agents in a second trust domain during a single long-running task. Does not apply to single-domain deployments, static API-key federation, or short-lived stateless request/response agents that re-authenticate per call.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-spiffe-trust-anchor-when-an-agent-re-attests-across-an-org-boundary-mid-task.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-spiffe-trust-anchor-when-an-agent-re-attests-across-an-org-boundary-mid-task.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/why-does-an-instance-lose-its-spiffe-trust-anchor-when-an-agent-re-attests-across-an-org-boundary-mid-task.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1636,
    "python_slice_tokens": 234,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A workload identity is not a session credential. The SPIFFE SVID is bound to a *workload attestation event*—a signed claim that \"the process presenting this key was, at time T, running the code with selector set S on node N in trust domain A.\" Federation across orgs does not extend that identity; it establishes a *trust bundle relationship* between domain A ...",
    "what_was_observed": "A research agent (call it `planner-7`) running in trust domain `orgA.example` held a JWT-SVID with the SPIFFE ID `spiffe://orgA.example/agent/planner/7`, TTL 900s, issued at task start. The task required invoking a retrieval tool in `orgB.example` via an A2A handoff at T+610s. The federation bundle between A and B was current; B's policy required that federated SVIDs carry the selector `agent-class:research` and that...",
    "condition_of_validity": "The invariant that must hold for cross-domain SVID presentation to be safe is: > An SVID may be presented to a federated domain B if and only if `(now - iat) <= min(ttl, B.freshness_max)` **and** the selector set satisfies `B.selector_policy`, evaluated at presentation time, not at issuance time. The failure arises when the runtime caches the *authorization ...",
    "decision_boundary": "The runtime must decide, per call, between three actions: 1. **Present directly** — only when the cached SVID satisfies B's freshness predicate and selector policy at this instant. 2. **Re-attest then present** — when the SVID is signature-valid but fails B's freshness or selector predicate, and the workload can reach B's attestation endpoint. 3. **Fail clos...",
    "operational_effect": "With the corrected classification, `planner-7` would have re-attested at T+610s, obtained a fresh SVID (iat=T+611s) satisfying B's 300s freshness window, and completed the retrieval. The task's token budget would have been preserved. The audit log would show one re-attestation event rather than eleven spurious retries, and B's policy engine would see a clean..."
  },
  "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": "efef35492da3e3ecc0f1f23f25fb6da99a8048cc8dd934010044f336ed27ba9e",
    "verified_classes": [
      "FederationPolicyDenial",
      "SVID",
      "RemotePolicy"
    ],
    "verified_functions": [
      "present_svid",
      "call_federated_tool"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "FederationPolicyDenial"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
