{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-delegated-aaif-capability-tokens-from-surviving-their-own-attestation-refresh",
  "title": "Which invariants prevent delegated AAIF capability tokens from surviving their own attestation refresh",
  "date_of_record": "2026 November 23",
  "scope": "Applies to multi-agent systems where an orchestrator mints short-lived delegated capability tokens (AAIF-style: subject agent, scope, expiry, attestation hash, revocation epoch) and hands them to sub-agents that perform tool calls against resource servers enforcing those tokens. Does not cover long-lived service credentials, mTLS-only identity, or single-agent self-authorization.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-surviving-their-own-attestation-refresh.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-surviving-their-own-attestation-refresh.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-delegated-aaif-capability-tokens-from-surviving-their-own-attestation-refresh.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1669,
    "python_slice_tokens": 259,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a token expired.\" It is the **attestation-refresh/revocation-epoch skew window**: the interval during which a delegated token is structurally valid (signature good, `exp` in the future, scope intact) but its embedded attestation hash no longer matches the issuer's current attestation for that subject, and the resource server has not yet o...",
    "what_was_observed": "An orchestrator agent `O` holds a session attestation `A(O)` that is re-signed every 30s (hardware-backed key, nonce, monotonic counter). It mints a delegated token `T` for sub-agent `S`: `S` receives `T` over an A2A handoff and begins a multi-step tool sequence against resource server `R`. At t+40s, `O`'s host detects an anomaly (its own attestation inputs changed — say a prompt-injection probe tripped a policy chec...",
    "condition_of_validity": "The invariant that must hold is a **causal ordering between epoch visibility and token acceptance**, not merely epoch equality: > For any token `T` with epoch `E`, `R` may accept `T` only if `R`'s last-confirmed issuer epoch `E_R` satisfies `E_R == E` **and** the freshness bound `now - t_last_poll < Δ_accept` holds, where `Δ_accept` is strictly less than the...",
    "decision_boundary": "The boundary is the choice of what to do when `R` cannot prove freshness. There are exactly three defensible policies, and a fourth indefensible one: - **Fail-closed on stale poll:** reject any token whose `E_R` was confirmed more than `Δ_accept` ago. Correct, but converts every issuer hiccup into a fleet-wide authorization outage — unacceptable for long-run...",
    "operational_effect": "Concretely, an agent operating under this framework must: - Treat every tool-call success as **conditionally** authorized until the enclosing step's attestation is re-confirmed against the issuer, and must not let a successful call widen its own plan — a single admitted stale call is a signal to *re-verify*, not to *continue*. - On any checkpoint/resume, re-..."
  },
  "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": "c666eeba720732382c41143395886df6d9dfd0d0b99844add381da36f70322a5",
    "verified_classes": [
      "StaleAttestationAcceptance",
      "DelegatedToken",
      "VerifierView"
    ],
    "verified_functions": [
      "admit"
    ],
    "verified_functions_count": 1,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "StaleAttestationAcceptance"
    ],
    "sample_fail_closed_invariants": [],
    "stdlib_dependencies": [
      "dataclasses",
      "time"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
