Repository navigation
Wave 21: the resume nudge skips lanes idle for hours - #2176
Merged
Merged
Conversation
lane_resume_nudge.py no longer suggests resuming a lane that has been idle longer than LANE_RESUME_MAX_AGE_H hours (default 6). Idle time is read from the lane transcript's mtime, falling back to its meta file; a lane whose time cannot be read is skipped, and a missing, non-numeric or non-positive value falls back to 6. Tests: lane_resume_nudge.py --selftest 11/11 (6 before), run-ci-tests --affected 5/5 (privacy gate clean), changelog fragments 23/23 Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
The resume nudge no longer tells the coordinator to resume a lane that went idle hours or days ago: lanes idle longer than
LANE_RESUME_MAX_AGE_Hhours (default 6) are skipped.What changes
lane_resume_nudge.pycompared a new lane's description with every subagent meta file in the session, however old, so a session that ran for days could be told to resume a lane last active days earlier.agent-<id>.jsonl), else its meta file. A lane whose mtime cannot be read is skipped. A missing, non-numeric or non-positive value means 6.Known limits
A finished lane touched within the window is still named; the advisory already says to spawn a new lane if it is finished.
Verification
Tests: lane_resume_nudge.py --selftest 11/11 (6 before), run-ci-tests --affected 5/5 (privacy gate clean), changelog fragments 23/23.
🤖 Generated with Claude Code