Repository navigation
Plan 3 W13 WP 13.2: auto-resume stops retrying for targets that have set, and waits after an unsafe stop (#1308) - #1356
Merged
Merged
Conversation
…ve set below their floors, says what it checked, and waits one interval after an unsafe stop (#1308) On 2026-11-10 the start-floor refusal said "retrying in 10 min" fourteen times for a mosaic whose panels had set and could not rise again that night, and the arm unparked, slewed and solved 44 s after the engine had parked at the end of a 45 minute cloud hold. A target has set for tonight when it is below its plan's floor, falling, and not back at that floor before the night or its own window ends (_has_set_for_tonight). When every target the resume could still run has set, _recover refuses before it touches a device, tick says so once and makes no further attempt for that session that night; the hold stands with no retry time and the window's close is an info line. One target that can still run keeps the ladder going, and a floor refusal over several targets says how many were below their floors. A rising target keeps the ten minute retry, also when it will not reach its floor before dawn. The first attempt after a run the arm saw end unsafe (the engine's end_reason) waits RETRY_INTERVAL_S: no solve, no slew, no start before then. The engine marks no cloud-limit cause of its own, so every unsafe stop waits. New lines carry no altitude, azimuth, hour angle or time. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #1308.
What was wrong
On 2026-11-10 the start-floor refusal said "retrying in 10 min" fourteen times for a mosaic whose panels had set below their floors and could not rise again that night. Separately, the arm unparked, slewed and solved 44 s after the engine had parked the mount at the end of a 45 minute cloud hold.
What changes
unsafewaits one retry interval: no solve, no slew, no start before then. The engine marks no cloud-limit cause of its own, so every unsafe stop waits (Anunsafestop has no typed cause, so auto-resume waits after every one #1354).Tests
server/tests/test_w13_2_resume_set_target.py(18 tests), each throughResumeArm.tickon a clocked rig with a made-up site, and three existing resume-arm files updated where they pinned the old words.Mutants, each run from a byte backup and restored byte-identical:
ahead >= altno longer required)On the tree merged with main: the 69 test files that build the resume arm, plus the ratchets and the set-aside promises: 1877 passed.
Found, filed separately
unsafestop has no typed cause, so auto-resume waits after every one #1354: anunsafestop has no typed cause, so auto-resume waits after every one.🤖 Generated with Claude Code
https://claude.ai/code/session_01K7CHb44VFtZLGUDLF4us2p