Commit Graph
7 Commits
Author SHA1 Message Date
Kgothatso NgakoandClaude Opus 5.5 bd1b5d56dd feat: confederation events reach relays, and come back from them (confederation, Phase 5)
Behind ExperimentalFeatures.confederation. A live subscription asks
the public relays for what names our rooms and what answers open
proposals, and files it in the confederation's table rather than as a
NostrEvent. What a group signs is filed on every device and owed to
relays by the one that proposed it; a publisher keeps at it until a
relay takes each, and the broadcast screen can send one again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:59:52 +02:00
Kgothatso NgakoandClaude Opus 5.5 f7b361c95f feat: a device declines a confederation event it finds wrong, out loud (confederation, Phase 3)
The refusals run where the wallet's and the statement's do: on arrival,
again at approval, as the decline's reason and in a resend. A proposal
is signed only with its proposer's own acceptance, by a coordinator who
is the proposer and an admin, and an acceptance only if its seal holds
exactly the admins and threshold this device sees in the group. The
seal's secret and the proposal being answered ride the FROST proposal.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:54:30 +02:00
Kgothatso NgakoandClaude Opus 5.5 8b38dc8763 feat: where a device keeps what it has heard of a confederation (confederation, Phase 4)
Schema 43: ConfederationEvent for every proposal and answer, verified
as its author's before it is filed and never a NostrEvent row;
ConfederationInvitee so a room finds the proposals naming it; and
ConfederationSigning for what a signing session has to remember past
its proposal's arrival.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:47:05 +02:00
Kgothatso NgakoandClaude Opus 5.5 f1ad108b13 feat: the confederation's events, its sealed admin list and its state (confederation, Phase 2)
Kinds 9430-9433, regular rather than addressable. A proposal, an
acceptance carrying the group's admins sealed to the coordinator with
NIP-44 under a shared ephemeral secret, a rejection and a withdrawal;
the admin list has one encoding, and a proposal's state is computed
from the answers a device holds, never stored.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:44:14 +02:00
Kgothatso NgakoandClaude Opus 5.5 abe555e57c test: a confederation signs as its room's id, and today's answer to its kinds (confederation, Phase 1)
SharedKeyDerivation.Derived carries the tweak scalars it applied, so a
key held some other way can reach the same room key. The three premises
of the plan pass: the room-id derivation replays under a confederation
key, NIP-44 seals reproduce byte for byte, and the new kinds currently
reach the member unrefused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:39:06 +02:00
Kgothatso NgakoandClaude Opus 5.5 e84fc9b599 docs: the three checks before any code (confederation, Phase 0)
Kinds 9430-9433 are free; quartz's NIP-44 takes a fixed nonce; and a
share does not imply an admin, so the coordinator is checked against
the room's admins as well.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 21:36:28 +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