Eight libraries, the sqldelight plugin alias and six version keys that no
build script references, and the commented-out lines that named them or
Room 2's aliases. The jvm, debug and release runtime graphs are identical
to Phase 0's.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
marmot-kmp.md's D2 and its out-of-scope item point here; the docs index reads
this note after it; CLAUDE.md says the daemon is Java 21, a first build needs
the network, and a version moves in the catalogue and the lock together. The
plan's status: built but for mls-kmp 1.4.0's release, the mac half of
Phase 6, and Phase 8's manual checks. check green, jvmTest 1392/1392.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
magpieLockAudit runs docs/scripts/magpie-lock-audit.sh from check, beside the
M3, brand, wallet and marmot audits. Every catalogue library in a group Magpie
serves must be declared strictly (D3) and have a lock line for its root,
-jvm and -android modules -- read as text, so a bump made on one platform is
caught on any. Verified both ways: silent on a clean tree; a dropped lock line
or a plain, unlocked bump names the module and fails the build.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
quartz 2.20.0's lines went: under the strict pin, marmot's request for it is
never looked up, and every classpath resolves under a frozen lock without
them. Checked here: a frozen lock refuses a version it does not hold, with
Magpie's own instruction, and an offline build from a fresh daemon resolves
from the mirror. The iOS lines need a mac, and the freeze waits for them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
giza deleted FoundingAdmins.check (remove-founding-admins-card): it
cannot tell a founder left out by a buggy creator from one the group
demoted, and every founder is an admin when the room is made. RoomAdmins
drops its missing-founders guard, and A4 says why.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2.20.1 changes two files of quartz's in-process relay server, which neither
the app nor marmot-kmp's main source imports, so it is inert here. The strict
pin wins over marmot 2.3.0's request for 2.20.0, the graph moves by quartz
alone, and check is green: jvmTest 1392/1392, MarmotClientInteropJvmTest 3/3.
mls-kmp 1.4.0 (5b) waits: it is tagged but released nowhere yet.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
C1 measured again on mls-kmp 1.3.1: the old-blob, shipped-profile, store,
sender-ratchet, skipped-generation and fork tests are green untouched, and the
authored fork is still open. The re-save test only said "newer than 4", which
a library that moved to 11 would pass, though a bump is what an older build
cannot read back; the seventh case pins 10 exactly, checked red at 11.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
docs/tools/engine-interop runs marmot-kmp 2.3.0 over mls-kmp 1.3.1 against
quartz 1.15.2's engine -- the one a Bennu peer on that version runs -- in two
JVMs over a pipe, since one build cannot hold two versions of the quartz group.
Each side creates a room in turn; the other joins by Welcome, applies two more
commits and reads a message each way at every epoch. 20 checks, all green, so
mls 1.3.1's new epoch-0 shape costs nothing against the old engine.
The note records Phase 3, including the first draft of the epoch-0 test, which
asserted a restore-time repair mls-kmp drafted and then removed before 1.3.1.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
None of the four is on Maven Central at these versions: they are released on
Nostr + Blossom, and the Magpie settings plugin (0.2.3) serves the quartz,
marmot, mls, crypto, negentropy and schnorr256k1 groups exclusively. The
versions are marmot 2.3.0's own pins (D2), declared `strictly` so a transitive
request cannot move them (D3). gradle/magpie.lock pins the release key and the
manifest of every module resolved -- jvm, android and root so far; the iOS
lines need a mac (Phase 6).
No Kotlin file changed. The resolved graph moved by exactly the four libraries,
negentropy v1.2.3 and the new schnorr256k1-kotlin; secp256k1-kmp still resolves
to the composite. check green, jvmTest 1389/1389 with no test edited, release
minifies through R8.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The running card names the members whose share it takes away because
the group removed them as admin, and their rows read Share being
rotated away instead of Holds a share. Removing an admin says nobody
is asked again.
The plan is marked built, with where the build chose differently, and
the notes it changes point to it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Magpie, which the next phase brings in, refuses a daemon below 21. The criteria
file makes Gradle pick 21 itself (foojay downloads one where none is installed),
so a 17 launcher still gets a 21 daemon: checked with JAVA_HOME at 17, jvmTest
1389/1389. No dependency moves in this commit.
The file was gitignored since 8de05742, most likely to keep an IDE-generated copy
out of the tree; it is now the build's statement of its daemon JVM, so it is
tracked.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every target resolves from the release relay but mls-kmp 1.4.0, which is in
neither Magpie nor Central, so Phase 5b waits and mls stays at the 1.3.1 marmot
2.3.0 was built against. Baselines: 1389 jvm tests in 182 classes, check green.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
None of the four is on Maven Central any more: from quartz 2.19.0, mls 1.3.1,
marmot 2.3.0 and crypto 2.1.1 they are released on Nostr + Blossom through the
Magpie settings plugin. The code the app calls has barely moved; the way the
build reaches it has. Nine phases, marmot's own pins first and the newest second.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rotation an admin change owes asks nobody, because the group's
signature on the change already decided who is withheld; admin changes
and rotations never overlap. Phase 0's twelve decisions, as recommended.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Since a keyed room can demote an admin and an admin can step down, a founder
missing from the policy is often the group's decision, and the card's repair
offers to undo it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Brings in a keyed room's step-down by request (bb35d73c) and keyed rooms
born needing the group's signature, with the switch gone (1ccd8c7f).
Resolved: AdminGovernance keeps giza's canAskToStepDown and
stepDownProposer beside the policy-backed memberActions; the
repositories keep memberActionOptions and lose requireSignatures; the
loader no longer asks GovernanceSupport whose devices a room waits on.
Reconciled: the policy offers your own row Step down as admin in a keyed
room on canAskToStepDown's terms -- governed, rotation on, above the
floor, another admin to ask -- so the menu matches the request giza
added. SignaturesNotRequired carries no data and says the group was made
before signed changes and keeps its admins, since nothing switches the
rule on any more.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An admin's own row had no menu in a keyed room: stepping down was not
offered, because a demotion's proposer starts the rotation that takes
the demoted admin's share away, and a rotation's proposer has to keep a
share.
Step down as admin now sends a request into the room
(PromotionEvents.STEP_DOWN, 30377) and commits nothing. The remaining
admin in the lowest leaf (AdminGovernance.stepDownProposer) -- one
device, named the same everywhere, so two never propose at one epoch --
takes it up in GovernanceFollowThrough and runs the same demote its own
Remove as admin would. A request is used once, and dropped by every
device once its requester is no longer an admin. Offered only above the
floor and while another admin is there to ask.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The note's status, a table of the build's departures from the plan --
the route carries the action by name, an unavailable item's state rather
than a second click label, the only admin as one reason -- the README
entry, and a pointer from member-admin-promotion's Phase 11. The unused
"See why" string goes with the click label it was for.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The rule that a keyed room's changes need the group's signature was
switched on after founding, once every member's device had said it could
follow signed commits. That protected Bennu members and older Giza
builds from being left behind by the first signed change. Giza is in
development and keeps compatibility with neither, so the switch
protected nobody, and it kept an invited member from ever being made an
admin.
MarmotGroupCreation.createFor now writes GovernanceMarker's line, with
the floor the ceremony's quorum sets, into the room's epoch-0
description. Founding still needs no signature: the founding invite is
the creator's commit while it is the only member, which no other device
processes.
Removed: GovernanceSupport and its event (30372), the announcements on
joining, at start and in answer, the automatic switch and
requireSignatures, and the screen's waiting and ready states.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Requiring the group's signature for changes was a button an admin had
to find on the room's screen. Nothing about it was a decision: the two
conditions it waits on -- every member's device can follow, enough of
them are admins -- were already checked in code. The button is gone.
One device switches it on: the admin in the room's lowest leaf, which
in a room as made is its creator (GovernanceSupport.switcherOf). Not
every admin's, because two commits at one epoch are not settled for
their authors (docs/marmot-v2.md, Phase 8); every device reads the same
leaf, so they agree on one without talking. GovernanceFollowThrough
runs the switch whenever a member says it follows signed commits, and
on start.
Not at creation: a Bennu or older-Giza founder would be cut off without
anyone knowing, and a founding invite finished later is a bare commit a
governed room refuses. The room switches seconds after its founders
join instead. The screen names whose device it is waiting on.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
An invited member of a robust group could never be made an admin. Making
one needs the room to require the group's signature, which waits until
every member's device has said it follows signed commits. A device said
so when the room's screen was opened, or back when it heard another say
it -- but the founders said it before the invite, at an epoch the new
member cannot read, so it heard nothing, nobody said it again, and the
room waited on a screen the member had no reason to open.
A device now says it on joining (the Welcome path) and once each start
(GovernanceSupport.announceAll), for members who joined before this.
The waiting notice names who the room waits on and what for, instead of
"X need to update Giza".
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
remove-convenient-groups' new test makes its phones with Phone(profile);
since the legacy KeyPackage slot was retired every phone publishes the one
package the app does, so it is Phone().
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Two files this branch deleted were changed on giza:
- SelectChatRoomTypeViewModel: giza added a reconcileAdmins call to the
convenient path, which this branch removed. The robust path
(MarmotGroupCreation) and direct messages (MarmotOutboundDao) already
reconcile, so the deletion stands.
- ChatRoomType: giza added minimumAdmins(threshold) for the admin floor.
It moves to Quorum.minimumAdmins beside the other quorum rules (D6);
AdminGovernance and AdminChangesJvmTest call it there.
docs/member-admin-promotion.md now notes where the names it cites went.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
robust-group-admins built the same thing as this branch's Phase 1: a single
writer for Participant.adminAt, run at creation, on the Welcome, on every
commit and once at start. Its AdminFlags is kept as that writer; this
branch's MarmotInboundManager.reconcileAdmins and adminFlagChanges are
gone, and the direct-message and convenient-room creation sites and the
detail screen's catch-up call AdminFlags instead. The admin captions stay,
on top of it.
Both sides added to the room's details: the founding-admin repair and
invite beside the member menu, admin labels and governance section. The
member row keeps one label line -- Admin from adminAt, Holds a share
beside it -- and the removal message now has three cases: proposed for the
group's signature, rotation held, or sent. The rotation offer waits for
both: a rotation available, and the removal not still awaiting signatures.
addAdmins, the founding-admin repair, proposes its commit for the group's
signature in a governed room instead of committing it bare.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A one-to-one chat, or a group its creator runs alone, grown by one more
person would be a group run by one person. The invite screen refuses such
a room and the detail screen no longer offers the invite there. The plan
gains D7, since D1 had assumed no such invite path existed.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
giza brought rotation-waits-for-key-state, built in parallel from the
same base, and robust-group-admins. The first overlaps this branch, and
the two agreed on not asking the proposer. Where they met:
- The proposer's dialog is this branch's, read from the proposal's own
plan with its refusal, under giza's title and caveat; giza's dialog,
which listed stale members from the summary, went. The preview's
refusal carries rotationHold's reason, and ChatRoomDetailSharesJvmTest
asks its question of the kept dialog.
- The proposer is approved to take part only; giza also set
confirmApprovedAt, which nothing reads.
- The Shares section keeps both: giza's held button, its reason and
'Ask the group to sign', and this branch's running card and abandon.
- giza's hold tests left the new key state unsigned by not signing it.
It signs itself now, so they hold the signing messages after the
proposal (signingHeldOpen). This branch's test of two rotations opened
at once gave way to giza's, which asserts more.
jvmTest 1281/1281, compileDebugKotlinAndroid, m3Audit at its budgets,
brand and wallet audits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The first draft's Phase 0 changed mls-kmp and marmot-kmp so that a device
could refuse an unsigned commit. Instead the group signs an event whose
content is the complete kind:445 commit, published as an application
message; every device checks it on a throwaway copy of the group and hands
the inner event to the engine, and drops a bare commit at the one inbound
door. The rule is a marker in the room's profile description, switched on
once every member has said it can follow it.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Every founding member of a robust group is its admin, phases 0-7
(docs/robust-group-admins.md). Two conflicts, both adjacent additions:
the detail screen's strings read outside the click handlers, and the
view model's companion constants. Both sides kept. jvmTest 1261/1261,
compileDebugKotlinAndroid, audits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan is marked built, with a table of the nine places the build
chose differently -- among them that Phase 4 acts on a room at epoch 0
rather than on rows that were never written, since rows are hard-deleted,
and that it also fixed the current-profile routing bug Phase 0 found.
The README row says built; automatic-key-ceremony.md gains step 4 and
subgroups.md the repository taking the ceremony instead of a list.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The plan gets a Built header and a table of where the build chose
differently: the proposer was asked twice not three times; two rotations
opened at once never reach the write-once rule; the stall-clock test had
to backdate its messages to catch anything; one full run died on a
SQLite SIGSEGV unrelated to this change. frost-share-refresh.md's gate
table shrinks to one row with the history of CONFIRM, its key-state step
names the rule that now signs it, and README says both notes are built.
automatic-key-ceremony.md points here for the second automated key
state.
Not done: the emulator session. Nothing here has run on a device.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Three rules: every admin holds a share, every commit in a keyed room is a
proposal until the group's threshold signature is on it (a member's own
leave and key update excepted), and a robust group keeps at least three
admins. Phase 0 is upstream work in mls-kmp and marmot-kmp.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
frost-share-refresh.md records the new refusal (the proposer's own
check only), strikes "the proposer is auto-approved for nothing" for
the rule that replaced it, and gives the work a row. The plan is marked
built, with where the build chose differently.
./gradlew check: jvmTest 1240/1240, testDebugUnitTest 496/496, lint,
audits.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A recipient is asked three times today: to deal, to store the new share,
and to sign the new generation's key state. Only the first is a decision.
The plan removes the other two in seven phases, and names what removing
them breaks: abandon lives only on an approval row, and nothing resumes a
rotation without a message.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A plan to hold Rotate shares while the key state the previous rotation
produced is still waiting on the group's signature, and to stop asking
the proposer to approve their own rotation.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>