Commit Graph
143 Commits
Author SHA1 Message Date
Kgothatso NgakoandClaude Opus 5.5 6b5fb76cbe test: a confederation's post end to end with no room anywhere, and the record (confederation-room-removal, Phase 8)
On three real FROST groups with real inboxes, one of Agora's admins
proposes a post; the other eight are asked in their own groups' rooms,
approve, and every device signs it, files it as the confederation's post
and owes it to relays, with no room of the confederation's on any of them.

The plan's header and its table of where the build chose differently;
pointers from confederation.md Phase 13, confederation-without-coordinator.md
D11 and confederation-profile.md D5, D9, Phase 7 and its appendix, whose
rejected idea this plan took up. No device run.

Full jvmTest 2,001, all passing; m3, brand, wallet and Marmot audits pass;
compileDebugKotlinAndroid builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:39:07 +02:00
Kgothatso NgakoandClaude Opus 5.5 bcb3c4d483 docs: a plan to take away the confederation's own Marmot room (confederation-room-removal, Phase 0)
The confederation's signing moves onto two channels that already exist:
each group's own Marmot room within a group, and the groups' inboxes
between them, carried by one admin at a time in order. The posts, charter
and signing attempts the room offered move to the confederation's screen,
and the rooms already on devices are dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:20:36 +02:00
Kgothatso NgakoandClaude Opus 5.5 832e5a11c6 Merge branch 'claude/confederation-profile' into giza
A formed confederation's profile, decided by its groups
(docs/confederation-profile.md, Phases 0 to 8). Disappearing messages
had taken schema 50 first, so the confederation's column is v51,
AutoMigration(50, 51). In GroupInboxManager a profile statement goes to
the confederation before the inbox's NIP-40 expiry check, as the
formation's statements do. Full jvmTest 1,978, all passing; audits at
budget; compileDebugKotlinAndroid builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:14:27 +02:00
Kgothatso NgakoandClaude Opus 5.5 33e88f622d test: a confederation's profile decided end to end, and the record (confederation-profile, Phases 8 and 9)
Three groups of three admins, signing by real FROST and holding real
inboxes, form a confederation the real way on nine devices, then decide
its profile: Agora proposes, Polis endorses, the first in the order
starts the signing and all nine finish it without being asked, every
admin reads it, every group's room says so, and a member of Polis who is
no admin hears it from a relay. A change another group objects to and
its proposer withdraws is never signed.

