Commit Graph
1179 Commits
Author SHA1 Message Date
Kgothatso NgakoandClaude Opus 5.5 342127bc20 feat: a subgroup certified as #name is shown as &name (group-name-prefix, Phase 4)
The parent's subgroup list and the TYPE_SUBGROUP_CERTIFIED line read the
certificate's name through MarmotGroupName.of, so a certificate signed before
the change matches the room it names. The proposal summary stays verbatim:
it shows what the signer is about to approve.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:09:21 +02:00
Kgothatso NgakoandClaude Opus 5.5 3f54640227 feat: the groups already on a device are renamed to &name, v52 (group-name-prefix, Phase 3)
MarmotGroupNameMigrationSpec runs after an auto-migration with no change of
shape and rewrites ChatRoom.subject through MarmotGroupName.of for every
Marmot room (mlsGroupState IS NOT NULL), left or not. NIP-17 rooms keep
whatever their people called them, and the groups' MLS state is untouched.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 02:02:25 +02:00
Kgothatso NgakoandClaude Opus 5.5 85e969026b feat: a room joined from a Welcome is named by the same rule (group-name-prefix, Phase 2)
processWelcome writes MarmotGroupName.of(roomName()) to ChatRoom.subject, so
a room an older Giza or a Bennu peer named #name, or another client named with
no mark, lands as &name like every room this device makes. The group's own
MLS state keeps what its creator wrote.

CurrentProfileKeyPackageJvmTest's room from another client is now joined as
&made elsewhere, which is D4 of the plan.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:56:02 +02:00
Kgothatso NgakoandClaude Opus 5.5 1fc69be647 feat: a group's name starts with & rather than # (group-name-prefix, Phase 1)
MarmotGroupName.PREFIX is now &, and of() strips any leading run of space,
# and & before putting one & back, so an old #name and a new &name normalise
to the same thing and the rule stays idempotent. New rooms, new subgroup
certificates and the subgroup name field all follow the constant.

Rooms already on a device keep # until the v52 migration.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 01:49:42 +02:00
Kgothatso NgakoandClaude Opus 5.5 139f519213 fix: a confederation signs when its admins hold seats in several groups
A person seated in several of a confederation's groups sends a nonce,
confirmation and partial only for the seats the selection chose, but
record() dropped any per-person message that did not name every seat its
sender holds. Every such message was discarded on arrival and the
attempt waited at NONCES for good -- on the emulators, all three of the
confederation's attempts, its charter and two profiles. Only the
availability has to cover every seat now; the later rounds may name any
of the sender's own, and perRole still waits for each chosen one.

The signing screen folded each person's answers into one, so a yes for
two groups and a no for the third read as "Declined". It now answers
group by group, and on a profile says a no is a group that had not
endorsed it when the signing began, which is what it is: the third
group's voucher reached the devices two minutes after the attempt.

ConfederationSharedSeatsSigningJvmTest lays the seats out as the
emulators do and fails on the old check; the existing tests gave each
person one seat. Full jvmTest 1,982, all passing; m3Audit at budget;
compileDebugKotlinAndroid builds. No device run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-23 00:52:28 +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 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 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 Ngako e188c2f378 Merge branch 'giza' into claude/nip17-multiple-chilldkg-6903b0 2026-11-22 23:32:43 +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 fff891a48f feat: a finished ceremony's screen names the group it made (nip17-multiple-ceremonies)
The ceremony screen's last step said 'The group has a shared key.' while
every transcript line about the same ceremony named the group. Seen on
the emulators beside a second group from the same people, it named
neither. It now reads 'Agora has a shared key.', and a ceremony with no
name keeps the old words.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:31:32 +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 ae0468bb2f feat: every NIP-17 payload is stamped with its expiry (disappearing-messages, Phase 3)
sendChatMessage and the DKG, signing, confederation-ceremony and Welcome
producers stamp the rumor's expiry before hashing its id. The wrap asks
relays to drop it by quartz's formula; the seal stays untagged; a
payload that expired before it could be sent is not sealed; the rumor's
plaintext is no longer logged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 23:14:07 +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 50f73e1741 feat: a member who has not joined finds the key ceremony from its room
Nothing is made on a device until its owner joins a confederation's key
ceremony, but the room is: the first ceremony message to arrive makes it.
So a member who had not joined found a room with nothing in it, and the
ceremony screen said it held no ceremony. The join was only on the
proposal screen, inside each group. On a run of three groups across four
emulators, one person never pressed it, and the others waited at host
keys.

- The room shows a banner that opens the ceremony, read from the
  ceremony messages filed there (ConfederationRitualManager.proposalOfRoom).
  Until its owner joins, it says the ceremony cannot go on without them.
