# Where must an instance refuse to renew a delegated credential chain whose witness set has silently shrunk **Date of Record:** 2026 December 1 **Scope:** Applies to autonomous agents operating under an Agent Identity and Authorization Framework (AAIF) that renew long-lived delegated credentials by re-collecting a witness/quorum set at each renewal epoch. Does not apply to single-issuer bearer tokens with no witness quorum, nor to credentials renewed by a human-in-the-loop signer. ## Core Distinction The distinction that matters is between **quorum validity** and **quorum identity continuity**. Most AAIF renewal logic validates the former: does the witness set presented at epoch *N+1* satisfy the threshold policy *k-of-n*? That check passes trivially when the witness set has *shrunk*—because a smaller set that still meets *k* is, arithmetically, a valid quorum. The failure mode is that the *membership* of the witness set has changed without any revocation event, any policy amendment, or any change to the agent's own delegated scope. The chain renews, the credential stays live, and the agent's authority is now underwritten by a set of witnesses that never co-signed the original delegation. This is not a threshold-policy bug. Threshold policies are *stateless* over membership; they answer "are there enough signatures?" not "are these the same underwriters as last epoch?" The invariant at stake is **witness-set monotonicity across renewal**: the set of witnesses at epoch *N+1* must be a subset-preserving extension of the set at epoch *N* minus any witness that was *explicitly and verifiably* revoked. Silent shrinkage—a witness dropping out because it timed out, went offline, rotated its key, or was quietly de-registered by the registry—must be treated as a renewal-blocking event, not a benign re-quorum. ## What Was Observed A delegated credential chain for a long-running research agent was structured as a 3-of-5 witness quorum over a 90-day renewal horizon. Each renewal epoch, the agent's credential-manager daemon re-collected attestations from the witness registry, assembled a fresh quorum, and re-signed the delegation envelope. The chain had renewed cleanly for four epochs. At epoch 5, the witness registry returned a set of four live witnesses. Three of them co-signed; the threshold was met; the credential renewed. The daemon logged `renewal_ok quorum=3/4`. Nothing in the log looked anomalous. What had actually happened: two of the original five witnesses—call them W2 and W4—had been de-registered from the registry three weeks earlier during a routine key-rotation migration. Their replacements, W6 and W7, had been added to the registry but had never been part of the original delegation's witness set. The registry's `list_witnesses` endpoint returned the *current* membership, not the *historical* membership bound to this credential chain. The daemon had no concept of "the witness set this chain was originally issued under"—it only knew the threshold policy and the live registry. The result was a credential whose authority was now underwritten by W1, W3, and W6—a set that had never collectively attested to the original delegation. W6 had never seen the delegation scope, never validated the agent's principal binding, and had no record of the chain's history. The credential was cryptographically valid and semantically hollow. The failure surfaced only when an auditor attempted to *replay* the delegation chain: reconstructing the witness set from the credential's embedded attestation history, the auditor found that the set at epoch 5 was disjoint from the set at epoch 1 in two positions, with no revocation record bridging the gap. The replay failed the continuity check the auditor's own tooling enforced, even though every individual epoch's signature verified. ## Condition of Validity The guardrail that prevents this is a **witness-set continuity invariant** enforced at renewal time, not at issuance time: > For a delegated credential chain *C* with witness set *W_N* at epoch *N*, a renewal to epoch *N+1* with witness set *W_{N+1}* is valid only if every witness in *W_N \ W_{N+1}* appears in the chain's explicit revocation ledger with a verifiable revocation attestation signed by that witness or by the chain's root principal. This invariant is *stricter* than the threshold policy and *orthogonal* to it. It does not care whether the new set meets *k*; it cares whether every departure from the old set is accounted for. A witness that times out, goes offline, or is silently de-registered is a *departure without attestation*—and under this invariant, that departure blocks renewal until either the witness returns, the witness attests its own revocation, or the root principal issues a superseding delegation that explicitly re-binds the chain to a new witness set. The condition of validity is therefore: **the credential manager must hold, per chain, a persistent record of the witness set bound at issuance and every attested change to it.** A stateless renewal daemon that queries the registry fresh each epoch cannot enforce this, because the registry's answer is a *current-membership* view, not a *chain-bound-membership* view. The daemon must carry the chain's witness-set history forward, and it must distinguish "registry says this witness is gone" from "this witness has attested its departure." The subtlety that makes this non-obvious: in a healthy system, witnesses *do* rotate, and rotation *is* a legitimate departure. The invariant does not forbid rotation—it forbids *unattested* rotation. A rotating witness must sign a handoff attestation naming its successor and binding the successor to the chain's existing delegation scope. Without that attestation, the successor is a stranger to the chain, and the renewal is a silent substitution. ## Decision Boundary The decision boundary is sharp and must be placed at the renewal gate, not at the audit gate: - **Renew if** *W_{N+1}* meets the threshold *and* every member of *W_N \ W_{N+1}* has an attested revocation or handoff in the chain's ledger. - **Block renewal if** *W_{N+1}* meets the threshold but any member of *W_N \ W_{N+1}* lacks an attested departure. The credential remains valid at epoch *N* but does not advance; the agent must escalate to the root principal for a superseding delegation. - **Block renewal if** *W_{N+1}* does not meet the threshold (the ordinary case, already handled by threshold policy). The boundary that is almost always missed is the first block condition. It fires *only* when the threshold is met—which is precisely when a naive daemon would proceed. The failure is invisible to threshold logic because threshold logic is satisfied. It is invisible to signature verification because every signature in the new quorum is valid. It is visible only to a continuity check that compares the new witness set against the chain's bound history. The corollary: an agent must never treat "renewal succeeded" as evidence that "the chain is intact." Renewal success under a shrunken witness set is *evidence of the failure*, not evidence against it. The agent's own operational log will show `renewal_ok` at the exact moment its authority has been silently re-underwritten. ## Operational Effect The operational effect of missing this boundary is a class of credential that passes every local check and fails every global one. The agent continues to act under a credential whose authority is no longer traceable to its original delegation—which means that when a downstream verifier or auditor performs a full-chain replay, the credential is *retroactively* invalidated, and every action the agent took under it during the affected epochs is called into question. The blast radius is not the renewal moment; it is the entire window between the silent shrinkage and its discovery. For the agent, the practical consequence is that **renewal must be treated as a stateful, history-dependent operation, not a stateless re-quorum.** The credential manager must persist, per chain: the issuance-time witness set, the ordered ledger of attested departures and handoffs, and a hash of the chain's delegation scope at each epoch. On renewal, it must compute *W_N \ W_{N+1}*, subtract the attested departures, and refuse to advance if the remainder is non-empty. This is a small amount of persistent state—a few hundred bytes per chain—and it is the difference between a credential that means something and a credential that merely verifies. The deeper lesson: in delegated credential systems, *verification is not continuity*. A signature proves a witness signed; it does not prove the witness was ever bound to this chain. The invariant that binds them is set-membership history, and it must be carried forward by the agent, because no registry, no threshold policy, and no signature scheme will carry it for you. ```python class WitnessSetDiscontinuity(RuntimeError): """Raised when a renewal would silently substitute witnesses without attested departure.""" pass def renew_delegated_chain( chain_id: str, bound_witness_set: frozenset[str], attested_departures: frozenset[str], proposed_witness_set: frozenset[str], threshold: int, ) -> frozenset[str]: """ Attempt to advance a delegated credential chain to its next epoch. Returns the new bound witness set on success. Raises WitnessSetDiscontinuity if the proposed set meets threshold but silently drops witnesses that have no attested departure in the chain's ledger. """ if len(proposed_witness_set) < threshold: raise WitnessSetDiscontinuity( f"chain {chain_id}: proposed witness set size {len(proposed_witness_set)} " f"below threshold {threshold}" ) dropped = bound_witness_set - proposed_witness_set unattested = dropped - attested_departures if unattested: # Threshold is met, but continuity is broken. This is the boundary. raise WitnessSetDiscontinuity( f"chain {chain_id}: witnesses {sorted(unattested)} departed the bound set " f"without an attested revocation or handoff; renewal refused to prevent " f"silent re-underwriting of delegated authority" ) return proposed_witness_set ```