The plan's header and progress table. Full jvmTest 1,903, all passing;
audits at budget; compileDebugKotlinAndroid builds. No device run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:04:45 +02:00
Kgothatso NgakoandClaude Opus 5.5 ff4f589ee6 Merge branch 'claude/disappearing-messages' into giza
Material Design conformance / budgets (push) Waiting to run
Material Design conformance / tests (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:48:56 +02:00
Kgothatso NgakoandClaude Opus 5.5 d30cea7875 docs: the record of disappearing messages (disappearing-messages, Phase 8)
Status, the notes under each phase, a CLAUDE.md rule for stamping every
NIP-17 payload, and the docs index. The device run is not done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:36:43 +02:00
Kgothatso NgakoandClaude Opus 5.5 3e05a28b65 docs: a confederation's profile, decided by its groups (confederation-profile, Phase 0)
The plan, and three of its premises as tests. A batch of seals with one
voucher is declined today, by refusals that are ours to change. A voucher
a group's quorum signs verifies under its npub with nothing else known. A
profile change carries the whole kind:0 in every group's seal, so it can
carry about 1.1 KB of profile to twelve groups and 13 KB to two: the plan
now says so, rather than "a few KB".

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:18:57 +02:00
Kgothatso NgakoandClaude Opus 5.5 03e2d10def docs: the record of more than one group from the same people (nip17-multiple-ceremonies, Phase 7)
Built except for the device run. The plan keeps its phases as written,
with a table of where the build differs. A ceremony from before names were
carried is matched under its room's name, now pinned in a test; the check
on a real upgraded device has not been done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:59:13 +02:00
Kgothatso NgakoandClaude Opus 5.5 dd8129501c test: the premises of a second group from the same people (nip17-multiple-ceremonies, Phase 0)
Two ceremonies over the same host keys and threshold make two keys, and a
contribution to one fed to the other makes nobody a key. A member holding a
finished key records a second proposal, and a proposal's subject does not
rename a room that exists. The reads that take a room's newest ceremony are
counted so Phase 3 can shrink them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:25:12 +02:00
Kgothatso NgakoandClaude Opus 5.5 5c5243e6da Merge branch 'giza' into claude/confederation-coordinator-logic-6ad9f4
Notifications took schema 48 first, so the confederation's statements
between inboxes are schema 49, AutoMigration(48, 49).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:29:28 +02:00
Kgothatso NgakoandClaude Opus 5.5 d1513ef2d0 docs: the record of a confederation with no coordinator (confederation-without-coordinator, Phase 9)
Phases 0 to 8 built, with what each turned out to be; since-notes in
confederation.md where its coordinator, seal and opening no longer describe
the app. The device run has not been done.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:14:17 +02:00
Kgothatso NgakoandClaude Opus 5.5 085bb4ac00 Merge branch 'giza' into claude/giza-notifications-background-sync-1a8e0b
The group's direct messages took schema 47 first, so notifications' read
marks and ledger move to 47 -> 48. GizaRuntime builds the new group DM
repository and hands it to the sync engine. TYPE_GROUP_DM_FORGOTTEN is
placed with the classifier's silent types.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:30:58 +02:00
Kgothatso NgakoandClaude Opus 5.5 f78bd16b68 docs: a confederation with no coordinator (confederation-without-coordinator, Phase 0)
A plan to send the confederation's proposal and answers between the groups'
NIP-4E inboxes, so every admin of every group reads every admin list, and to
compute the key ceremony's coordinator steps on every device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:19:18 +02:00
Kgothatso NgakoandClaude Opus 5.5 900dfd8c7e docs: notifications are built, and what they chose differently (notifications, Phase 14)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:16:06 +02:00
Kgothatso NgakoandClaude Opus 5.5 f57e9b8dd0 Merge branch 'giza' into claude/dazzling-aryabhata-889d64
The group inbox (NIP-4E) and confederation Part C landed on giza meanwhile.
Where threshold ECDH meets the inbox:

- schema: the inbox has 45 and 46, so the group's direct messages are v47,
  AutoMigration(46, 47);
- the group's 10050 is one event: InboxRefusal declines a bad relay list and
  InboxAnnouncements publishes it; GroupDmRelayRefusal and the second
  publisher are gone, and the inbox's line and label are the ones shown;
- kind 13 batches split on the seal's n tag, by InboxSeal's own reading:
  inbox replies to InboxRefusal and InboxReplies, every other seal to
  GroupDmRefusal and GroupDmSender;
- a wrap to the group tries the inbox keys first, and opens a round only for
  what they cannot; the inbox's unopened count leaves out what was opened.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:28:55 +02:00
Kgothatso NgakoandClaude Opus 5.5 082d097143 docs: the group's direct messages, built (group-threshold-ecdh, Phase 11)
The plan marked built through Phase 10, with what it said against what was
built, and its known gaps; the README row and a since note on confederation.md
D5. The device run has not been done, and the flag stays off in a release
until it has.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:08:26 +02:00
Kgothatso NgakoandClaude Opus 5.5 5683199cdb docs: notifications, and the background sync they need, planned (notifications, Phase 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:55:50 +02:00
Kgothatso NgakoandClaude Opus 5.5 2563572eb1 Merge branch 'claude/nip4e-group-profiles-38d2ac' into giza
Material Design conformance / budgets (push) Canceled after 0s
Material Design conformance / tests (push) Canceled after 0s
The group's inbox (docs/group-inbox.md) and the confederation's signing both took
schema 45. The confederation landed first, so it keeps 45 and the inbox moves to
46 with its own AutoMigration(45, 46); ShippedProfileUpgradeJvmTest's current is 46.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:14:09 +02:00
Kgothatso NgakoandClaude Opus 5.5 dae0a345d2 docs: the group's direct messages, by threshold ECDH (group-threshold-ecdh, Phase 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:10:07 +02:00
Kgothatso NgakoandClaude Opus 5.5 31bcb3a3ff docs: the group's inbox is built, and what it chose differently (group-inbox, Phase 10)
Marks the plan built behind its flag, with a what-the-plan-said table:
the kinds moved to 30410-30416, one publication table, announcements
that wait for a ceremony still finishing, watchers who learn the key,
wraps routed by key as well as by npub, rotation read off what every
device holds with crossing ceremonies settled the same way everywhere.
The README row says so, and confederation.md's D5 gets a since note:
something can now be encrypted to a group that has an inbox.

Not done: the device run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:11:47 +02:00
Kgothatso NgakoandClaude Opus 5.5 ccc439b2db docs: the group's inbox, planned as NIP-4E on a group's npub (group-inbox, Phase 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:24:34 +02:00
Kgothatso NgakoandClaude Opus 5.5 e909313c76 docs: Part C is built, and what it chose differently (confederation, Phase 16)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:10:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 8bb34e6cfb docs: Part B is built, and what it chose differently (confederation, Phases 10-13)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:44:18 +02:00
Kgothatso NgakoandClaude Opus 5.5 ea7cf819b5 docs: the confederation's rounds made public upstream, planned
The work below Giza that unblocks the confederation's key ceremony and
signing: public step functions in secp256k1-zkp, their bindings in
secp256k1-kmp and wrappers in bitcoin-kmp, then the bump. Covers the
three one-process shortcuts the steps must not inherit and the storage
contract a device follows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:52:39 +02:00
Kgothatso NgakoandClaude Opus 5.5 190cb9e90b feat: the coordinator's device says what forming a confederation would take (confederation, Phase 8)
Once every group has accepted, the coordinator's own key opens each
acceptance: each group's admins and threshold, the roles they add up
to, admins who sit in more than one group, and any group with no
public profile here, which stands in the way. The plan is marked as
Part A built, with what the build chose differently.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:28:52 +02:00
Kgothatso NgakoandClaude Opus 5.5 6cb9dd7d1b docs: a group made of groups, planned (confederation, Phase 0)
Groups with a public nostr profile propose, accept or reject a
confederation in public; an acceptance seals the group's admins to the
coordinator in a way every signer recomputes; the DKG, the Marmot room
and confederation signing follow once upstream publishes the rounds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:35:32 +02:00
Kgothatso NgakoandClaude Opus 5.5 d039daf6de docs: the group's nostr profile and posts are built, and the notes they touched say so (group-nostr-profile, Phase 9)
The plan gets its Built header and a table of where the build chose
differently, among them the broadcast screen's refusal of every kind but
0 and 1, which the plan did not have. Four notes that said these features
were gone now say they came back. The device run is not done, and the
header says so.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:49:43 +02:00
Kgothatso NgakoandClaude Opus 5.5 bdb0b3f0a5 docs: the group's nostr profile and posts, planned as a port from Curare (group-nostr-profile, Phase 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:22:37 +02:00
Kgothatso Ngako c56a38aacd Merge branch 'giza' into claude/dependency-update-plan-1b853a 2026-11-20 16:06:20 +02:00
Kgothatso NgakoandClaude Opus 5.5 65a2507a11 docs: the comments that named the old versions (dependency-update, Phase 7)
Comments that state a current version now state the new one: the material3
notes in the catalogue, Theme.kt's expressive note, m3-audit.sh's role list
(ColorScheme declares the same getters at 1.12.0-alpha03), the Kotlin/Native
workaround's note, and two lines of quartz-mls-marmot-update.md. Notes that
record what was true when they were written are left. The plan's status
names what is left: pushing the four submodule branches, Phase 8, and
Compose 1.13.0 once final.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 15:40:11 +02:00
Kgothatso NgakoandClaude Opus 5.5 b6d4c70920 docs: the icon is built, and what is left to see on devices (giza-app-icon, Phase 5)
check passes with Phase 0's audit numbers unchanged and one more test. The plan now says it
is built, the rebrand's brand-assets phase points to it, and the index entry says what is
still waiting on a mac, a phone and Windows.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:59:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 16dde95624 docs: the sphinx master, and the baseline it is matched against (giza-app-icon, Phase 0)
The designer's Transparent Cutouts SVG is committed unchanged as docs/brand/giza-sphinx.svg.
Its path is the one Android's launcher layers already carry. Measuring it showed its
sub-paths are disjoint, so the fill rule does not make the cutouts; the plan said it did,
and now says why it does not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:52:58 +02:00
Kgothatso NgakoandClaude Opus 5.5 873d76aaef docs: the sphinx icon on iOS, desktop and in the app, a phased plan (giza-app-icon)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 14:47:44 +02:00
Kgothatso NgakoandClaude Opus 5.5 25f14aa488 docs: a phased plan to update every dependency outside the Magpie four
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 13:54:48 +02:00
Kgothatso Ngako 6bb125a900 Merge branch 'giza' into claude/update-quartz-mls-marmot-60fb75 2026-11-20 12:05:07 +02:00
Kgothatso NgakoandClaude Opus 5.5 a6d04ec5a0 docs: the notes that still said quartz 2.7.3 (quartz-mls-marmot-update, Phase 7)
marmot-kmp.md's D2 and its out-of-scope item point here; the docs index reads
this note after it; CLAUDE.md says the daemon is Java 21, a first build needs
the network, and a version moves in the catalogue and the lock together. The
plan's status: built but for mls-kmp 1.4.0's release, the mac half of
Phase 6, and Phase 8's manual checks. check green, jvmTest 1392/1392.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:38:57 +02:00
Kgothatso Ngako d072fa7f90 Merge branch 'giza' into claude/rotating-shares-admin-approval-edd90c 2026-11-20 11:29:23 +02:00
Kgothatso NgakoandClaude Opus 5.5 cc21d68356 feat: the Shares section says whose share a rotation takes away; the record (admin-change-rotation, Phases 7 and 8)
The running card names the members whose share it takes away because
the group removed them as admin, and their rows read Share being
rotated away instead of Holds a share. Removing an admin says nobody
is asked again.

The plan is marked built, with where the build chose differently, and
the notes it changes point to it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:11:32 +02:00
Kgothatso NgakoandClaude Opus 5.5 d51fdde043 docs: plan the move to quartz 2.20.1, mls-kmp 1.4.0, marmot-kmp 2.3.0 and crypto-kmp 2.1.1
None of the four is on Maven Central any more: from quartz 2.19.0, mls 1.3.1,
marmot 2.3.0 and crypto 2.1.1 they are released on Nostr + Blossom through the
Magpie settings plugin. The code the app calls has barely moved; the way the
build reaches it has. Nine phases, marmot's own pins first and the newest second.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 11:00:00 +02:00
Kgothatso NgakoandClaude Opus 5.5 e682b06fb3 docs: the founding-admins card is gone, and where the notes say so (remove-founding-admins-card, Phase 5)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:43:16 +02:00
Kgothatso NgakoandClaude Opus 5.5 4550201dd0 docs: a plan for admin changes that carry their rotation, and take turns with it
The rotation an admin change owes asks nobody, because the group's
signature on the change already decided who is withheld; admin changes
and rotations never overlap. Phase 0's twelve decisions, as recommended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 10:39:27 +02:00
Kgothatso NgakoandClaude Opus 5.5 599cef7d10 docs: the member rows are built, and where the build chose differently (member-row-actions, Phase 6)
The note's status, a table of the build's departures from the plan --
the route carries the action by name, an unavailable item's state rather
than a second click label, the only admin as one reason -- the README
entry, and a pointer from member-admin-promotion's Phase 11. The unused
"See why" string goes with the click label it was for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:39:29 +02:00
Kgothatso NgakoandClaude Opus 5.5 35d0b1b0ec docs: a plan for member rows that offer every action and explain the ones not open
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 09:19:26 +02:00
Kgothatso NgakoandClaude Opus 5.5 f1493d8c3b Merge branch 'giza' into claude/member-admin-promotion-plan-d9d716
remove-convenient-groups' new test makes its phones with Phone(profile);
since the legacy KeyPackage slot was retired every phone publishes the one
package the app does, so it is Phone().

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:46:40 +02:00
Kgothatso NgakoandClaude Opus 5.5 f90506aaba docs: the Marmot v2 rollout is done -- new rooms on the current profile, the legacy slot retired (v2 Phase 9)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 08:43:02 +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 c64ba8aae4 docs: Phases 8 and 9 are built under the experimental enrollment, and where the build chose differently
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:52:42 +02:00
Kgothatso NgakoandClaude Opus 5.5 b15b51c123 Merge branch 'giza' into claude/member-admin-promotion-plan-d9d716
robust-group-admins built the same thing as this branch's Phase 1: a single
writer for Participant.adminAt, run at creation, on the Welcome, on every
commit and once at start. Its AdminFlags is kept as that writer; this
branch's MarmotInboundManager.reconcileAdmins and adminFlagChanges are
gone, and the direct-message and convenient-room creation sites and the
detail screen's catch-up call AdminFlags instead. The admin captions stay,
on top of it.

Both sides added to the room's details: the founding-admin repair and
invite beside the member menu, admin labels and governance section. The
member row keeps one label line -- Admin from adminAt, Holds a share
beside it -- and the removal message now has three cases: proposed for the
group's signature, rotation held, or sent. The rotation offer waits for
both: a rotation available, and the removal not still awaiting signatures.

addAdmins, the founding-admin repair, proposes its commit for the group's
signature in a governed room instead of committing it bare.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:29:23 +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 9d2a13b856 docs: admin promotion is built but for its share work, and where the build chose differently
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 02:18:19 +02:00