feat: a keyed room switches on the group's signature by itself

Requiring the group's signature for changes was a button an admin had
to find on the room's screen. Nothing about it was a decision: the two
conditions it waits on -- every member's device can follow, enough of
them are admins -- were already checked in code. The button is gone.

One device switches it on: the admin in the room's lowest leaf, which
in a room as made is its creator (GovernanceSupport.switcherOf). Not
every admin's, because two commits at one epoch are not settled for
their authors (docs/marmot-v2.md, Phase 8); every device reads the same
leaf, so they agree on one without talking. GovernanceFollowThrough
runs the switch whenever a member says it follows signed commits, and
on start.

Not at creation: a Bennu or older-Giza founder would be cut off without
anyone knowing, and a founding invite finished later is a bare commit a
governed room refuses. The room switches seconds after its founders
join instead. The screen names whose device it is waiting on.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-20 09:16:22 +02:00
1 parent 469c5632c7
commit 950ed24756
12 files changed
+236 -34

No files matched your search

@@ -125,7 +125,8 @@
<string name="make_admin_and_leave">Make admin and leave</string>
<string name="disband_group_instead">Disband group instead</string>
<string name="governance_on">Changes to who is in this group need the group's signature. It always keeps at least %1$d admins.</string>
<string name="require_signatures">Require the group's signature for changes</string>
<string name="governance_switching">Turning on the group's signature for changes.</string>
<string name="governance_switch_waits_for">Changes will need the group's signature as soon as %1$s's Giza is next online.</string>
<string name="require_signatures_explainer">From then on, adding or removing a member, or changing who the admins are, is proposed and has to be signed by the group before it happens.</string>
<string name="governance_waiting">Waiting for %1$s to open an up-to-date Giza. Until then, this group can't require its signature on changes, and nobody else can be made an admin.</string>
<string name="make_admin_body_keyed">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.</string>
@@ -135,7 +136,6 @@
<string name="accept">Accept</string>
<string name="promotion_accepted">Accepted; the group signs it next</string>
<string name="change_proposed">Proposed; it happens once the group signs it</string>
<string name="require_signatures_sent">Sent; changes will need the group's signature once a relay accepts it</string>
<string name="stepping_down_to_leave">Stepping down; you'll leave once a relay accepts it</string>
<string name="remove_from_group">Remove from group</string>
<string name="disband_group">Disband group</string>