# Design-review verdict: registry rows committed by generation (OMN-26842)

Verdict: **PASS with conditions.** The staged-then-promoted design in
`RegistryGenerationCommit.tla` may be built as the registration generation
claim and roster commit (T5 PR two), under the conditions below. PR one builds
only the read side of it.

Reviewed against the committed TLC output in this directory, bound to
`model.sha256` (the sha256 of the spec, then each cfg in sorted order). TLC2
Version 2026.11.03.180953 (rev: 309e489), `-workers 4`.

| Config | Expected | TLC result | Distinct states |
| --- | --- | --- | --- |
| Model.cfg | pass TypeOK, ListedFromCommitted, SealedMatchesAnnounced, CommittedMonotonic, RowGenerationMonotonic, RowsChangeOnlyAtCommit | No error has been found, 0 states left on queue | 66065 |
| mut_no_stage.cfg | counterexample | RowsChangeOnlyAtCommit violated | 34 |
| mut_no_digest.cfg | counterexample | ListedFromCommitted violated | 39 |
| mut_stale_commit.cfg | counterexample | CommittedMonotonic violated | 1315 |
| mut_outside_roster.cfg | counterexample | SealedMatchesAnnounced violated | 721 |

## Findings

1. A tool is listed only from an ACTIVE row of the announcer's committed
   generation that is a member of the sealed roster, over every ordering of
   announce, delayed announce, corrupt or lost roster_complete, re-announce and
   restart in the bound.
2. Each mechanism is load-bearing: writing visible rows on announcement,
   skipping the digest comparison, skipping the generation check on the commit,
   and accepting announcements outside the sealed roster each break a named
   property.

## Conditions on the build

- The generation claim, the pending set and the promotion must share one store
  and one transaction, as the plan states; the model has no partial promotion.
- The commit must check that its generation is still the announcer's claimed
  one inside the promotion transaction.

## Not covered

- Liveness (a roster_complete is eventually delivered): no fairness is stated;
  the liveness half is T21.
- Crash during promotion (the model promotes atomically), and the
  `roster_commit_timeout_seconds` timer (modelled as a drop at any time).
- Bounds: 2 nodes, 2 boots (generations 1..2), messages unbounded in delay.
