feat: everything a confederation signs goes through its groups, as proposals

Posts and the charter now take the path profile changes already took
(docs/confederation-proposals.md): one group proposes a 9435 carrying the
unsigned kind:1 or 9434, the others endorse or object by their own quorum,
and the confederation signs once T groups have vouched, with nobody asked.

- ConfederationChangeStatements (was ...ProfileStatements) carries any
  signable kind; a base only on a kind:0. The wire's "profile" tag keeps
  its name so vouchers stay readable across builds.
- Refusals by kind: a blank post, an untrue or second charter.
- ConfederationSigningManager refuses anything without T groups'
  vouchers; approve, decline and the per-person ask are gone.
- A charter supersedes a later charter; a post is never superseded.
- ConfederationScreen: "Profile changes" becomes "Proposals" for every
  kind; Add post and Propose the charter start the group's session; the
  Signing section, screen, view model and route are removed. Signing
  lines open the proposal, an older line's attempt id resolved to it.
- Profile* types that now hold any kind renamed to Change*.

jvmTest 2,014, all passing; m3, brand and wallet audits at budget;
compileDebugKotlinAndroid builds. No device run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-23 10:11:14 +02:00
1 parent 4b36ce2118
commit 7e42609af3
52 files changed
+1448 -1618

No files matched your search

@@ -758,37 +758,33 @@
<string name="the_ceremony_ended">The ceremony ended: %1$s</string>
<string name="group_signs_with">%1$s: %2$d of %3$d admins to sign</string>
<string name="confederation_formed">Formed</string>
<string name="confederation_signing">The confederation's signature</string>
<string name="approve_for_the_confederation">Approve</string>
<string name="decline_for_the_confederation">Decline</string>
<string name="signed_by_admins_of_groups">Signed by %1$d admins of %2$d groups together, once enough of them approve. You approve for every group you are an admin of.</string>
<string name="the_confederation_signed_it">The confederation signed it</string>
<string name="the_confederation_did_not_sign_it">The confederation did not sign it: %1$s</string>
<string name="you_declined_this">You declined this</string>
<string name="answer_yes">Approved</string>
<string name="answer_no">Declined</string>
<string name="answer_approved_for">Approved for %1$s</string>
<string name="answer_declined_for">Declined for %1$s</string>
<string name="answer_not_yet_endorsed_by">Not for %1$s, which had not endorsed it when signing began</string>
<string name="this_device_holds_no_such_request">This device holds no such request for the confederation to sign</string>
<string name="propose_the_charter">Propose the charter</string>
<string name="the_charter_names_the_groups">The charter is the confederation's public statement of the groups it is made of, signed with its own key. It is how members who are not admins hear of it.</string>
<string name="the_charter_names_the_groups">The charter is the confederation's public statement of the groups it is made of, signed with its own key. It is how members who are not admins hear of it. This group proposes it, and the confederation signs it once enough groups endorse it.</string>
<!-- A confederation's profile, decided by its groups: docs/confederation-profile.md -->
<string name="member_of_confederation">Member of %1$s</string>
<string name="confederation_profile">Profile</string>
<string name="confederation_has_no_profile_yet">The confederation has signed no profile yet</string>
<string name="n_admins_hold_its_key">%1$d admins hold its key</string>
<string name="profile_changes">Profile changes</string>
<string name="only_admins_see_profile_changes">Only the group's admins see proposed changes.</string>
<string name="no_profile_changes_yet">No changes to its profile have been proposed</string>
<string name="only_admins_see_proposals">Only the group's admins see proposals.</string>
<string name="no_proposals_yet">Nothing has been proposed for the confederation to sign</string>
<string name="proposal_overline">%1$s · %2$s</string>
<string name="proposal_kind_profile">Profile</string>
<string name="proposal_kind_post">Post</string>
<string name="proposal_kind_charter">Charter</string>
<string name="proposal_charter_headline">The confederation's charter</string>
<string name="proposal_charter_explained">Its public statement of the groups it is made of, and how many of them must act, signed with its own key</string>
<string name="what_it_would_sign">What it would sign</string>
<string name="confederation_charter_proposed">The charter has been proposed, and is signed once enough groups endorse it</string>
<string name="change_posted">Posted</string>
<string name="change_superseded_charter">Another charter was signed first</string>
<string name="edit_the_confederations_profile">Edit profile</string>
<string name="how_it_was_formed">How it was formed</string>
<string name="this_device_knows_nothing_of_that_confederation">This device knows nothing of that confederation</string>
<string name="profile_problem_no_record">This device holds no record of the confederation</string>
<string name="profile_problem_not_member">This group is not one of the confederation's</string>
<string name="profile_problem_cannot_sign">This group cannot sign from this device</string>
<string name="profile_problem_not_admin">Only one of the group's admins can propose a change</string>
<string name="profile_problem_no_inbox">Set up the group's inbox first: a change is sent from it</string>
<string name="profile_problem_not_admin">Only one of the group's admins can make a proposal</string>
<string name="profile_problem_no_inbox">Set up the group's inbox first: a proposal is sent from it</string>
<string name="profile_problem_group_without_inbox">%1$s has no inbox, so it cannot be asked</string>
<string name="change_open">Open</string>
<string name="change_endorsed">Endorsed, being signed</string>
@@ -804,19 +800,18 @@
<string name="propose_from">Propose from</string>
<string name="propose_to_the_groups">Propose to the groups</string>
<string name="could_not_propose_the_change">Couldn't propose the change</string>
<string name="profile_change">Profile change</string>
<string name="this_device_does_not_hold_that_change">This device does not hold that change</string>
<string name="proposal">Proposal</string>
<string name="endorse">Endorse</string>
<string name="object_to_the_change">Object</string>
<string name="withdraw_the_change">Withdraw the change</string>
<string name="endorsing_lets_the_confederation_sign">Endorsing lets the confederation's admins sign this profile once enough groups have endorsed it. Nobody is asked again.</string>
<string name="withdraw_the_proposal">Withdraw the proposal</string>
<string name="endorsing_lets_the_confederation_sign">Endorsing lets the confederation sign this once enough groups have endorsed it. Nobody is asked again.</string>
<string name="answer_proposed">Proposed it</string>
<string name="answer_endorsed">Endorsed</string>
<string name="answer_objected">Objected</string>
<string name="profile_field_was">Was: %1$s</string>
<string name="profile_field_becomes">Becomes: %1$s</string>
<string name="profile_field_empty">Nothing</string>
<string name="no_field_changes">This change edits no field shown here</string>
<string name="no_field_changes">This proposal edits no field shown here</string>
<string name="being_signed_waiting_on">Being signed. Waiting on %1$s</string>
<string name="open_the_confederation">Open the confederation</string>
<!-- The confederation's screen, with no room of its own: docs/confederation-room-removal.md -->
@@ -824,12 +819,6 @@
<string name="confederation_charter">Charter</string>
<string name="confederation_charter_signed">The confederation has signed its charter, naming its groups</string>
<string name="confederation_charter_none">The confederation has no charter yet</string>
<string name="confederation_signing_attempts">Signing</string>
<string name="nothing_is_being_signed">Nothing is being signed</string>
<string name="waiting_for_your_answer">Waiting for your answer</string>
<string name="signing_in_progress">Being signed</string>
<string name="signing_complete">Signed</string>
<string name="signing_failed">Not signed</string>
<string name="could_not_propose_the_charter">Couldn't propose the charter</string>
<string name="the_key_ceremony_for_is_complete">The key ceremony for %1$s is complete. Its groups open it from their own screens.</string>
<!-- The group's inbox: docs/group-inbox.md -->