Commit Graph
1122 Commits
Author SHA1 Message Date
Kgothatso NgakoandClaude Opus 5.5 206a44e278 feat: the desktop closes to the tray and notifies from it (notifications, Phase 12)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:04:24 +02:00
Kgothatso NgakoandClaude Opus 5.5 51c2423ab6 feat: iOS syncs when BGTaskScheduler lets it (notifications, Phase 11)
A refresh task runs the quick pass with 25 seconds and a processing task
the full one with eight minutes, both registered by an app delegate that
also forwards notification taps. Written on linux: none of the Swift or
iosMain code has been compiled; it needs a mac before it can be trusted.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:59:29 +02:00
Kgothatso NgakoandClaude Opus 5.5 a60f6b937e feat: Stay connected, an opt-in service that holds the relays open (notifications, Phase 10)
A specialUse foreground service keeps AppLifecycle.holdConnections true and
activates the default profile when no screen has, so the app's own live
subscriptions deliver within seconds while closed. Off by default, a switch
on the notification settings, started only from the foreground.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:58:38 +02:00
Kgothatso NgakoandClaude Opus 5.5 c9faf62f09 feat: Android syncs every fifteen minutes while closed (notifications, Phase 10)
A WorkManager worker runs the full pass with a nine-minute deadline,
scheduled from the application behind ExperimentalFeatures.backgroundSync.
The settings screen says what each platform does while closed, and when it
last did it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:53:44 +02:00
Kgothatso NgakoandClaude Opus 5.5 4a6f45aac8 feat: one bounded sync while off screen, on the app's own engines (notifications, Phase 9)
BackgroundSyncPass activates the default signing profile when no screen
has, holds the connections so the live subscriptions and the foreground
catch-up run as they would on launch, waits for the sync queue to drain
and the outbound queue to stop moving or for its deadline, posts what
arrived, lets go and records the outcome on the ledger.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:46:23 +02:00
Kgothatso NgakoandClaude Opus 5.5 74c7a0dd7f fix: a minimised desktop stays connected, and iOS gets its grace (notifications, Phase 8)
AppLifecycle answers two questions now: whether somebody is looking, and
whether the live subscriptions should be open. Compose Desktop reports a
minimised window as stopped, which closed every subscription; the desktop
holds them for as long as it runs. On iOS a background task holds them for
25 seconds after leaving the screen so queued work can still go out.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:38:05 +02:00
Kgothatso NgakoandClaude Opus 5.5 53d1beb941 feat: the switches, on the profile, and mute on the room (notifications, Phase 7)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:33:55 +02:00
Kgothatso NgakoandClaude Opus 5.5 467d14c1c5 feat: new lines become notifications while the app runs (notifications, Phase 6)
One dispatcher in common code reads lines above the identity's cursor,
decides, groups per room and category and posts through a platform
notifier: Android channels and MessagingStyle, UNUserNotificationCenter on
iOS (not compiled here), and a desktop sink the tray fills in Phase 12.
A tapped notification opens its room.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:28:23 +02:00
Kgothatso NgakoandClaude Opus 5.5 f2e57edc92 feat: which lines notify, and when not, decided in one pure place (notifications, Phase 5)
The identity's notification switches are folded into NotificationLedger at
schema 47, which has not shipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:20:49 +02:00
Kgothatso NgakoandClaude Opus 5.5 b6db6d040b feat: a room on screen is read, and what is not is counted (notifications, Phase 4)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:14:48 +02:00
Kgothatso NgakoandClaude Opus 5.5 c248ab529c feat: read marks, mute and the notification ledger, schema 46 to 47 (notifications, Phase 3)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:08:33 +02:00
Kgothatso NgakoandClaude Opus 5.5 1ac519059f refactor: one runtime per process, owned by the process (notifications, Phase 2)
The database, repositories and the sync and notary engines move out of
GizaNavHost's remember blocks into GizaRuntime, made by GizaApplication on
Android, MainViewController on iOS and main() on desktop. Nothing changes
about how they run; there is now one of each, and a process with no
activity can reach them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 12:02:06 +02:00
Kgothatso NgakoandClaude Opus 5.5 be6e29b2c9 test: pin what notifications change, before they change it (notifications, Phase 1)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 11:58:18 +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 8bc7ab3e33 feat: the inbox key changes with the group's admins (group-inbox, Phase 9)
InboxRotation reads what every admin's device already holds: the key
was made over one set of admins and the room's policy now names
another. That covers a removal, a demotion, a step-down and a promotion
alike, and a change that landed while the app was closed. The admin
whose key sorts first starts the new ceremony, asking nobody, after any
share rotation the same change owes; the rotated key's announcement is
vouched for and signed unasked; the removed admin's device has already
let go. Run by the governance follow-through and the sweep, and offered
by hand in the settings, which say when the admins have changed since
the key was made.

