The list screen asks "where has this got to" in four places -- the section
split, the row's icon, that icon's description and its status line -- and each
worked it out for itself from the stage and the approval timestamps. A filter
over those states would have been a fifth derivation, and a fifth derivation is
how a chip comes to count a proposal the row beneath it describes differently.
So the question is asked once, on `Proposal`, and the four readers read it.
The classification deliberately is not `FrostSigningStage`. The one state
anybody opens this screen looking for -- waiting on me -- is not a stage at all:
an open session waiting on this member and one waiting on everybody else are
both COLLECTING_NONCES, and what separates them is `signApprovedAt` and
`signDeclinedAt` being null. `awaitsYou` is tried first and wins; the stage
decides only among the rest, exhaustively and with no `else`, so a stage added
later fails to compile here rather than landing quietly in IN_PROGRESS.
`statusOf` still switches on the stage, and has to: the three things it says
about an open session -- you agreed, you declined, you were picked to sign --
are exactly the distinctions IN_PROGRESS collapses.
Two behaviours are pinned rather than fixed, because both are parity with
`isAwaitingApproval` and the signing screen gates its buttons on that:
- a session whose proposal has not arrived yet classifies NEEDS_YOU, although
the card says there is nothing in it to read;
- a batch the group finished without this member is IN_PROGRESS until
`advance` closes it, which is also what the row already said.
The preview gains an in-progress and an abandoned sample, so the conformance
sweep renders every icon and every status line in all six schemes.
Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>