Skip to content

plan 3 W13 WP 13.3: a declined re-sweep probe reads done, and three sibling guards of the sweep (#1321, #1307) - #1366

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

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

Conversation

@epim

@epim epim commented Nov 30, 2026

Copy link
Copy Markdown
Owner

Closes #1321. Closes #1307.

Plan 3, wave 13, WP 13.3. It merges last in the wave because it shares engine.py with 13.1 (#1365) and hub.py with 13.4 (#1351); this branch is merged with main at 769b280 and was retested there.

#1321: a declined re-sweep probe no longer draws FAILED

  • An owed re-sweep whose probe was declined (the field too thin to try) drew FAILED on the AUTOFOCUS lane node. _autofocus_sweep now answers SweepDeclined.PROBE and _autofocus reads that as "done", the word a vetoed sweep already had. Its callers still get False.
  • The TARGET block is named "running" at setup start, before SLEW, AUTOFOCUS and GUIDE, so the lane no longer shows stage words its own block does not.
  • server/tests/fixtures/stage_status_stream.json is regenerated: one added frame (the block running, its first loop not yet named), and the block's word on the setup frames after it. The UI replay test indexes the recording by position, so its indices move by one and it now asserts the added frame itself.

#1307: three sibling guards of the sweep

  1. A sweep the trailing-field veto declined gives the hop's first acquisition back, as the no-light veto's did.
  2. The resume ladder's sweep carries the engine's tracking probe and the hub's exposure guard, as every sweep of a run does. A mount that is not tracking is a sweep that did not find focus, not a refusal: nothing moves, the focus is not vouched for, and the ladder goes on.
  3. A solve that succeeds in solve_and_sync clears that hub's no-light verdict, so a sweep is not skipped for 300 s under a sky that has just solved.

A behaviour change to know about

With the tracking probe, a mount standing at park gets no recovery sweep when the ladder focuses: the run's own autofocus measures the focus later. The old sweep at park measured whatever the parked tube pointed at. The proper fix is ladder order (focus after the slew, once the mount tracks): #1361.

Evidence

  • New: server/tests/test_w13_3_declined_probe_and_sibling_guards.py (8 tests).
  • Merged tree at 769b280: 87 server test files that mention the sweep, the no-light verdict or the stage stream, plus the 13.1 and 13.2 files and the swallow ratchets: 1883 passed. An earlier run on the tree merged with 13.2 and 13.4 (155 resume, solve and preview files): 2596 passed. UI replay and lane files: 4 files, 19 passed. tools/ci self-tests OK.
  • Mutants, each from a byte backup with a sha256 restore, each killed by a named test:
mutant what it breaks
M1 (coder) a declined probe reads as a failed sweep again
M2 (coder) the trailing-field veto keeps the hop's first acquisition
M3 (coder) the resume sweep is given no tracking probe
C1 solve_and_sync does not clear the no-light verdict
C2 the resume sweep runs unprobed
C3 the TARGET block is not named at setup start
C4 clear_no_light clears the verdict of any hub, not the one that solved

Found and filed, not fixed here

🤖 Generated with Claude Code

https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p

epim and others added 3 commits November 30, 2026 02:21
…block runs from setup start, and three sibling guards of the sweep are closed (#1321, #1307)

#1321. An owed re-sweep whose probe was declined (the field too thin
to try) drew FAILED on the AUTOFOCUS lane node. _autofocus_sweep now
answers SweepDeclined.PROBE for it and _autofocus reads that as "done",
the word a vetoed sweep already had; its callers still get False. The
TARGET block is named "running" at setup start, before SLEW, AUTOFOCUS
and GUIDE, so the lane no longer shows words its own block does not.
The three recorded stage streams are regenerated: one added frame, and
the block's word on the setup frames after it.

#1307. (1) A sweep the trailing-field veto declined gives the hop's
first acquisition back, as the no-light veto's did. (2) The resume
ladder's sweep carries the engine's tracking probe and the hub's
exposure guard, as every sweep of a run does. A mount that is not
tracking (it stands at park when the ladder focuses) is a sweep that
did not find focus, not a refusal: nothing moves, the focus is not
vouched for, and the ladder goes on. (3) A solve that succeeds in
solve_and_sync clears that hub's no-light verdict, so a sweep is not
skipped for 300 s under a sky that has just solved.

The UI replay test indexes the recording by position: its indices move
by the added frame, and it now asserts the new frame itself (the TARGET
busy, its first loop not yet named).

Filed: #1361 (the ladder focuses before the mount tracks), #1362 (a hop
slews before the trailing-field veto is asked), #1363 (five other solve
paths do not clear the verdict), #1364 (frame_context has no caller).

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
@epim
epim merged commit e7a399c 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

1 participant