Two admins who start a rotation at once end in one ceremony on every
device: each keeps the one whose session id sorts first and ends the
other out loud. A proposal for a generation a device already has is
dropped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:09:01 +02:00
Kgothatso NgakoandClaude Opus 5.5 6b59282ebe test: two pins Phase 8 moved, moved with it (group-inbox, Phase 8)
A DM peer's sync now asks for their 10044 too, and Phase 0's seal
premise in SignedGroupKeyStateTest is a seal nobody can read, which a
signer now declines (D12). The premise itself is checked end to end in
InboxReplyJvmTest; this one now pins the decline.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:09:01 +02:00
Kgothatso NgakoandClaude Opus 5.5 d21d6ecd05 feat: the group answers from its inbox, once its quorum has read and signed the reply (group-inbox, Phase 8)
InboxReplies builds a reply as one rumor authored by the group, sealed
from the announced inbox key to each recipient's announced key (or
their identity) and once to the group itself, per nostr-protocol/nips#2361,
and proposes the seals as one batch with the manifest beside them,
sealed to the inbox key, so a member who is not an admin learns how
many seals there are and nothing else. Every signer reads the reply
before signing it: InboxRefusal opens the manifest and every seal, and
declines out loud a copy that says something else, a seal to a key its
recipient did not announce, a forged 10044, a recipient the reply does
not name, a blank reply, a seal dated outside two days, or anything it
cannot read -- including on a device that holds no inbox key. The
manifest rides a resend, and the signing screen says the reply's words,
its recipients, and who has announced no key.

Once signed, the proposer's device wraps each seal for its recipient's
relays and the group's copy for the group's, owed through
GroupInboxPublisher, and files the copy at once; other admins file it
when it arrives. A reply not yet on a relay offers Send again. The
conversation screen gets the composer, which warns about a recipient
whose app may not open a message from a group. A seal draws nothing in
the room's transcript.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:05:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 12a93bd4d7 feat: the group's inbox, seen (group-inbox, Phase 7)
Three screens, each with a way back, readableContent, the four states
and the transition between them: the inbox (its conversations, newest
first, with who they are with and what is unread; mail this device
cannot open, counted with why; an inbox the group has not yet announced
saying nobody can write to it; and for an admin promoted after the
first key, why earlier mail is missing), a conversation (theirs on the
leading edge, the group's replies marked as the group's), and the
inbox's settings (setting one up with where mail should arrive, the
key generation by generation, the ceremony with who it waits on and
Abandon, and Rotate the inbox key).

