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>
This commit is contained in:
Kgothatso NgakoandClaude Opus 5.5 committed 2026-11-23 00:52:28 +02:00
1 parent 832e5a11c6
commit 139f519213
7 files changed
+286 -38

No files matched your search

@@ -768,6 +768,9 @@
<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>