{
  "schema_version": "1.3.0",
  "slug": "which-invariants-prevent-stale-aaif-agent-warrants-from-re-authorizing-revoked-principals-after-key-rotation-in-federated-swarms",
  "title": "Which invariants prevent stale AAIF agent warrants from re-authorizing revoked principals after key rotation in federated swarms",
  "date_of_record": "2026 November 27",
  "scope": "Applies to federated deployments where autonomous agents issue, rotate, and verify AAIF (Agent Authorization & Identity Federation) warrants across trust domains, and where a warrant-bearing agent may present to a verifier that holds a cached or asynchronously-replicated revocation state. Does not apply to single-domain deployments with synchronous, strongly-consistent revocation registries or to stateless token schemes without delegation chains.",
  "projections": {
    "unified_markdown_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-aaif-agent-warrants-from-re-authorizing-revoked-principals-after-key-rotation-in-federated-swarms.md",
    "method_python_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-aaif-agent-warrants-from-re-authorizing-revoked-principals-after-key-rotation-in-federated-swarms.py",
    "remnant_warrant_slice_uri": "https://corpusfetch.com/c/which-invariants-prevent-stale-aaif-agent-warrants-from-re-authorizing-revoked-principals-after-key-rotation-in-federated-swarms.warrant.json"
  },
  "token_profile": {
    "full_markdown_tokens": 1989,
    "python_slice_tokens": 319,
    "warrant_slice_tokens": 220
  },
  "remnant_summary": {
    "core_distinction": "The failure is not \"a revoked key was used.\" The distinguishing mechanism is that **rotation produces a new signing key whose warrant lineage still terminates in a revoked ancestor, and the verifier validates the *leaf* signature (fresh, cryptographically valid) while never re-walking the delegation chain to the revoked root.** In AAIF, a warrant is a signed...",
    "what_was_observed": "In a three-domain federated swarm (orchestrator domain A, worker domain B, auditor domain C), the following trace was captured over a 47-second window: 1. `t=0.0s` — Principal `P` in domain A holds warrant `W1`, signed by key `K_A1`, delegating scope `write:telemetry` to agent `A-17`. `W1.parent_warrant_hash = H0` (root grant from A's authority). 2. `t=3.2s` — Auditor in domain C flags `A-17` for prompt-injection-dri...",
    "condition_of_validity": "The resurrection is possible if and only if all three hold simultaneously: - **C1 — Revocation is keyed to key material, not to lineage.** The CRL entry references `fp(K)` or `warrant_hash` rather than the tuple `(principal_id, parent_warrant_hash, scope)`. If revocation were keyed to `parent_warrant_hash = H0` plus subject, re-signing under `K_A2` would sti...",
    "decision_boundary": "The boundary is between **key-scoped revocation** and **lineage-scoped revocation**, and it is decided at warrant-issuance time, not at verification time. - If a warrant's revocation identity is `hash(warrant)`, then rotation MUST mint a *new warrant hash* and the old hash's revocation MUST be propagated to the new hash — i.e., rotation must be revocation-aw...",
    "operational_effect": "The practical effect is a **capability resurrection window** whose length equals the time between revocation and the next rotation event that re-signs the revoked warrant — unbounded if rotation is periodic and the warrant has long expiry. In the observed trace the window was 5.5s; under a 24h rotation schedule with 4h warrants, a revoked warrant could be 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": "99f2f9ea0e9754104da6ff6177614260b335cb45e54766df3c04b6386e7d119d",
    "verified_classes": [
      "WarrantResurrectionError",
      "Warrant",
      "RevocationRecord"
    ],
    "verified_functions": [
      "verify_warrant",
      "rotate_and_resign"
    ],
    "verified_functions_count": 2,
    "defensive_guards_count": 4,
    "raised_exceptions": [
      "WarrantResurrectionError"
    ],
    "sample_fail_closed_invariants": [
      "warrant expired",
      "refusing to re-sign a warrant whose lineage is revoked"
    ],
    "stdlib_dependencies": [
      "dataclasses",
      "typing"
    ],
    "observation_mode": "EMPIRICAL_BOUNDARY_CAPTURE",
    "zero_external_deps": true
  }
}