The group's screen gets an Inbox row with the unread count on a device
that holds the key, the ceremony while it runs, or Set up an inbox for
an admin who could start one. A member who is not an admin sees no row.
The ceremony's own screen planned for Phase 4 is the settings screen's
ceremony card. m3Audit at its budgets; compileDebugKotlinAndroid builds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 02:00:09 +02:00
Kgothatso NgakoandClaude Opus 5.5 5370527a4f feat: the group's inbox, read on its admins' devices (group-inbox, Phase 6)
live-group-inbox asks the relays a group's mail is announced to arrive
on for every gift wrap tagged with the group's npub, as #2361 has a
sender tag it, or with one of the inbox keys this device holds, as an
app that knows only the announcement tags it. What arrives goes to
GroupInboxManager, never through the personal inbox or a NostrEvent
row: each wrap into a ledger, opened with the newest key that opens it,
the seal by its n tag, the sender's own 10044, or their identity, and
filed as one message per rumor in a conversation keyed by its people.
A wrap no key opens is kept and counted; a key that arrives later
reopens the ledger. A device that sees its owner is no longer an admin
forgets the keys and the mail, and says so once. Peers' 10044s are now
fetched with their other DM kinds.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:52:39 +02:00
Kgothatso NgakoandClaude Opus 5.5 1c29df61d8 feat: the group announces its inbox, and declines a wrong announcement out loud (group-inbox, Phase 5)
The coordinator of a finished inbox key ceremony asks the group to sign
its announcement: the first time a 10044 and a 10050 in one batch,
which is the group deciding to have an inbox and is asked; after that a
rotation's 10044 alone, which every admin's device vouches for and signs
unasked. InboxRefusal declines, in all four places, a 10044 naming a key
the admins did not make together, one since replaced, or one made over
admins the room no longer has, and a 10050 a stranger could not reach.
An announcement that arrives before this device has finished the same
ceremony waits rather than being declined, and is looked at again when
it finishes. A member who only watched the ceremony aggregates its
public messages to learn the key, so it can check too.

Once signed, the key moves to ANNOUNCED and the ones before it to
RETIRED; the transcript says the group has an inbox, or changed its
key; and the proposer's device sends both events through
GroupInboxPublisher until a relay takes them, never through a NostrEvent
row. InboxSigning (reasons kept for the decline) and
InboxKeyCeremony.announceRelays fold into schema 45, which has not
shipped.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:49:03 +02:00
Kgothatso NgakoandClaude Opus 5.5 057d0b79d9 feat: the group's inbox key, made by its admins at threshold 1 (group-inbox, Phase 4)
InboxKeyRitualManager runs ChillDKG at t = 1 over the room's admins
as MLS inner events on 30410-30416, so every admin ends with the same
secret and the group a key nobody chose alone. Nobody is asked: an
admin's device takes part on arrival, and a proposal over anyone but
the admins as this device reads them fails out loud with the
difference named. A member who is not an admin watches and holds
nothing. The secret is checked against the key on every run and
written once to InboxKey; the sweep resumes a ceremony left mid-round.

The ceremony's screen moves to Phase 7 with the inbox's others.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:41:46 +02:00
Kgothatso NgakoandClaude Opus 5.5 1f66c39f2f feat: where a group's inbox is kept, schema 44 to 45 (group-inbox, Phase 3)
InboxKeyCeremony, InboxKeyCeremonyMessage and InboxKey, apart from
DkgSession so no signing path can find a threshold-1 key; and
GroupInboxWrap (the ledger, opened or not), GroupInboxMessage (one row
per rumor) and GroupInboxPublication (what this device owes relays).
New tables only, so an AutoMigration. InboxStorageJvmTest pins
redelivery, the wipe and that the signing lookups see none of it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:36:20 +02:00
Kgothatso NgakoandClaude Opus 5.5 e215cff843 feat: the group inbox's wire, in one package (group-inbox, Phase 2)
nostr/inbox: the inbox key ceremony's kinds (30410-30416) and tags; the
group's 10044 and 10050 through quartz's own events, with the strict
shape a group signs; NIP-17 seals and gift wraps with a decoupled key,
built by hand per nostr-protocol/nips#2361 because quartz's encrypt to
the key they tag; the reply manifest a signer reads, sealed to the
inbox key; and the conversation id. InboxWireTest checks every layer,
including both directions against quartz's own wraps.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:32:42 +02:00
Kgothatso NgakoandClaude Opus 5.5 dd16df9c40 test: pin what a group's inbox events do today (group-inbox, Phase 1)
A peer's kind 10044 or kind 13 proposal reaches the member as a bare
number and nothing declines it; the only gift wraps the app asks for
are its identity's own. Phases 5, 6 and 8 flip these.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 01:27:53 +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 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 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
Kgothatso NgakoandClaude Opus 5.5 9be5a6358f feat: the confederation's rounds reach Giza, one role per device (confederation, Phase 9)
Bumps lightning-kmp-app to 572b931, and with it the chain below:
lightning-kmp 47a0f585 (its master, now carrying the threshold line),
bitcoin-kmp bca235a, secp256k1-kmp 8022069 and secp256k1-zkp b5819301. zkp
now exports the confederation's DKG and Option A signing steps,
secp256k1-kmp binds them, and bitcoin-kmp wraps them as ConfederationDkg
and ConfederationSigning.

