Files
giza-kmp/composeApp
Kgothatso NgakoandClaude Opus 5.5 3efa1af554 test: every founding member of a robust group is its admin (robust-group-admins, Phase 0)
RobustGroupAdminsJvmTest states the promise and shows where it breaks.
Three app phones: one creates the admin room through MarmotGroupCreation
with all three as admins, the others join by a real Welcome, gift wrapped
and stored through the sync funnel.

On every device the admin policy names the founders and isLocalAdmin is
true, on both profiles. The rows do not: a joiner's Welcome writes no
adminAt, so its own rows flag nobody -- ignored until Phase 2. A member
invited later is not an admin. The ceremony half checks that every device
that took part agrees on the founding set, for a group and a subgroup.

The later-member case runs on the legacy profile only: on the current
profile MarmotGroupCreation invites the founders through a room read
before its routing id is recorded, so a later invite skips its commit.
Phase 4 fixes that.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:57:18 +02:00
..