Commit Graph
130 Commits
Author SHA1 Message Date
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 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 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 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
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
Kgothatso NgakoandClaude Opus 5.5 e78dfe50cf Merge branch 'giza' into claude/rotate-shares-single-approval-338a7d
giza brought rotation-waits-for-key-state, built in parallel from the
same base, and robust-group-admins. The first overlaps this branch, and
the two agreed on not asking the proposer. Where they met:

- The proposer's dialog is this branch's, read from the proposal's own
  plan with its refusal, under giza's title and caveat; giza's dialog,
  which listed stale members from the summary, went. The preview's
  refusal carries rotationHold's reason, and ChatRoomDetailSharesJvmTest
  asks its question of the kept dialog.
- The proposer is approved to take part only; giza also set
  confirmApprovedAt, which nothing reads.
- The Shares section keeps both: giza's held button, its reason and
  'Ask the group to sign', and this branch's running card and abandon.
- giza's hold tests left the new key state unsigned by not signing it.
  It signs itself now, so they hold the signing messages after the
  proposal (signingHeldOpen). This branch's test of two rotations opened
  at once gave way to giza's, which asserts more.

jvmTest 1281/1281, compileDebugKotlinAndroid, m3Audit at its budgets,
brand and wallet audits.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:43:23 +02:00
Kgothatso NgakoandClaude Opus 5.5 b1d62d9eef docs: the commit travels inside the group's signature; no upstream work
The first draft's Phase 0 changed mls-kmp and marmot-kmp so that a device
could refuse an unsigned commit. Instead the group signs an event whose
content is the complete kind:445 commit, published as an application
message; every device checks it on a throwaway copy of the group and hands
the inner event to the engine, and drops a bare commit at the one inbound
door. The rule is a marker in the room's profile description, switched on
once every member has said it can follow it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:43:18 +02:00
Kgothatso NgakoandClaude Opus 5.5 32360994c5 docs: admin promotion is built for convenient rooms, and what waits on Phase 0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:34:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 a95d6db118 docs: every founding member of a robust group is its admin, built (robust-group-admins, Phase 7)
The plan is marked built, with a table of the nine places the build
chose differently -- among them that Phase 4 acts on a room at epoch 0
rather than on rows that were never written, since rows are hard-deleted,
and that it also fixed the current-profile routing bug Phase 0 found.
The README row says built; automatic-key-ceremony.md gains step 4 and
subgroups.md the repository taking the ceremony instead of a list.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:21:12 +02:00
Kgothatso NgakoandClaude Opus 5.5 99261876bf docs: taking part is the only approval, as built (rotate-shares-single-approval, Phase 7)
The plan gets a Built header and a table of where the build chose
differently: the proposer was asked twice not three times; two rotations
opened at once never reach the write-once rule; the stall-clock test had
to backdate its messages to catch anything; one full run died on a
SQLite SIGSEGV unrelated to this change. frost-share-refresh.md's gate
table shrinks to one row with the history of CONFIRM, its key-state step
names the rule that now signs it, and README says both notes are built.
automatic-key-ceremony.md points here for the second automated key
state.

Not done: the emulator session. Nothing here has run on a device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:13:55 +02:00
Kgothatso NgakoandClaude Opus 5.5 8088efd732 docs: making a member an admin and back, a phased plan
Three rules: every admin holds a share, every commit in a keyed room is a
proposal until the group's threshold signature is on it (a member's own
leave and key update excepted), and a robust group keeps at least three
admins. Phase 0 is upstream work in mls-kmp and marmot-kmp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 01:05:30 +02:00
Kgothatso NgakoandClaude Opus 5.5 f2b0aa91d4 docs: every founding member of a robust group is its admin, phased
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:50:34 +02:00
Kgothatso NgakoandClaude Opus 5.5 5820be9bc5 docs: taking part is the only approval a share rotation needs, as a plan
A recipient is asked three times today: to deal, to store the new share,
and to sign the new generation's key state. Only the first is a decision.
The plan removes the other two in seven phases, and names what removing
them breaks: abandon lives only on an approval row, and nothing resumes a
rotation without a message.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-20 00:50:04 +02:00
Kgothatso Ngako f88c70bee4 Merge branch 'claude/frost-reenrollment-plan-055ba8' into giza-refresh 2026-11-20 00:03:13 +02:00
Kgothatso NgakoandClaude Opus 5.5 6491d2aa13 docs: joining is the only approval, as built (automatic ceremony, Phase 8)
The ceremony note's approval section becomes 'Joining is the only
approval'; the subgroup note says which of its four steps anybody is
asked about; the plan records where the build chose differently and
that its device session has not been run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 23:29:28 +02:00
Kgothatso NgakoandClaude Opus 5.5 ebe240a43e docs: joining is the only approval in a key ceremony (plan)
Phased plan to make a key ceremony run by itself once a member has
joined: rounds 1 and 2 automatic, a resume sweep in place of the tap,
the coordinator's follow-up steps and the key state's signatures
automatic, and abandon kept for a member who goes quiet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:44:34 +02:00
Kgothatso NgakoandClaude Opus 5.5 8dd710a156 docs: rotating a group's shares without moving its key (plan)
Enrollment evaluates the same polynomial, so it cannot rotate a share; a
zero-sum refresh can. Thirteen phases from a frost_refresh module in
secp256k1-zkp to the cutover, removal, repair and UI in Giza. D1-D8 are
decided as recommended.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-19 22:32:48 +02:00