ConfederationReachableJvmTest gains a run in which three groups make a key one
role at a time, through ConfederationDkg with only bytes between the roles,
and then sign as their room's id through ConfederationSigning, with every
signer spent at the end. Confederation.signLocal now takes nonce randomness,
so the fixture gives its callers fixed per-signer values.

docs/confederation-upstream.md records each phase's commit and what checked
it, and how lightning-kmp's master was reconciled. docs/confederation.md
marks Phase 9 done, so Parts B and C can start.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 00:09:58 +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 8408cd4630 feat: a group answers a confederation, and three groups agree end to end (confederation, Phase 7)
A proposal opens on its own screen with every group's answer; an invited
group's member proposes accepting or declining, the proposing group's
can withdraw, and a pending answer stands in for both. The approval
screen lists the groups, the coordinator, what an acceptance discloses
and each group with no public profile here. Three groups signing real
answers end to end found answers filed before their proposal losing
their line; the proposal now writes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:22:57 +02:00
Kgothatso NgakoandClaude Opus 5.5 0f68cc53cc feat: proposing a confederation, and the lines a group's room gets about one (confederation, Phase 6)
A Confederations row on a keyed group's screen opens every proposal
naming the group, watched as answers arrive. An admin holding a share
proposes from a form that looks every group up on the relays, this one
included, and hands over to the group's signing session. Each proposal
and answer writes one system line in every room it names.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 22:15:25 +02:00
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 24e4eec3eb test: a shipped profile upgrades to schema 43 (confederation, Phase 4)
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 c9e6f07c16 Merge branch 'claude/nostr-group-proposal-plan-95ace6' 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-21 21:02:48 +02:00
Kgothatso NgakoandClaude Opus 5.5 34c8faa497 fix: the broadcast screen sends only the group's profile and posts (group-nostr-profile, Phase 7)
The screen takes a signed event's id as a navigation argument, and this
device still holds group-signed events of other kinds: the wallet removal
kept every GroupSignedEvent row, a Bennu-era wallet statement among them,
whose xpub on a public relay is the group's whole history on chain.
Curare's screen refused the wallet's kind; this refuses every kind but 0
and 1, before anything reaches the relays.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:47:28 +02:00
Kgothatso NgakoandClaude Opus 5.5 aa820c20cc feat: an unsigned profile or post, pasted for the group to sign (group-nostr-profile, Phase 8)
ProposeGroupEventScreen and GroupEventProposal come back from Curare,
accepting kinds 0 and 1 only: a relay list is refused like any kind with
no section on the group's screen (D1, D9). Its profile and post checks are
GroupStatementRefusal's, so the member proposing and the member signing
refuse the same pastes. A "Propose event" button sits under the posts
row for a member who can propose and an identity that can sign.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:46:05 +02:00
Kgothatso NgakoandClaude Opus 5.5 f98378ca5e feat: a group-signed profile or post sent to relays (group-nostr-profile, Phase 7)
The broadcast screen comes back from Curare: the event named as the
signing screen names it, a relay list the member edits, the raw JSON to
copy, and each relay's answer under its row with the sum above. It sends
through EventPublishTransport, reinstated and implemented by
RelaysSocketManager, and never writes a NostrEvent, Profile or queue row
for the group's event (D7, pinned in BroadcastLeavesNoRowJvmTest).

