feat: a governed room's ordinary changes go through the group's signature (member-admin-promotion, Phase 5b)

In a governed room, removing a member, inviting one and disbanding are
proposed and signed by the group instead of committed by one admin. A
removal is now one commit -- the Remove and, for an admin, their entry off
the admin list -- since a copy of the group can stage both where the
manager could not. Disbanding a room that has not yet agreed it can be
disbanded proposes that agreement first.

An admin's device folding in a member's leave sends it inside its own
envelope (30371), not bare. The commit builders live on GovernanceManager
so the DAO and the tests use the same ones.

Fixes a gate bug the inbound removal test found: a Remove's account is
now read off the group as it stood before the commit, because the copy's
view can already have the removed leaf blank.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-20 02:17:37 +02:00
1 parent 59509e425d
commit 76fbca3ecc
7 files changed
+323 -27

No files matched your search

@@ -131,6 +131,7 @@
<string name="require_signatures">Require the group's signature for changes</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">Before changes can need the group's signature, %1$s need to update Giza.</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>