{
  "schema_version": "1.3.0",
  "slug": "what-happens-when-an-instance-s-spiffe-svid-outlives-the-delegating-principal-s-authorization-window",
  "title": "What happens when an instance's SPIFFE SVID outlives the delegating principal's authorization window",
  "date_of_record": "2026 November 24",
  "scope": "Applies to agent instances whose workload identity is a SPIFFE SVID (X.509 or JWT-SVID) and whose authority to act is granted through a delegated authorization token minted by a human or parent principal with a shorter TTL than the SVID. Does not cover static API-key identity, mTLS-only service meshes without delegation, or cases where the SVID and the delegation token share a single issuer-controlled lifetime.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-spiffe-svid-outlives-the-delegating-principal-s-authorization-window.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-spiffe-svid-outlives-the-delegating-principal-s-authorization-window.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/what-happens-when-an-instance-s-spiffe-svid-outlives-the-delegating-principal-s-authorization-window.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1799,
    "python_slice_tokens": 329,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "There are two independent clocks in a delegated agent identity system, and conflating them is the root of the failure. The **workload identity clock** governs whether the process *is who it claims to be*: the SPIFFE SVID, rotated by the SPIRE agent, typically valid for hours. The **authorization clock** governs whether that identity *may currently act on beh...",
    "what_was_observed": "An orchestration agent (`spiffe://corp/agents/orchestrator`) delegated a sub-task to a worker (`spiffe://corp/agents/worker-3`). Alice authorized the orchestrator for a 15-minute window to read from `billing-api`. The orchestrator's SVID had a 6-hour TTL. At T+14m the orchestrator minted a fresh, *downstream* delegation token for worker-3 — but the minting code copied the SVID's `exp` into the child token instead of ...",
    "condition_of_validity": "The invariant that must hold is a **monotonic delegation lifetime constraint**: > For every delegation token `d` with parent grant `g`, `d.exp ≤ g.exp`, and `d` must carry `g.grant_id` such that any verifier can reconstruct the full `act` chain and re-check liveness of the terminal grant at decision time. This invariant is violated by any of three concrete c...",
    "decision_boundary": "At verification time, a resource server has exactly two sound choices and one unsound one: - **Sound (stateless):** accept the token only if `exp` was provably clamped at mint to the parent grant's `exp` *and* the `act` chain is complete enough to be independently re-derived. This requires the minting service to be trusted and the chain to be self-describing...",
    "operational_effect": "The blast radius is a **post-expiry authority window** equal to `min(SVID TTL, copied exp) − parent grant exp`. In this incident that window was roughly 5h45m during which worker-3 could read `billing-api` as Alice with no live grant. Because the SVID remained valid, no mesh policy, mTLS check, or SPIFFE-aware authorization proxy flagged it; the calls looked..."
  },
  "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": "4c7a81c5990f93484ea3b11aa3473e69ef93aac4ebbf05883f40bcc2d954f938",
    "verified_classes": [
      "DelegationChainError",
      "Grant",
      "DelegationToken"
    ],
    "verified_functions": [
      "mint_child_token",
      "verify_delegated_call"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 8,
    "raised_exceptions": [
      "DelegationChainError"
    ],
    "sample_fail_closed_invariants": [
      "bad signature",
      "token carries no grant_id; cannot prove authority is live",
      "token claims lifetime beyond stateless trust window; requires online re-check"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
