{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-spiffe-spire-workload-attested-agent-identity-from-silently-degrading-into-a-bearer-token-handoff-at-the-cross-org-broker-bou",
  "title": "Which invariants prevent SPIFFE/SPIRE workload-attested agent identity from silently degrading into a bearer-token handoff at the cross-org broker boundary",
  "date_of_record": "2026 November 21",
  "scope": "Applies to autonomous LLM agents that obtain SPIFFE SVIDs via SPIRE workload attestation and present them to a cross-org trust broker (an A2A gateway, MCP federation proxy, or agent mesh control plane) to authorize delegated tool calls. Does not cover intra-cluster mTLS between co-located services, nor human-in-the-loop OAuth consent flows.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-spiffe-spire-workload-attested-agent-identity-from-silently-degrading-into-a-bearer-token-handoff-at-the-cross-org-broker-bou.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-spiffe-spire-workload-attested-agent-identity-from-silently-degrading-into-a-bearer-token-handoff-at-the-cross-org-broker-bou.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-spiffe-spire-workload-attested-agent-identity-from-silently-degrading-into-a-bearer-token-handoff-at-the-cross-org-broker-bou.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1644,
    "python_slice_tokens": 284,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "A SPIFFE SVID is *proof of workload provenance*, not *proof of the reasoning process that is about to execute*. The broker validates the former and assumes it constrains the latter. That assumption breaks at exactly one seam: the moment an agent, after attestation, mutates its own intent — loads a new tool schema, replays a cached plan, or accepts an injecte...",
    "what_was_observed": "A three-org agent federation: Org A (planner agent), Org B (broker + policy engine), Org C (tool executor with a SPIRE agent node attestor). Org A's planner runs as a long-lived pod. Its SVID has a 1-hour TTL and is rotated by the SPIRE agent at ~50 minutes. The broker caches the authorization decision keyed by `(spiffe_id, tool_scope_hash)` for 15 minutes to avoid re-walking the trust bundle on every call. The failu...",
    "condition_of_validity": "The broker's authorization is sound **only if** the following invariant holds: > For every request, the *arguments that determine resource scope* are bound into the attestation decision, and that binding is invalidated by any event that can change the agent's intent — checkpoint/resume, context truncation, tool-schema reload, or SVID rotation. This invariant...",
    "decision_boundary": "The broker must choose, per request class, between two postures — and must never blend them silently: - **Attestation-only posture** (acceptable only when the tool is idempotent, read-only, and scope-invariant — e.g., `get_public_schema`). Here the SVID alone is sufficient because there is no argument that can escalate. - **Attestation-plus-intent posture** ...",
    "operational_effect": "After the invariant was enforced, the same checkpoint-resume scenario produced a `WarrantIntentMismatch` at T+9m: cache miss on the new nonce, re-authorization requested, planner's reconstructed intent failed the tenant-binding check, call rejected, and the amnesia event was logged as a first-class operational signal rather than a silent data leak. The trust..."
  },
  "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": "99fc718b699db4887a8df996665c86c50abb766d8776d197c618913f49592df0",
    "verified_classes": [
      "WarrantIntentMismatch",
      "Warrant"
    ],
    "verified_functions": [
      "canonical_arg_hash",
      "authorize_call",
      "handle_brokered_call"
    ],
    "verified_functions_count": 3,
    "defensive_guards_count": 3,
    "raised_exceptions": [
      "WarrantIntentMismatch"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "hashlib",
      "json"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
