Skip to content

fix(loop): widen TurnNoProgress idle window from 15m to 1h - #485

Merged
huichen merged 2 commits into
mainfrom
claude/turn-no-progress-window
Sep 3, 2026
Merged

huichen merged 2 commits into
mainfrom
claude/turn-no-progress-window

Conversation

@huichen

@huichen huichen commented Sep 3, 2026

Copy link
Copy Markdown
Collaborator

变更

  • 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 ✅(全绿)

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).
@huichen
huichen enabled auto-merge (squash) September 3, 2026 08:34
@huichen
huichen merged commit f0450ca into main Sep 3, 2026
12 checks passed
@huichen
huichen deleted the claude/turn-no-progress-window branch September 3, 2026 08:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant