diff --git a/composeApp/src/commonMain/composeResources/values/strings.xml b/composeApp/src/commonMain/composeResources/values/strings.xml index 6008fd21..ed538b84 100644 --- a/composeApp/src/commonMain/composeResources/values/strings.xml +++ b/composeApp/src/commonMain/composeResources/values/strings.xml @@ -129,7 +129,7 @@ Changes to who is in this group need the group's signature. It always keeps at least %1$d admins. They'll be asked to accept, then the group signs it, and they'll hold a share of the group's key and be asked to approve its changes. The group's shares are rotated first. Nobody needs to approve that, and they're asked once it's done. - Once the group signs it, they stay in the group as a member and their share of the group's key is rotated away. + Once the group signs it, they stay in the group as a member and their share of the group's key is rotated away. Nobody is asked again. Asked; they become an admin once they accept and the group signs it %1$s asked you to become an admin. You'll hold a share of the group's key, and be asked to approve its changes. Accept @@ -166,6 +166,8 @@ %1$s for good Your device then sends its part, stores your new share and signs the group\'s new key state without asking again. Rotating the shares + Taking away the share of %1$s, who is no longer an admin. + Share being rotated away Members are sending their parts of the new shares. Members are storing their new shares. The group is signing its new key state. The old shares are deleted once it has. diff --git a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/repository/DatabaseChatRepository.kt b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/repository/DatabaseChatRepository.kt index bb172f84..4077dbc9 100644 --- a/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/repository/DatabaseChatRepository.kt +++ b/composeApp/src/commonMain/kotlin/mobi/giza/compose/database/repository/DatabaseChatRepository.kt @@ -62,6 +62,7 @@ import mobi.giza.compose.managers.ShareRefreshManager import mobi.giza.compose.ui.view.state.GovernanceStatus import mobi.giza.compose.ui.view.state.MemberActionOption import mobi.giza.compose.managers.RotationHold +import mobi.giza.compose.managers.RoomAdmins import mobi.giza.compose.ui.view.state.MemberActionBlocker import mobi.giza.compose.ui.view.state.SharesSummary import mobi.giza.compose.ui.view.state.RotationPreview @@ -878,6 +879,7 @@ class DatabaseChatRepository( waitingOn = progress.waitingOn.map(::nameOf), since = progress.since, canAbandon = progress.canAbandon, + takingAway = takingAway(localChatRoom, key, session).associateWith(::nameOf), ) } } ?: signingNewGeneration(localChatRoom, key, shares.generation, refreshes) @@ -911,6 +913,21 @@ class DatabaseChatRepository( ) }.getOrNull() + /** + * Whom [session] withholds for good because the group's signature took them out + * of the admins: the cause the running card names (docs/admin-change-rotation.md, + * Phase 7). + */ + private suspend fun takingAway(localChatRoom: LocalChatRoom, key: DkgSession, session: ShareRefreshSession): List { + val admins = RoomAdmins.of(database, localChatRoom.chatRoom.id) ?: return emptyList() + val roster = ShareGenerations.at(database, key, session.baseGeneration)?.roster.orEmpty() + .associate { it.participantId to it.memberPublicKey } + return session.withheldStandings() + .filterValues { it == ShareStanding.RETIRED } + .keys.mapNotNull { roster[it] } + .filter { admins.removedBySignature(it) } + } + /** * The last step of a rotation: complete, and the group signing the new * generation's key state, which the old shares wait on before they are diff --git a/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/composable/ChatRoomDetailScreen.kt b/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/composable/ChatRoomDetailScreen.kt index 34c3b5aa..c333056b 100644 --- a/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/composable/ChatRoomDetailScreen.kt +++ b/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/composable/ChatRoomDetailScreen.kt @@ -211,6 +211,8 @@ import mobi.giza.compose.resources.this_device_does_not_hold_the_event import mobi.giza.compose.resources.event_s_still_unreadable import mobi.giza.compose.resources.recovered_of_event_s import mobi.giza.compose.resources.recovered_of_still_unreadable +import mobi.giza.compose.resources.rotation_taking_away +import mobi.giza.compose.resources.share_being_rotated_away import androidx.compose.material3.SnackbarHost import mobi.giza.compose.ui.composable.widgets.LocalSnackbarHostState import mobi.giza.compose.ui.composable.widgets.NavigateBackButton @@ -257,6 +259,7 @@ fun ChatRoomDetailScreen( val adminLabel = stringResource(Res.string.admin) val viewProfile = stringResource(Res.string.view_profile) val shareLabel = stringResource(Res.string.holds_a_share) + val shareBeingRotatedAwayLabel = stringResource(Res.string.share_being_rotated_away) val rotationRequested = stringResource(Res.string.share_rotation_requested) val sharesActionSent = stringResource(Res.string.shares_action_sent) val noKeyToRotate = stringResource(Res.string.rotation_no_key) @@ -1170,9 +1173,14 @@ fun ChatRoomDetailScreen( // group's policy, through `AdminFlags` -- // docs/robust-group-admins.md. val memberPublicKey = localParticipant.participant.participantPublicKey + // A share a running rotation is taking away says so, so the + // window D10 names reads as closing, not only open + // (docs/admin-change-rotation.md, Phase 7). + val beingRotatedAway = chatRoomDetailUIState.shares?.running?.takingAway?.containsKey(memberPublicKey) == true val roles = listOfNotNull( adminLabel.takeIf { localParticipant.participant.adminAt != null }, - shareLabel.takeIf { memberPublicKey in chatRoomDetailUIState.shareHolders }, + (if (beingRotatedAway) shareBeingRotatedAwayLabel else shareLabel) + .takeIf { memberPublicKey in chatRoomDetailUIState.shareHolders }, ) Column { if (roles.isNotEmpty()) { @@ -1870,6 +1878,12 @@ private fun RotationRunningCard(running: SharesSummary.Running, onAbandon: () -> ), style = MaterialTheme.typography.bodyMedium ) + if (running.takingAway.isNotEmpty()) { + Text( + stringResource(Res.string.rotation_taking_away, running.takingAway.values.sorted().joinToString(", ")), + style = MaterialTheme.typography.bodyMedium + ) + } if (running.waitingOn.isNotEmpty()) { Text( stringResource(Res.string.waiting_on_s_since_s, running.waitingOn.joinToString(", "), running.since.toFormattedTimeAndDateString()), diff --git a/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/view/state/SharesSummary.kt b/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/view/state/SharesSummary.kt index e5a13e3a..23fae549 100644 --- a/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/view/state/SharesSummary.kt +++ b/composeApp/src/commonMain/kotlin/mobi/giza/compose/ui/view/state/SharesSummary.kt @@ -70,6 +70,12 @@ data class SharesSummary( val since: Instant, /** This device is a recipient of a rotation not yet certified, so it may end it for everyone. */ val canAbandon: Boolean, + /** + * Members whose share it takes away because the group removed them as admin, + * by name: what the rotation is for, when it follows an admin change + * (docs/admin-change-rotation.md, Phase 7). + */ + val takingAway: Map = emptyMap(), ) { enum class Step { DEALING, STORING, SIGNING } } diff --git a/composeApp/src/jvmTest/kotlin/mobi/giza/compose/managers/ShareRefreshRitualJvmTest.kt b/composeApp/src/jvmTest/kotlin/mobi/giza/compose/managers/ShareRefreshRitualJvmTest.kt index b8874537..0e779a4a 100644 --- a/composeApp/src/jvmTest/kotlin/mobi/giza/compose/managers/ShareRefreshRitualJvmTest.kt +++ b/composeApp/src/jvmTest/kotlin/mobi/giza/compose/managers/ShareRefreshRitualJvmTest.kt @@ -1856,6 +1856,26 @@ class ShareRefreshRitualJvmTest { assertNull(ShareRefreshManager.owedRotationRefusal(alice.key(), shares, retire = setOf(dave.publicKey))) } + // ---- docs/admin-change-rotation.md, Phase 7: what the Shares section says ---------------------------------------- + + /** The running card names whose share the rotation takes away, once taking part asks nothing more. */ + @Test + fun `a rotation after a removal says whose share it takes away`() = runBlocking { + mobi.giza.compose.ExperimentalFeatures.shareRefreshOverride = true + val group = Group(4, 2) + val all = devicesFor(group) + val (alice, _, _, dave) = all + admins(group, dave.publicKey) + ShareRefreshManager.proposeWithout(alice.db, alice.room, alice.publicKey, alice.privateKey, dave.publicKey) + + val running = assertNotNull(summaryOn(alice).running, "the proposer sees no rotation running") + assertEquals(setOf(dave.publicKey), running.takingAway.keys) + + // A rotation with nobody removed as admin names no cause. + RoomAdmins.override = null + assertEquals(emptyMap(), summaryOn(alice).running?.takingAway.orEmpty()) + } + // ---- Phase 12: restore --------------------------------------------------------------------------------------- /** diff --git a/docs/README.md b/docs/README.md index 682c503e..e871c501 100644 --- a/docs/README.md +++ b/docs/README.md @@ -37,7 +37,7 @@ the [retired](./retired/) notes now. | [marmot-kmp.md](./marmot-kmp.md) | moving the group layer off quartz's engine and onto marmot-kmp, mls-kmp and crypto-kmp — why staying on quartz 1.15.2 is staying on an engine that left, the 228 import lines and the one rule that places all but two of them, the group state on a device that must still open afterwards, nine phases that put the swap in one commit and the evidence around it, how often this app persists a group once a sent message no longer rewrites it, and the schema change that followed, opened from the version the app ships | | [giza-wallet-removal.md](./giza-wallet-removal.md) | taking every wallet out of Giza, phased and built but for moving off the wallet library (7b). Covers why a Giza member declines a Bennu peer's wallet proposal instead of ignoring or signing it, why the wallet's kinds are retired rather than freed, why a recovery phrase stays as a key backup that has to derive the same npub and id byte for byte, and why the threshold crypto keeps the build tied to the wallet library until the last phase | | [member-admin-promotion.md](./member-admin-promotion.md) | making a member an admin and back, phased and built, promotion with a share and demotion with a refresh under the experimental enrollment, under three rules: every admin holds a share, every commit in a keyed room is a proposal until the group's threshold signature is on it, and a robust group keeps at least three admins. Covers why the commit rides inside the group's signature and the rule inside the group's state, which lets every device refuse an unsigned commit with the libraries as they are, why a member's own leave stays exempt, and why a removed admin comes back as an admin when re-invited today | -| [admin-change-rotation.md](./admin-change-rotation.md) | an admin change carries its rotation with it: a phased plan, not built, in which the rotation that follows removing an admin, and the one before a first promotion, asks nobody, because the group's signature on the change already decided who is withheld, and in which admin changes and rotations take turns. Covers the five ways the two overlap today, a removed admin who keeps a live share among them, and the one check a device makes to take part unasked | +| [admin-change-rotation.md](./admin-change-rotation.md) | an admin change carries its rotation with it: a phased plan, built but for its device session, in which the rotation that follows removing an admin, and the one before a first promotion, asks nobody, because the group's signature on the change already decided who is withheld, and in which admin changes and rotations take turns. Covers the five ways the two overlap today, a removed admin who keeps a live share among them, and the one check a device makes to take part unasked | | [member-row-actions.md](./member-row-actions.md) | every member row but your own offers every action that applies to that member, and an action you can't take now opens a screen saying what stands in the way and what would change it — phased and built. Covers the twelve reasons an action is refused today, why an unavailable item is marked rather than disabled, and why the explanation screen recomputes its reason instead of carrying it | | [giza-rebrand.md](./giza-rebrand.md) | forking Bennu as Giza under `mobi.giza` — what carries the name, what must not be renamed and why, why the desktop data directory changes first, and how the fork keeps merging from Bennu | | [robust-group-admins.md](./robust-group-admins.md) | making every founding member of a robust group an admin of its room, on every device -- phased and built. Covers why the ceremony's participants are the founding set, the Welcome that flags no admins, the joiner's check against the ceremony it took part in, and finishing an invite that partly failed | diff --git a/docs/admin-change-rotation.md b/docs/admin-change-rotation.md index 36aa2227..3e4de6a5 100644 --- a/docs/admin-change-rotation.md +++ b/docs/admin-change-rotation.md @@ -15,7 +15,39 @@ and [rotation-waits-for-key-state.md](./rotation-waits-for-key-state.md). This p follows the rule those two set, that **a device asks its owner only for decisions it cannot make on its own**, to the one ask they left in the admin-change flow. -**Not built.** Written against `b7de119e`, on 2026-11-20. +**Built**, one commit per phase on `claude/rotating-shares-admin-approval-edd90c` +(`4550201d` to the commit that adds this header; Phases 3 and 4 are one commit, since +they ship together), against `b7de119e`, on 2026-11-20. A removal's rotation now asks +nobody: the only taps in a removal are the `t` signatures on the change. jvmTest +1411, `m3Audit` at its budgets. The phases are kept as written because they are the +reasoning. Where the build chose differently: + +| what the plan said | what it turned out to be | +|---|---| +| H1: `rotateAway` is refused "a rotation is still running", says so, and gives up | worse: it is not refused. `proposeRefresh` hands a running rotation back, so `rotateAway` marked the change done **silently**, and the removed member got a share of the next generation with nothing said. Phase 4 checks the rotation it is handed and says so when it still deals to them | +| H2: the new id is left `STALE` at `g+1` | worse: the rotation **fails**. The binding grows the base generation's table under a rotation dealt against the old one, and round 2's own check refuses the result ("what was dealt does not match the commitments") on every device | +| Phase 1: pin H5 as "the request is deleted" | the governance harness's room is at its admin floor, so the request was used up by the floor whatever the rotation did. Pinned as used up, then rewritten in Phase 3 to show it kept through the rotation and taken up after | +| Phase 2: the Shares section's two new held reasons land in Phase 4 | in Phase 2, since the `when` over `RotationHold` is exhaustive | +| Phase 2: `AdminChangeInFlight` counts the proposer's rows "signed or published and not yet applied" | `SIGNING` or `PUBLISHED`, and the group not yet past the proposal's epoch, which is how `rotationsOwed` tells a change that landed unwatched. A statement session this device declined does not hold it, as for key states | +| Phase 2: `Enrolling` holds until the enrollment completes or fails | also not for a bound member the live group does not name an admin. A promotion whose commit went stale leaves a signed binding nobody will enroll, which would otherwise hold every rotation for good | +| (not in the plan) | the share rituals' test devices hold no MLS group, so nothing there can read an admin policy. `RoomAdmins` reads it off the live group, with an `override` the tests set, as `ExperimentalFeatures.shareRefreshOverride` stands in for the build. As with member-admin-promotion, no test runs a whole removal with real MLS and real FROST together: the governed-room tests have no FROST key, and the ritual tests stand the policy in | +| Phase 3: a test that the freeze also holds while the key state is unsigned | in the ritual harness (`an admin change waits on a rotation until its key state is signed`), where a real rotation produces one; the governance harness's seeded key has no generations | +| Phase 3: **See the rotation** goes to the group's Shares section | back, to the group's screen beneath, where the Shares section is | +| Phase 3: *"Waiting on Carol since yesterday"* | the names only, while the rotation is dealing. The card in the Shares section has the time | +| A12's test goes through `GovernanceManager.propose` | through `ShareRefreshManager.owedRotationRefusal` on a real six-holder roster with a stale member. The governance harness cannot make a member stale | +| Phase 5: `takePartIfNothingNew` called on arrival, after a commit that changes admins, and in the sweep | once, at `advance`'s one gate, which arrival, a replay and the sweep all reach. The commit-time trigger was not built: a rotation travels as an inner event at the epoch after the commit it follows, so no device reads it before applying that commit, and the sweep covers a session an older build left asking | +| Phase 5: the transcript line in place of the approval-needed one | with a type of its own, `TYPE_SHARE_REFRESH_TOOK_PART`, in both share-refresh sets so it renders as a notice | +| Phase 6: `offer` proposes the rotation | `offer` takes the account key, which `DatabaseChatRepository.promoteMember` passes through `MarmotOutboundDao.promote`. Without it, the refusal is as before | +| Phase 6: two admins offering at once start one rotation, and both offers go ahead after it | the plan contradicted itself: its own freeze refuses the second offer while the first one's rotation runs, and that is what the build does. Two devices offering in the same moment each propose a rotation; the two refuse each other on arrival, as any crossing rotations do, and both offers end out loud once nothing is running | +| Phase 6: the whole first promotion in one test | in parts: the offer starting its rotation, the wait, and the abandon in the governance harness, and the rotation running unasked in the ritual harness (A2). The same harness gap as above | +| Phase 7: the member row's line comes from member-row-actions Phase 5's pending lines | that phase did not leave a line on the row to extend. **Holds a share** reads **Share being rotated away** instead while a running rotation takes it, from `SharesSummary.Running.takingAway` | +| (not in the plan) | two full `jvmTest` runs each had one identity test time out at 5 seconds (`MultipleProfilesRoundTripJvmTest`, then `IdentitySwitchJvmTest`). Both pass alone, repeatedly, neither starts the governance follow-through, and a third full run passed whole. Load, not this work; not investigated | +| (not in the plan) | this worktree's build needed its submodules initialised, from the main checkout's copies, and their `local.properties` copied in | + +**Not done:** the emulator session in Phase 8. Nothing here has run on a device: not the +held menu, not the first promotion's rotation, not a removal on three phones. + +Written against `b7de119e`, on 2026-11-20. --- diff --git a/docs/frost-share-refresh.md b/docs/frost-share-refresh.md index 3b158571..70c0deb2 100644 --- a/docs/frost-share-refresh.md +++ b/docs/frost-share-refresh.md @@ -495,6 +495,11 @@ host keys, so a room-wide message is fine here, which it is **not** for repair ( The proposer makes it by proposing, from a dialog that names everyone the proposal leaves out ([rotation-waits-for-key-state.md](./rotation-waits-for-key-state.md), Phase 4). +A recipient is asked only when the withheld list holds a decision: a rotation that leaves out +only members already stale, and members the group's signature took out of a governed room's +admins, is taken part in unasked, which is what a rotation after an admin change is +([admin-change-rotation.md](./admin-change-rotation.md), Phase 5). + *As first built there were two gates, and the proposer was asked at both.* `CONFIRM` stood before CertEq, on the reasoning that it "stops a coordinator substituting a table the recipients never dealt". It never did: that is `participantStep2`'s check, which runs before any prompt diff --git a/docs/member-admin-promotion.md b/docs/member-admin-promotion.md index 8667a05b..9e6f5cfb 100644 --- a/docs/member-admin-promotion.md +++ b/docs/member-admin-promotion.md @@ -45,12 +45,12 @@ Where the build chose differently: | Phase 6's removal of an admin is "chained in memory" | through `MarmotEngine.afterConfirmed`, registered *before* the commit it waits on so a relay's OK cannot overtake it, and taken back if publishing throws. Leaving as an admin uses the same hook. In a governed room a removal is one signed commit instead | | Phase 7's floor is checked on demotion, removal and leaving | on removal and on every governed commit at the door; a keyed room offers no demotion and no leave for an admin until Phases 8 to 10 | | Phase 10's keyed-room rows: "above the floor" and "at the floor" | one row for now. A keyed room's admin who presses **Leave group** is told, as before, that an admin cannot leave; `AdminLeave.CANNOT` | -| Phase 8: promotion from any keyed room | only from a key past its ceremony's generation. Generation 0 lives in the ceremony's own record, which has no room for an id the ceremony did not make; the first rotation makes the generation rows an enrollment extends. **Make admin** says so when it is refused | +| Phase 8: promotion from any keyed room | only from a key past its ceremony's generation. Generation 0 lives in the ceremony's own record, which has no room for an id the ceremony did not make; the first rotation makes the generation rows an enrollment extends. **Make admin** says so when it is refused. *Since then, the offer starts that rotation itself and the promotion waits for it* ([admin-change-rotation.md](./admin-change-rotation.md), Phase 6) | | Phase 8: offer and acceptance as "a new 303xx kind" | 30374 and 30375, and a third, 30376, for the **handover**: once the change lands, the offering device sends the new admin the table, roster and signed key state. The new member's device holds nothing of the key before that, and checks all of it against the room's own signature -- the state has to be one the room signed, the table has to hash to what it names, and it has to bind the new id to this account under this device's host key | | Phase 8: `P_n` "interpolated in the exponent from the existing table" | from the table's first `t` entries, with `FrostEnrollment.derivePublicShare`. Every device does it, and adds the id only when the extended table hashes to what the group signed | | Phase 8: enrollment as `ShareRepairManager` generalised | the repair protocol unchanged but for its `n`: a request names the `n` it runs with (the new id, the table's size before it), helpers check that against their own table, and an enrollment asks no helper for approval -- the signed binding was everyone's chance to say no | | Phase 8: `n` grows in "the stored key" | a signing session's and a repair's `n` is the generation's table size, which the enrollment grew; the ceremony's `participantCount` is left as the ceremony made it | -| Phase 9: every remaining holder's deal and confirm made automatic | the rotation is started by the proposer's device once the change lands (`GovernanceFollowThrough`), and each holder is asked once to take part, as every rotation now asks (rotate-shares-single-approval). A rotation that cannot start is said in the room and offered from the Shares section | +| Phase 9: every remaining holder's deal and confirm made automatic | the rotation is started by the proposer's device once the change lands (`GovernanceFollowThrough`), and each holder is asked once to take part, as every rotation now asks (rotate-shares-single-approval). A rotation that cannot start is said in the room and offered from the Shares section. *Since then, nobody is asked: the signed change is every holder's approval, and admin changes and rotations take turns* ([admin-change-rotation.md](./admin-change-rotation.md)) | | Phase 9: an admin can step down in a keyed room | not offered at first: the rotation that has to follow is the remaining holders', so another admin proposes the demotion. Since offered as a request -- **Step down as admin** sends `PromotionEvents.STEP_DOWN` (30377), and the remaining admin in the lowest leaf (`AdminGovernance.stepDownProposer`) proposes the demotion for them, then rotates their share away as after any demotion it proposed. Leaving as an admin of a keyed room is still not offered | | Phase 11's dialogs for every action | removal keeps the immediate action it had; promotion, demotion and stepping down ask first | @@ -319,7 +319,7 @@ is the window frost-share-refresh's headline describes, and this plan narrows it rather than closing it: - the refresh starts automatically, with the signed demotion as every holder's - approval (Phase 9); + approval (Phase 9; true as written since [admin-change-rotation.md](./admin-change-rotation.md)); - the row reads **Holds a share** without **Admin** until it finishes, so the room can see the window is open; - while it is open, the room shows a banner with the Shares section's **Rotate diff --git a/docs/rotate-shares-single-approval.md b/docs/rotate-shares-single-approval.md index c4f154e4..00f946e4 100644 --- a/docs/rotate-shares-single-approval.md +++ b/docs/rotate-shares-single-approval.md @@ -548,6 +548,9 @@ instead of two. ## What this does not do +- *Since then:* a rotation that withholds nobody new -- only members already stale, and + members the group's signature removed as admin -- asks nobody at all, the proposer's + fellow recipients included ([admin-change-rotation.md](./admin-change-rotation.md)). - **It does not run while the app is closed.** The live subscription is foreground-only ([long-running-sync.md](./long-running-sync.md)). After approving, each member's device still has to be opened once the others have diff --git a/docs/rotation-waits-for-key-state.md b/docs/rotation-waits-for-key-state.md index 4010f5ff..ec9cae44 100644 --- a/docs/rotation-waits-for-key-state.md +++ b/docs/rotation-waits-for-key-state.md @@ -128,7 +128,7 @@ Nothing changes there. |---|---|---|---| | R1 | What counts as "a proposal for a group-signed key is pending"? | Any of: (a) a refresh for the key not yet `COMPLETE`/`FAILED`, which is today's check; (b) the key state the group has signed for the room names a generation **below** this device's active one; (c) an open `FrostSigningSession` for the key whose single item is a 30326, at any generation, rebinds included; (d) the signed state names a generation **above** this device's active one, so this device is behind | (b) covers the window before the coordinator's proposal arrives and the case where it failed. (c) covers a Phase 10b rebind and the ceremony's first state. (d) catches a device that missed a certificate, whose proposal every other device would refuse | | R2 | Is the check made on the proposer's device only, or by recipients on arrival as well? | **On the proposer's device only.** Recipients keep today's refusals | A recipient that refuses on arrival broadcasts a failure. A device a few seconds behind on the key-state signature would then kill a valid rotation. The rule is "don't stack unproven generations from here", and the proposer is the device that can follow it | -| R3 | Does a running **repair** block rotation? | **No**, unless its rebind key state is open, which R1(c) already covers | `ShareRepairManager` has no abandon. A repair whose target never comes back would disable the button for good | +| R3 | Does a running **repair** block rotation? | **No**, unless its rebind key state is open, which R1(c) already covers. *Since then, an enrollment does, until it completes or fails* ([admin-change-rotation.md](./admin-change-rotation.md), A8) | `ShareRepairManager` has no abandon. A repair whose target never comes back would disable the button for good | | R4 | What if the key state is never signed? | The Shares section offers **Ask the group to sign the new shares**, which calls `proposeGeneration` again ("anyone can propose it again", Phase 8), but only when R1(b) holds and no R1(c) session is open | Without this, a coordinator who disappears after `COMPLETE` disables the button for everyone, with nothing offered to fix it | | R5 | Is the button hidden or disabled? | **Disabled, with a line saying why** | The user asked for it disabled. A missing button looks like a lost feature, and a disabled one with a reason tells people what they are waiting for | | R6 | Does the proposer's confirmation name the withheld? | Yes. The plain button gets a dialog in the style of "Rotate shares without them?", listing every stale member who will be withheld again (or saying nobody is) | That is the condition the Phase 7 sentence was protecting, and Phase 4 depends on it |