Skip to content

Plan 3 W13 WP 13.7: a running session's set-aside pool candidates can be retried from both UIs (#1336) - #1360

Merged
epim merged 3 commits into
mainfrom
wave13/wp-13-7
Nov 30, 2026
Merged

epim merged 3 commits into
mainfrom
wave13/wp-13-7

Conversation

@epim

@epim epim commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Closes #1336.

What was wrong

WP 12.3 gave a pool's set-aside candidates a RETRY control, but only for a dormant session and only in the classic inspector. A run that set a candidate aside offered nothing until it ended, and the new UI's stage editor had no control at all.

What changes

Server. flows/progress.py names a pool block's plan group (group_id) whatever the session's status, as a mosaic block's is. That is what lets a live state.group.id be joined to a pool node by id, never by name. set_aside on a pool block is still the dormant session's alone.

UI. One model, poolSetAsideModel.ts (the hook, the words, the row shape), drawn by two skins: the classic PoolSetAside and the new PoolSetAsideNext, mounted in the #/next stage editor (docked column and phone sheet).

  • Dormant: the rows come from the progress answer; a retry clears the stored records and the rows leave.
  • Live: the rows are the run's published group. A press only queues. The rows stay, marked "retry queued", until the run stops listing them, and the button locks while every listed candidate is queued.
  • The note of a press says what happens next ("the run takes it up at its next selection and sets it aside again if still unfit"), so the lock's own sentence is not drawn beside it.
  • A viewer sees the rows and a locked button with the access reason.

The engine queues a candidate once, so a second live press changes nothing (test_wp13_7_live_pool_retry_twice.py).

Tests

  • UI: 16 new tests in three files (the join by group id; the classic control live; the #/next control dormant and live, column and sheet, viewer).
  • Server: the repeat-press test, a recording of the running answer held equal to the real one, and the 12.3 pins updated to the new rule (a pool block names its group with or without a record).
  • On the tree merged with main: 494 server tests across the 12 files that mention a pool's group_id, and 403 UI tests across the 33 files that touch the changed modules.

Mutants, each from a byte backup and restored byte-identical:

Mutant Result
the live branch of the model removed 5 of 7 classic and 3 of 5 #/next tests fail ("a running session's set-aside candidate has no row")
group_id published only beside a record (the old rule) the server recording test fails with KeyError: 'group_id'
the #/next mount line removed "the #/next pool stage draws no set-aside control"
the engine's queue-once check removed "a second press queued the candidate again"
the lock sentence drawn beside the note again "the queued-lock sentence is not drawn beside the note" in both live files

Real browser

tools/ui_probe/probe_pool_set_aside_live.py runs a real simulated night: a round-robin pool of three candidates with a staged centring fault on one, which the engine sets aside after three passes. The control was checked visible, sized and inside the viewport at 1440x900 and 390x844 on both UIs, then pressed once on #/next. The screenshots were opened and looked at.

Found, filed separately

🤖 Generated with Claude Code

https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p

epim and others added 3 commits November 30, 2026 02:11
… be retried from both UIs (#1336)

WP 12.3 gave a pool's set-aside candidates a RETRY control, but only
for a dormant session and only in the classic inspector. A run that set
a candidate aside offered nothing until it ended, and the new UI's
stage editor had no control at all.

Server. progress.py names a pool block's plan group (group_id) whatever
the session's status, as a mosaic block's is, so a live state.group.id
can be joined to a pool node by id. set_aside on a pool block is still
the dormant session's alone.

UI. One model, poolSetAsideModel.ts (the hook, the words, the row
shape), drawn by two skins: the classic PoolSetAside and the new
PoolSetAsideNext, mounted in the #/next stage editor (column and
sheet). Dormant: the rows come from the progress answer and a retry
clears the stored records. Live: the rows are the run's published
group, joined by group id; a press only queues, the rows stay marked
"retry queued" until the run stops listing them, and the button locks
while every listed candidate is queued. The note of a press says what
happens next, so the lock's own sentence is not drawn beside it. A
viewer sees the rows and a locked button with the access reason.

The engine queues a candidate once: a second live press changes
nothing (test_wp13_7_live_pool_retry_twice.py).

Found and filed: #1355 (the run publishes set-asides for its active
group only).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
…lock names its group with or without a record)

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
@epim
epim merged commit 600d946 into main Nov 30, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A set-aside pool candidate has no retry surface in a running session or in the #/next editor (after #1245)

1 participant