feat: nothing asks a NIP-17 room for its one ceremony (nip17-multiple-ceremonies, Phase 3)

Six reads took a room's newest ceremony to mean the room's group. With the
same people able to make several groups in one room, each was ambiguous or
wrong:

- The shared-key screen handed over to any ceremony that had not failed. It
  now offers another group, which has to be named once the room has one, and
  lists what the members already have.
- A retry of a failed group's ceremony now starts from that ceremony's name
  and quorum (CreateSharedKeyRoute.retrying), not the room's.
- adminRoomOf became adminRoomsOf: the details screen and the member-action
  explanation offer every group's admin room, by name.
- completedKey's last fallback answers only when the room holds exactly one
  key of its own. Nothing asks it of a NIP-17 room today (Phase 0, P5).
- The repository's two newest-ceremony reads, and the DAO queries only they
  used, are gone. CeremonyLookupsJvmTest now expects none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-22 22:43:34 +02:00
1 parent 1d6f77cf30
commit 4baf5d8f2e
25 files changed
+501 -206

No files matched your search

@@ -551,6 +551,9 @@
<string name="you_already_have_groups_with_these_people">You already have groups with these people: %1$s.</string>
<string name="this_will_be_a_separate_group_with_the_same_name">This will be a separate group with the same name, with a key and room of its own.</string>
<string name="an_unnamed_group">an unnamed group</string>
<string name="open_room_named">Open %1$s</string>
<string name="new_group_with_these_members">New group with these members</string>
<string name="the_new_group_and_its_room_are_called_this">The new group and its room are called this.</string>
<string name="creating_the_group_starts_a_key_ceremony">Nothing is signed for the group without a quorum of you, and the group outlives any one of you. Creating it starts a key ceremony every member takes part in.</string>
<string name="a_group_needs_at_least_people">A group needs at least %1$s people, you included. Go back and pick more.</string>
<string name="pick_at_least_more">Pick at least %1$s people</string>