Repository navigation
fix(loop): widen TurnNoProgress idle window from 15m to 1h - #485
Merged
Merged
Conversation
TURN_NO_PROGRESS_IDLE_SECS_DEFAULT 15*60 -> 60*60. A turn that ends without any write-class tool (write/edit/shell) starting inside the window is now ledgered as TurnNoProgress after 1 hour instead of 15 minutes, giving long-reasoning models a wider tolerance before the idle-turn record fires. Sync the loop-control-plane and verification docs.
Pulls in future-skills#39: widen the TurnNoProgress window to 1h and split the idle-mode guidance (truly dead vs write-idle-but-thinking).
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.
变更
orchestration/loop/src/state.rs:TURN_NO_PROGRESS_IDLE_SECS_DEFAULT从15 * 60改为60 * 60(15 分钟 → 1 小时)。turn 结束时若在此窗口内没有任何 write 类工具(write/edit/shell)启动,才记为TurnNoProgress。docs/loop-control-plane.md与docs/verification/errors-outdated-missing.md。skills子模块指针 bump 到56fb6a2(future-skills#39),同步 SKILL.md 里 1 小时窗口措辞 + 区分「真死寂 vs write-idle-but-thinking」的处置指引。动机
给长思考模型更宽的「想而不写」容忍窗口:原本 15 分钟无 write 类工具就会在 turn 结束时记账提醒,对深推理任务过于激进。1 小时窗口下,
TurnNoProgress仍是事后记账信号(不自动干预),真正死寂的 worker 仍应靠 supervisor 主动盯盘在几分钟内 steer/stop。验证
cargo fmt -p future-loop --check✅cargo clippy -p future-loop --all-targets -- -D warnings✅cargo test -p future-loop✅(全绿)