Commit Graph
375 Commits
Author SHA1 Message Date
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 6285033c8c feat: the confederation's room and its key ceremony's room say what they are (confederation-profile, Phase 7)
The confederation's own room names its groups, each with the people who
hold its roles, labels each member with the groups they hold roles for,
says that admins who joined later are not in it, and opens the
confederation's screen from a member group this device is in.

The key ceremony's NIP-17 room, once the ceremony has made the
confederation, says so and leads to the confederation, and its composer
is hidden: anything typed there would reach the founding people as
people.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:58:12 +02:00
Kgothatso NgakoandClaude Opus 5.5 19cd1aaee6 feat: the confederation's new profile reaches relays and every member group (confederation-profile, Phase 6)
The signed kind:0 is owed by every device that signed it and sent to the
public relays and every member group's inbox relays. The live
confederation subscription also asks for each known confederation's own
kind:0, by its key, so a member who is not an admin and holds only the
charter hears the new profile, and each member group's room says so:
"Atlas has a new profile". An older profile heard late changes nothing.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:54:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 8d494ddbd3 feat: a confederation signs the profile its groups endorsed, with nobody asked (confederation-profile, Phase 5)
A group's voucher, signed beside its seals, is carried into the
confederation's room by the group's role holders (kind 30396). Once a
role holder's device holds T groups' vouchers for a change, the first in
the roster's order starts the signing, with ten minutes a place for
those after, and again after a backoff when an attempt fails. Each role
holder's device answers for its seats from what its groups said: yes
where the group vouched, no where it did not. Two attempts at once end
in the one whose id sorts first.

A kind:0 without enough vouchers, or older than one already signed, is
refused, so the confederation's room no longer edits its profile; posts
and the charter keep the direct path. The signed profile is filed under
the confederation and owed to relays by the device that started it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:51:36 +02:00
Kgothatso NgakoandClaude Opus 5.5 ff4f589ee6 Merge branch 'claude/disappearing-messages' into giza
Material Design conformance / budgets (push) Canceled after 0s
Material Design conformance / tests (push) Canceled after 0s
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:48:56 +02:00
Kgothatso NgakoandClaude Opus 5.5 5d6bbcd5e8 feat: the confederation's own screen, its profile form and its changes (confederation-profile, Phase 4)
A formed confederation opens its own screen, from its row on each member
group's screen and from its card among the group's confederations: its
signed profile, its groups with who holds their roles, the changes to its
profile and the way to propose one. A member who is not an admin sees the
public part and is told why the changes are missing.

Editing the profile asks the member's group to propose the change (or
the group they pick, when they are an admin of more than one); a change
opens on its own screen with what it would change field by field, every
group's answer, and Endorse, Object or Withdraw. The lines in each
group's room open the change, or the confederation once it is published.

The five profile fields move to a shared NostrProfileFields, used by the
group's form too, with decorative icons beside their labels.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:44:33 +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 ada9586720 feat: what a group sends disappears too (disappearing-messages, Phase 7)
A group's direct messages and inbox replies carry the proposer's expiry
inside the rumor the quorum signs; signers refuse a length nobody could
choose; the wraps ask relays to drop them; an expired arrival is not
filed; and the sweeper deletes a group's expired messages, empties the
words of their wraps and drops what was still owed. A confederation's
statements are left alone.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:36:21 +02:00
Kgothatso NgakoandClaude Opus 5.5 44cbe596d2 feat: each group's room hears of a change to its confederation's profile (confederation-profile, Phase 3)
A line in each member group's room a device holds, for every change,
endorsement, objection and withdrawal it files, once each, and for the
answers that arrived before their change once the change does. The line
carries the change's id so the next phase can make it open the change.
Another group proposing a change notifies; the answers are quiet.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:34:55 +02:00
Kgothatso NgakoandClaude Opus 5.5 c293514dc1 feat: a group proposes, endorses or objects to its confederation's profile (confederation-profile, Phase 2)
A change is a statement by the editing group, sealed by its quorum to
every member group's inbox, with a voucher signed in the same session.
Every other group endorses (with its own voucher) or objects, the same
way. The confederation's groups and threshold come from its record, or
from its charter, which now says the threshold too.

A member's device reads what its group would sign: the seals to exactly
the confederation's other groups, a readable profile editing the newest
one it holds, one voucher for exactly that kind:0, an answer to a change
still open that this group has not answered. Anything else is declined
out loud. The approval screen's notes say what would change, field by
field.