- The ceremony screen offers the join on a device that holds no ceremony
  yet, when the checks the join makes would pass
  (ConfederationRitualManager.joinable), rather than saying it holds none.

ConfederationCeremonyJvmTest and ConfederationScreensJvmTest each gain a
test. Full jvmTest 1,847, all passing; m3Audit, brand and wallet audits
at budget.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:58:29 +02:00
Kgothatso NgakoandClaude Opus 5.5 729efdaca6 test: the same people make two groups, end to end (nip17-multiple-ceremonies, Phase 6)
Three devices, real ChillDKG and real FROST. Ekklesia is made, then Agora at
a different quorum. In their one NIP-17 room that is two ceremonies, two key
states signed and two rooms asked for, each named for its group with all
three as admins. Each room resolves to its own key, and the NIP-17 room to
neither.

Two variants: both groups made at once with the relay reordering
everything, and one abandoned partway while the other finishes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:58:23 +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 962bdbf631 feat: when a NIP-17 rumor expires, as pure rules (disappearing-messages, Phase 1)
Written kinds follow the person's policy, Off included; every protocol
kind expires after the longer of the policy and its protocol's floor;
a rumor that already carries an expiry keeps it. The wrap's expiry is
quartz's formula. A test fails on any kind the app sends that nobody
classified.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:54:39 +02:00
Kgothatso NgakoandClaude Opus 5.5 4e16592a9c feat: a ceremony's lines, notice and join screen name the group it makes (nip17-multiple-ceremonies, Phase 4)
With the same people able to run several ceremonies in one room, the
transcript, the waiting notice and the join screen each said 'the shared
key ceremony', which names none of them.

- Transcript lines name the group: started, joined, completed, abandoned
  and the join request. Notifications are built from those lines, so they
  name it too. A ceremony with no name keeps the words it had.
- The waiting notice names a single ceremony's group, and lists the names
  under the count when there are several.
- The join screen names the group being made rather than the room, and
  says when these people already share another group in it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:50:51 +02:00
Kgothatso NgakoandClaude Opus 5.5 4baf5d8f2e feat: nothing asks a NIP-17 room for its one ceremony (nip17-multiple-ceremonies, Phase 3)
Six reads took a room's newest ceremony to mean the room's group. With the
same people able to make several groups in one room, each was ambiguous or
wrong:

- The shared-key screen handed over to any ceremony that had not failed. It
  now offers another group, which has to be named once the room has one, and
  lists what the members already have.
- A retry of a failed group's ceremony now starts from that ceremony's name
  and quorum (CreateSharedKeyRoute.retrying), not the room's.
- adminRoomOf became adminRoomsOf: the details screen and the member-action
  explanation offer every group's admin room, by name.
- completedKey's last fallback answers only when the room holds exactly one
  key of its own. Nothing asks it of a NIP-17 room today (Phase 0, P5).
- The repository's two newest-ceremony reads, and the DAO queries only they
  used, are gone. CeremonyLookupsJvmTest now expects none.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:43:34 +02:00
Kgothatso NgakoandClaude Opus 5.5 1d6f77cf30 feat: making a group names its ceremony, and says what these people already have (nip17-multiple-ceremonies, Phase 2)
The creation screen passed no name to the ceremony, so a second group over
the same members was named after the room it landed in: the first group's
room, under the first group's name. It now names the ceremony after what was
typed.

Before anything is made, the screen reads the groups the same people already
share, from the room they would land in without making it, and lists them in
a card. It flags a group that would share a name with one of them. Nothing is
refused.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:34:05 +02:00
Kgothatso NgakoandClaude Opus 5.5 9c2f55aace feat: the same people can open a second group's ceremony (nip17-multiple-ceremonies, Phase 1)
proposeRitual folded every ask into the room's newest own ceremony that had
not failed, including one that had finished, so a second group over the same
members got the first one back. It now folds only into a running ceremony
under the same name. A finished one never stands in the way, and two names
are two groups.

The room's name names only its first group. A second ceremony with no name
of its own is refused rather than becoming the first group's namesake.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 22:29:25 +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 Ngako 3b0b3c9abf Update icon
Material Design conformance / budgets (push) Canceled after 0s
Material Design conformance / tests (push) Canceled after 0s
2026-11-22 21:58:43 +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 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 ac8d6488e4 feat: mark as read and reply, from the notification (notifications, Phase 13)
Message notifications carry Mark as read and Reply on Android (a broadcast
receiver, RemoteInput) and iOS (a category with a text input action). A
reply runs as the default profile through BackgroundSyncPass.withProfile,
under the pass's own lock, and is refused rather than sent as a profile
other than the one the notification was for. No Approve action, on purpose.
The iOS half is not compiled.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-22 13:14:07 +02:00
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