Commit Graph
8 Commits
Author SHA1 Message Date
Kgothatso NgakoandClaude Opus 5.5 bb35d73c28 feat: an admin of a keyed room steps down by asking another admin
An admin's own row had no menu in a keyed room: stepping down was not
offered, because a demotion's proposer starts the rotation that takes
the demoted admin's share away, and a rotation's proposer has to keep a
share.

Step down as admin now sends a request into the room
(PromotionEvents.STEP_DOWN, 30377) and commits nothing. The remaining
admin in the lowest leaf (AdminGovernance.stepDownProposer) -- one
device, named the same everywhere, so two never propose at one epoch --
takes it up in GovernanceFollowThrough and runs the same demote its own
Remove as admin would. A request is used once, and dropped by every
device once its requester is no longer an admin. Offered only above the
floor and while another admin is there to ask.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:44:26 +02:00
Kgothatso NgakoandClaude Opus 5.5 1ccd8c7f09 feat: a keyed room is born needing the group's signature; the switch is gone
The rule that a keyed room's changes need the group's signature was
switched on after founding, once every member's device had said it could
follow signed commits. That protected Bennu members and older Giza
builds from being left behind by the first signed change. Giza is in
development and keeps compatibility with neither, so the switch
protected nobody, and it kept an invited member from ever being made an
admin.

MarmotGroupCreation.createFor now writes GovernanceMarker's line, with
the floor the ceremony's quorum sets, into the room's epoch-0
description. Founding still needs no signature: the founding invite is
the creator's commit while it is the only member, which no other device
processes.

Removed: GovernanceSupport and its event (30372), the announcements on
joining, at start and in answer, the automatic switch and
requireSignatures, and the screen's waiting and ready states.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:28:47 +02:00
Kgothatso NgakoandClaude Opus 5.5 950ed24756 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>
2026-11-20 09:16:22 +02:00
Kgothatso NgakoandClaude Opus 5.5 6aae56520b fix: a member invited into a keyed room says it follows signed commits on joining
An invited member of a robust group could never be made an admin. Making
one needs the room to require the group's signature, which waits until
every member's device has said it follows signed commits. A device said
so when the room's screen was opened, or back when it heard another say
it -- but the founders said it before the invite, at an epoch the new
member cannot read, so it heard nothing, nobody said it again, and the
room waited on a screen the member had no reason to open.

A device now says it on joining (the Welcome path) and once each start
(GovernanceSupport.announceAll), for members who joined before this.
The waiting notice names who the room waits on and what for, instead of
"X need to update Giza".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:01:14 +02:00
Kgothatso NgakoandClaude Opus 5.5 aa4c8eba05 Merge branch 'giza' into claude/remove-convenient-group-kinds-888dd3
Two files this branch deleted were changed on giza:

- SelectChatRoomTypeViewModel: giza added a reconcileAdmins call to the
  convenient path, which this branch removed. The robust path
  (MarmotGroupCreation) and direct messages (MarmotOutboundDao) already
  reconcile, so the deletion stands.
- ChatRoomType: giza added minimumAdmins(threshold) for the admin floor.
  It moves to Quorum.minimumAdmins beside the other quorum rules (D6);
  AdminGovernance and AdminChangesJvmTest call it there.

docs/member-admin-promotion.md now notes where the names it cites went.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:24:09 +02:00
Kgothatso NgakoandClaude Opus 5.5 9b7b1a5f62 docs: every group a member makes is robust, built (remove-convenient-groups, Phase 6)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:20:25 +02:00
Kgothatso NgakoandClaude Opus 5.5 c2010abe44 feat: a room with no key behind it takes no new members (remove-convenient-groups, Phase 2b)
A one-to-one chat, or a group its creator runs alone, grown by one more
person would be a group run by one person. The invite screen refuses such
a room and the detail screen no longer offers the invite there. The plan
gains D7, since D1 had assumed no such invite path existed.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:12:07 +02:00
Kgothatso NgakoandClaude Opus 5.5 9008d4fe19 docs: plan to make every group a member creates robust (remove-convenient-groups)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:00:08 +02:00