The inbox hands the statements to the confederation and files no copy
as a conversation.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:32:06 +02:00
Kgothatso NgakoandClaude Opus 5.5 2e747f907c feat: the disappearing-messages setting, and the conversation showing it (disappearing-messages, Phase 6)
A screen for the profile's default and a NIP-17 conversation's override:
presets from Off to four weeks and a custom length from five minutes to
a year, with what the setting does and does not do. The conversation
shows its timer in the app bar, a one-time notice, and an hourglass
beside each line that will disappear.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:27:52 +02:00
Kgothatso NgakoandClaude Opus 5.5 4994248d2b feat: the wire and storage of a confederation's profile changes (confederation-profile, Phase 1)
Kinds 9435 to 9438: a group proposing a new profile for its confederation,
another endorsing or objecting to it, and the voucher a group signs beside
its seals. None is public, so none joins ConfederationKinds.ALL. A change
carries the unsigned kind:0, dated as itself, so its id is fixed before
anyone answers.

ConfederationProfileChangeStatus computes where a change stands from what
a device holds: T of N groups endorse it, an objection blocks only when T
is out of reach, a newer signed profile supersedes it, and nothing past
its expiry counts.

Everything is filed in ConfederationEvent under a new confederationId
(schema 50), the signed kind:0 included, because GroupSignedEvent hangs
off a room that a member who is no admin does not hold.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:25:30 +02:00
Kgothatso NgakoandClaude Opus 5.5 c50288a9a1 feat: a ceremony's rounds leave the device when its session is done (disappearing-messages, Phase 5)
ProtocolRetention keeps an expired DKG, signing or confederation-ceremony
round until the session it names has completed or failed, and releases a
round with no session here, a Welcome and anything else at its expiry.
The runtime's sweeper now uses it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:19:34 +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 a4c12eee24 feat: what has disappeared is deleted from the device (disappearing-messages, Phase 4)
The sweeper deletes an expired payload with every wrap, seal and chat
line that held it, lets go of a room created from it first, and
withdraws any notification still showing it. It watches the soonest
expiry and runs beside the notification engine. A message that arrives
already expired is never filed: its seal goes, its wrap is emptied and
tombstoned. Until Phase 5, only what a person wrote is released.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:15 +02:00
Kgothatso NgakoandClaude Opus 5.5 b7f6df0c3b feat: storage for disappearing messages, v50 (disappearing-messages, Phase 2)
A conversation's override and one-time notice on ChatRoom, an expiry on
ChatMessage, GiftWrapPayload (read off its own tags) and GiftWrapMessage,
a wrap's link to its payload, and the DisappearingSetting and
ExpiredGiftWrap tables. Nullable columns and new tables only, so Room
generates the migration; a missing setting reads as the one-day default.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:04:18 +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 088e86acc4 feat: a NIP-17 room lists the groups made in it (nip17-multiple-ceremonies, Phase 5)
The room's details showed one admin-room card, for the newest group. They
now have a Groups section listing every group the room's members made there,
each with where it stands: key ceremony in progress, waiting for its room,
or its room, which the row opens. The section says so when there are none.

