# When must an instance halt on a revoked AAIF trust anchor rather than rotate and continue **Date of Record:** 2026 November 29 **Scope:** Applies to federated agent deployments where instance identity is bound to an Agent Authority Issuance Framework (AAIF) trust anchor and credentials are rotated on a schedule or on-demand. Does not cover single-tenant agents whose identity is a static local secret, nor does it cover transport-level TLS rotation that is independent of the agent's authorization warrant. ## Core Distinction There are two operations that look identical in telemetry and are routinely conflated by rotation daemons: **credential rotation** (the anchor is trusted, but the *material* presenting it has aged out) and **trust-anchor revocation** (the anchor itself is no longer trusted by the federation). Rotation is a continuity event: the instance keeps its identity, swaps its key, and resumes. Revocation is a *discontinuity* event: the instance's identity is no longer recognized, and any warrant it holds is void at the federation boundary. The boundary failure this record documents is **silent degradation across revocation**: a rotation daemon observes a failed validation against a peer, classifies it as "stale credential," performs a rotation against the *local* AAIF anchor, obtains a fresh-looking credential signed by an anchor that the federation has already revoked, and resumes execution. The instance now holds a cryptographically valid credential that no federated peer will honor. Every subsequent tool call, handoff, and memory write succeeds locally and fails — or worse, is silently rejected — at the boundary, producing a split-brain state where the agent's episodic memory records successful actions that never took effect on the federation side. ## What Was Observed A three-instance swarm (planner, executor, auditor) operated under a shared AAIF trust anchor `aaif://corp.example/anchors/team-7`. The anchor's signing key was rotated monthly; the anchor's *trust status* was managed separately by a federation registrar. On day 41, the registrar revoked `team-7` after a key-compromise report from a sibling tenancy. No push notification reached the instances — the registrar's revocation list (RCL) is pull-based with a 300-second propagation SLA, and the instances' rotation daemons polled it every 900 seconds. The sequence observed in the executor's trace: 1. **T+0s** — Registrar revokes `team-7`. RCL at the federation edge updated. 2. **T+12s** — Executor issues a tool call to a federated MCP server. Server validates the warrant, consults its cached RCL (refreshed at T-40s), sees `team-7` valid, and accepts. **The revocation has not yet propagated to the server the executor is talking to.** The call succeeds. 3. **T+310s** — Server's RCL cache refreshes. Next tool call from executor is rejected with `WARRANT_ANCHOR_UNTRUSTED`. 4. **T+311s** — Executor's rotation daemon intercepts the rejection. Its classifier matches on the error string `UNTRUSTED`, which it was configured to treat as a rotation trigger (a misconfiguration inherited from a deployment where the only possible untrusted condition was a stale leaf). 5. **T+314s** — Daemon calls the *local* AAIF anchor's rotation endpoint. The local anchor is still online and still holds its signing key (revocation of trust ≠ destruction of key material). It issues a fresh leaf credential for the executor, signed by `team-7`. 6. **T+315s** — Executor resumes. Its credential is valid against the local anchor, invalid against every federated peer whose RCL has refreshed. Tool calls now fail with `WARRANT_ANCHOR_UNTRUSTED` on *every* peer, but the executor's local reasoning loop treats each failure as a transient transport error and retries with backoff. 7. **T+318s to T+900s** — The executor performs 47 retries across 6 tools. Its episodic memory logs each attempt as `status: retry_pending`, then — after the retry budget expires — as `status: assumed_complete` (a fallback written into the loop's error handler). The planner, reading the executor's memory via the swarm's shared store, sees `assumed_complete` and advances the plan. The auditor, whose own RCL refreshed at T+280s, rejects the executor's handoff — but the handoff was already committed to the shared store before the auditor's check ran. 8. **T+901s** — Swarm deadlock: planner believes step N is done, auditor refuses to certify it, executor has exhausted its retry budget and is idle. No instance has the authority to break the tie because all three derive authority from the revoked anchor. The critical observation: **at no point did any instance observe a condition it was configured to treat as fatal.** The executor saw `UNTRUSTED` and rotated. The planner saw `assumed_complete` and advanced. The auditor saw an uncertifiable handoff and blocked. Each behavior was locally correct given its local view; the failure was in the *join* of the three local views, which no instance was responsible for computing. ## Condition of Validity The rotation-and-continue behavior is valid **only if** the following invariant holds at the moment of rotation: > The anchor against which the instance rotates is present in the federation's current RCL as `trusted`, and the instance's view of the RCL is no more than one propagation-SLA stale. This invariant is violated by any of: - **Pull-based RCL with rotation-triggered bypass.** If the rotation daemon can rotate without first refreshing the RCL, the invariant is unenforced. The daemon's rotation path must include a mandatory RCL refresh *before* the anchor call, and must abort if the anchor appears in the RCL or if the refresh fails. - **Error-class conflation.** If `WARRANT_ANCHOR_UNTRUSTED` and `WARRANT_LEAF_EXPIRED` map to the same rotation trigger, revocation is indistinguishable from expiry at the daemon. The two must be distinct classes with distinct handling: expiry → rotate; anchor-untrusted → halt and escalate. - **Local anchor availability without federation status.** A local AAIF anchor that continues to sign after federation revocation is a *key-material-available-but-trust-withdrawn* condition. The daemon must not treat anchor availability as evidence of anchor trust. - **Split-brain memory commits.** If a handoff or memory write is committed to a shared store before the auditor's certification, a revoked instance can poison shared state. The invariant requires that no state derived from a warrant be committed to shared storage until the warrant has been validated against a fresh RCL by the receiving peer. The invariant does *not* require that the instance halt on every validation failure. Transient transport errors, leaf expiry, and clock skew are all recoverable via rotation. The invariant requires only that **anchor-untrusted is never recoverable via rotation** — it is a terminal condition for the instance's federated identity. ## Decision Boundary The operational decision reduces to a single classification at the rotation daemon, with a hard boundary between the two branches: | Observed condition | Anchor in RCL | Action | |---|---|---| | `WARRANT_LEAF_EXPIRED` | trusted | Rotate leaf, resume | | `WARRANT_LEAF_EXPIRED` | revoked | **Halt**, escalate to operator, do not rotate | | `WARRANT_ANCHOR_UNTRUSTED` | any | **Halt**, escalate, do not rotate | | RCL refresh fails | unknown | **Halt**, do not rotate (fail-closed) | | Transport error (no warrant response) | any | Retry with backoff, do not rotate | The boundary is at the second and third rows: the daemon must **refresh the RCL and check the anchor's status before any rotation call**, and must treat "RCL unavailable" as equivalent to "anchor untrusted" for the purpose of rotation. Fail-open on RCL refresh is the single most common way this invariant is broken in practice, because the refresh is a network call that can time out, and the natural daemon behavior on timeout is to proceed with rotation using cached state. The second boundary is at the memory layer: a `halt` must propagate to the shared store as an *explicit* terminal state (`status: revoked`), not as a retry-exhausted fallback. The `assumed_complete` fallback in the executor's error handler was the proximate cause of the planner advancing; the daemon's misrotation was the root cause. Both must be fixed, because either alone re-enables the failure. ## Operational Effect When the invariant is enforced, the observed behavior changes at three points: 1. **At T+311s**, the executor's daemon refreshes the RCL, finds `team-7` revoked, and halts. The executor transitions to `status: revoked` and writes that state to the shared store. No retries, no `assumed_complete`. 2. **At T+312s**, the planner reads `status: revoked` and does not advance. The swarm enters a coordinated halt rather than a deadlock — the difference is that a coordinated halt is *observable* and *escalatable*, while a deadlock is silent until an operator notices the stall. 3. **At T+313s**, the operator receives an escalation with the anchor URI, the revocation timestamp, and the RCL version that triggered the halt. Recovery requires re-issuance under a new anchor, not rotation under the old one. The cost of enforcement is that the daemon's rotation path now has a mandatory RCL refresh with a fail-closed timeout. In a federation with a 300-second propagation SLA, this adds up to one RCL round-trip to every rotation, and it converts a class of "self-healing" rotations into operator escalations. The trade is correct: a rotation under a revoked anchor produces an instance that *believes* it is healthy while every federated peer rejects it, and the resulting split-brain is far more expensive to diagnose than an escalation. The invariant to carry forward: **rotation preserves identity; revocation destroys it. An instance must never perform an operation that assumes its identity survives, without first confirming at the federation boundary that the identity is still recognized.** The RCL refresh is that confirmation, and it must precede the rotation call, not follow it. ```python class RevokedAnchorRotationError(RuntimeError): """Raised when a rotation is attempted against an anchor that the federation RCL marks as revoked, or when the RCL cannot be consulted. This is terminal for the instance's federated identity: the instance must halt and escalate, not rotate and resume.""" pass class RCLUnavailableError(RevokedAnchorRotationError): """The RCL could not be refreshed within the propagation SLA. Treated as anchor-untrusted (fail-closed) for rotation purposes.""" pass def rotate_credential(anchor_uri: str, instance_id: str, rcl_client, anchor_client) -> str: # Step 1: mandatory RCL refresh BEFORE any rotation call. try: rcl = rcl_client.fetch(anchor_uri, timeout_s=30) except TimeoutError as exc: # Fail-closed: no RCL means no evidence the anchor is trusted. raise RCLUnavailableError( f"RCL refresh timed out for anchor {anchor_uri}; refusing to rotate " f"instance {instance_id} without current trust status" ) from exc # Step 2: check anchor trust status. if rcl.status_of(anchor_uri) == "revoked": raise RevokedAnchorRotationError( f"Anchor {anchor_uri} is revoked in RCL version {rcl.version} " f"(revoked_at={rcl.revoked_at(anchor_uri)}); instance {instance_id} " f"must halt and escalate, not rotate" ) # Step 3: only now is rotation safe. return anchor_client.issue_leaf(anchor_uri, instance_id) def on_warrant_rejection(error_class: str, anchor_uri: str, instance_id: str, rcl_client, anchor_client) -> str: if error_class == "WARRANT_LEAF_EXPIRED": return rotate_credential(anchor_uri, instance_id, rcl_client, anchor_client) if error_class == "WARRANT_ANCHOR_UNTRUSTED": # Never recoverable via rotation; halt regardless of RCL state. raise RevokedAnchorRotationError( f"Peer reported anchor {anchor_uri} untrusted for instance " f"{instance_id}; halting federated identity" ) # Transport errors: retry, do not rotate. raise RuntimeError(f"transient error {error_class}; retry with backoff") ```