Ballot
Immutable record of one agent's cast choice
Mechanism
The immutable record of one agent's cast choice in a decision. Carries which proposal, which voter, and which option was chosen. The question, the options and the decision rule belong to the `Vote` that called for it; a Ballot is the response, and `Quorum` counts these. Immutable once cast — a revision is a new Ballot carrying a fresh MonotonicCounter sequence, so revocation and amendment surface as distinct later decisions rather than retroactive edits.
Invariants
- Immutable once cast: a revision is a new Ballot, not an edit.
- Names one voter and one choice drawn from the options of the decision it answers.
- Choice is expressed as a Select over those options, not free text.
Failure modes
- Spoiled ballot: ambiguous or invalid Select format.
- Double voting: a single agent submits multiple ballots for one proposal (Sybil risk).
Where this came from
—
Builds on
- Select references
- MonotonicCounter references
Used by
Identity
- Ref:
Ballot#e0e4 - Hash: sema:Ballot#mh:SHA-256:e0e4a34b48dba4669e09b04c4b8c3202f95c878fc26c29480a298012753b1f3c
- Library: bootstrap 0.11.0, root a6a3d1ff0f98
- License: Not stated; check the repository