The Shared key button reads 'New group with these members' once the room
has a group. shared-key-ceremony.md and CeremonyEntryPointsJvmTest describe
the creation screen as making a new group from a room's members.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:57:21 +02:00
Kgothatso NgakoandClaude Opus 5.5 c5618a706c docs: disappearing messages, the Phase 0 checks answered (disappearing-messages, Phase 0)
quartz tags the seal, but Giza's own refusals and quartz's mergeWith mean
Giza's seals stay empty; the wrap uses quartz's expiry formula. The DM
relay supports NIP-40, Bennu reads rumor tags by name, and confederation
statements travel through the inbox rather than the payload table.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:52:25 +02:00
Kgothatso NgakoandClaude Opus 5.5 d1a9b99519 docs: a plan for disappearing NIP-17 messages (disappearing-messages, Phase 0)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:48:28 +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 bad5d122d4 feat: who makes the confederation's room, when nobody coordinates (confederation-without-coordinator, Phase 8)
The roster's people in order: the first makes the room at once, the k-th
after k hours with no room here. A confederation records whose MLS group it
holds as its room, and a welcome from someone earlier in the order replaces
it, so two creators end in one room on every device.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:13:41 +02:00
Kgothatso NgakoandClaude Opus 5.5 66932a8439 feat: the confederation's screens look for every group's inbox (confederation-without-coordinator, Phase 6)
The form asks for each group's profile, inbox key and inbox relays, shows a
group with no inbox as out of reach, waits on this group's own inbox, and
stops at twelve groups. A device that hears a proposal asks about every named
group's inbox, and a failed ceremony offers Try again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 14:06:27 +02:00
Kgothatso NgakoandClaude Opus 5.5 f64f161959 feat: the confederation's statements between inboxes, and a ceremony nobody opens (confederation-without-coordinator, Phases 3 to 5 and 7)
A proposal and every answer are rumors a group seals to every group's
announced inbox key, its quorum signing the seals; every admin of every group
files them, computes the state and reads every admin list. The key ceremony
is joined by each admin from the statements their device holds: its room is
derived from its people, its seed from everyone's contribution, and every
device computes the broadcast. Schema 48 drops version 1's public statements.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:59:38 +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 c3d707767b feat: the confederation's statements as rumors (confederation-without-coordinator, Phase 2)
The proposal, acceptance, rejection and withdrawal as rumors between groups,
a proposal carrying its proposer's own admin list, and the attestation,
ceremony id and session seed every device derives. Beside version 1 until the
switch.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:28:31 +02:00
Kgothatso NgakoandClaude Opus 5.5 e2de3fa80c test: pin the coordinator's part in a confederation (confederation-without-coordinator, Phase 1)
An opening from anyone but the coordinator is refused, and every device waits
on the coordinator's broadcast. Phase 7 flips both.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:24:29 +02:00
Kgothatso NgakoandClaude Opus 5.5 b2f22f2cd4 test: the premises of a confederation with no coordinator (confederation-without-coordinator, Phase 0)
The broadcast is the same on every device, the ceremony's room id is the set
of its people, and one group's inbox seal opens in another's. A statement's
size grows with the square of the groups: 12 fit, 16 do not.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:23:43 +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 0d33923877 test: threshold ECDH's six premises, against the real libraries (group-threshold-ecdh, Phase 0)
The combined point gives quartz's own NIP-44 conversation key for every
3-subset of a dealer key. Check 6 changed the wire: a payload encrypted once
under a key sealed per admin, with wraps and seals carried by reference.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:13:49 +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 877f5bbe58 test: a threshold-1 ceremony leaves every admin one secret, and a group-signed seal verifies (group-inbox, Phase 0)
The five checks before any code. ChillDKG at t = 1 gives every
participant the same secret, whose public key is the ceremony's; a
batch of kind 13 events the quorum signs verifies as the room. The
plan's kinds 30390-30396 collide with quartz's trusted lists, so the
ceremony takes 30410-30416, which nothing else uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:27:02 +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 bacd53a1ae feat: what a confederation signs: its profile, its posts and its charter (confederation, Phase 15)
The profile and post editors work in a confederation's room, proposing
through the confederation instead of a FROST key, and the signed event
lands where the existing screens read it. A charter names exactly the
confederation's groups under its name; once signed it goes to relays,
and every member group's room hears of it, which is how members who
are not admins learn the confederation exists. A request to sign opens
from its line in the room for each member to approve or decline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:10:30 +02:00
Kgothatso NgakoandClaude Opus 5.5 e723e70a59 feat: a confederation signs as itself, one person per device (confederation, Phase 14)
Every role holder is asked; the proposer fixes the selection from the
first yeses, and each selected role makes a nonce held in memory only,
confirms and gives its partial. The transcript, the certificate, each
group's partial and the signature need no secret, so every device
computes them and checks the signature against the room's id before
keeping it. A device that restarts mid-attempt ends it out loud.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:00:30 +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 c9f7d08b18 feat: the confederation's room, the key's own (confederation, Phase 13)
Once the key exists, the coordinator's device makes a Marmot room whose
id the confederation's key derives, with every role holder a member and
an admin, born governed. It waits on missing key packages and retries
when one arrives; a record that does not verify, or a device with no
role, makes no room. The room's screen says it is the confederation's
and that its members are fixed until the confederation can sign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:44:00 +02:00
Kgothatso NgakoandClaude Opus 5.5 615afc30a1 feat: what a finished ceremony leaves: the confederation, certified (confederation, Phase 12)
Every device that took part files the confederation under the room id
its key derives, as upstream's canonical roster, key state and genesis,
with its own shares kept as recovery packages. The genesis is verified
against the key state before anything is written, and each of the
device's own member groups gets a line saying it is part of it now.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:38:20 +02:00
Kgothatso NgakoandClaude Opus 5.5 02f041431a feat: the confederation's key ceremony, one person per device (confederation, Phase 11)
The coordinator opens a NIP-17 room over every admin of every group and
discloses the key that opens each acceptance. Each device rebuilds the
roster from what the groups signed and checks its own groups' admins
before it will join; joining is the only thing a member is asked, and
every DKG step after it runs from stored inputs over ConfederationDkg.
Each device derives the key state and assembles the certified genesis
itself, and keeps its share as a recovery package.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:35:38 +02:00
Kgothatso NgakoandClaude Opus 5.5 e1a18f83c5 feat: the confederation's roster, the same bytes on every device (confederation, Phase 10)
ConfederationRosterBuilder writes upstream's roster from the proposal
and the opened acceptances: groups and admins sorted, the proposal's
outer threshold, each group's sealed threshold, the admin's npub as
the entity and an attestation hash over the proposal and acceptances.
Host keys derive from the member's nsec per group and proposal, so one
person in two groups holds two roles with a key each.

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