Repository navigation
session: the wall ends a run whose work is still out - #627
Merged
Merged
Conversation
The only reader of the wall was the end of a turn, so a session that handed its work to a task and went idle never asked whether its hours were up. Three canary cells sat at `1 running` until the rig killed them at 902 seconds inside an 840-second wall — no line, no row, no ending. A steward with a wall now arms one reader off its own clock. Past the wall, with work still moving and no turn speaking, the run ends through the budget's own stopSpent: every unsettled node is stopped the way a person's stop stops one, so its row settles and its branch and working copy are kept; the ending is journaled and said on the standing lane without a model call. A session with nothing out ends exactly where it did — the reader is the floor, not a second policy — and a turn that is speaking reaches its own ending rather than being sealed from outside. Past the wall the session starts no turn nobody asked for and the graph starts nothing more, and a task begun under a wall gets what is left of it as its checkpoint interval, floored at the allowance a task needs to be opened and checked. Co-Authored-By: Claude Fable 5.1 <[email protected]>
The budget section said four things change with a budget; the fifth is that the hours end the run while the conversation is idle as well as at the end of a reply, and what becomes of a task that was still running when they ran out. The ceiling's own bullet said nothing is killed — true of the money ceiling, and no longer true of the hours — so it now tells the two apart and quotes both lines a person can read on screen. And the task page's "one hour per checkpoint" says what a task started under `--max-hours` actually gets: what is left of the run's wall, with the setup-and-check allowance as its floor. Co-Authored-By: Claude Fable 5.1 <[email protected]>
Co-Authored-By: Claude Fable 5.1 <[email protected]>
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.
An unattended session's wall now has an independent timer, so outstanding task work is stopped even after the main turn becomes idle. It uses the existing budget ending, keeps completed files and task branches, emits one standing-lane notice, and suppresses autonomous wake turns after the wall. Tasks inherit the smaller remaining interval, subject to the existing task setup allowance floor.
Refreshed against current dev. The final focused wall/budget/manual set passes (session 10.323s, manual 0.728s). Ten repetitions of the mixed wall/control cases also passed. One initial speaking-turn test timed out waiting for task settlement under concurrent suite load; the immediate three repeats and subsequent mixed/final runs passed, but no root cause was established. This is reported as unresolved test reliability evidence, not a known flake.
No new real-model canary was run. Closes #614 in intended behavior; held for secondary review because the initial failure remains unexplained and the branch was refreshed.