With no group relay lists (D1), defaultRelaysFor seeds the app's publish
set; it stays a function of the event so the lists can return. The one
piece of Curare's GroupRelaySet it needed is RelayUrlInput. A Broadcast
button sits under the profile card and under each post, open to every
member, since the signature is already the group's (D4).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:41:08 +02:00
Kgothatso NgakoandClaude Opus 5.5 ffde0553c2 feat: the group's posts, seen and proposed (group-nostr-profile, Phase 6)
A Posts row under the profile row counts the group's kind:1s; behind it,
the posts screen and the composer from Curare, newest first and under the
group's byline. The composer refuses a blank note through the same
predicate every member's device declines on (GroupStatementRefusal), and
says above the button that a signed post cannot be taken back. Proposing
is gated as for the profile (D4); a device holding no posts says so (D8).
The broadcast under each post comes with Phase 7.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:37:17 +02:00
Kgothatso NgakoandClaude Opus 5.5 add309f79a feat: the group's nostr profile, seen and proposed (group-nostr-profile, Phase 5)
The group's screen gets a Nostr profile row in Marmot rooms, under the
description: what the group is called and its nostr address, or that it
is not described yet. Behind it, the profile screen and the editor, ported
from Curare. The editor proposes a kind:0 through proposeSigning and hands
over to the signing session in its place.

Who may propose is the room's half (a Marmot room, not left, not
disbanded) and the device's (a share of the key), as GroupStatementCapability
and canProposeAsGroup; an npub-only identity is offered no editor (D4).
The editor offers no lightning address and the profile shows none, while
an edit keeps one already there (D6). A device holding no profile says so
rather than that the group never described itself (D8). The broadcast
button under the profile comes with Phase 7.

The detail screen's absence test for these rows moves into
GroupSignedWorkRowsJvmTest, which now checks the row is there.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:34:53 +02:00
Kgothatso NgakoandClaude Opus 5.5 09649d9a91 feat: decline a profile or a post nothing could show, out loud (group-nostr-profile, Phase 4)
A kind:0 whose content is not a profile, or a kind:1 with nothing in it,
would be signed and filed and shown nowhere: every reader refuses them.
Giza signs only what it can check, so GroupStatementRefusal declines them
on arrival beside WalletRefusal, in the approve backstop, and with a
reason of its own on the wire, so the group counts the refusal. An empty
profile is still a profile, and is put to the member. (D5)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:30:55 +02:00
Kgothatso NgakoandClaude Opus 5.5 5b75c2c24d feat: the transcript says when the group signs its profile or a post (group-nostr-profile, Phase 3)
A kind:0 the room's own key signed is a system line naming what the group
is now called; a verifying kind:1 is "The group posted in its own name".
A member's own profile passing through is still no line, a member's post
or a forged one is still the raw bubble, and relay lists stay silent (D1).
The two types are public again under the strings Bennu stored, so rows an
older build wrote render as today's (D3).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-21 20:29:54 +02:00
Kgothatso NgakoandClaude Opus 5.5 b944a411f2 feat: the group's profile and posts read off what it signed (group-nostr-profile, Phase 2)
GroupNostrProfile and GroupPost come back from Curare as read models over
GroupSignedEvent, verified as the room's own. The profile's template no
longer takes a lightning address and leaves one already there alone (D6).
ProposedEvent names a kind:0 and a kind:1 again, so the signing screen and
the proposal list say "Nostr profile" and "Post" rather than a number;
a relay list is still said by its kind (D1). ChatRepository reads the
profile, the posts and one signed event by id within a room.

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