feat(goal): stall-resistant pause/resume with full branch coverage - #183
Merged
Conversation
- 无 assistant 回复 → 可见暂停(pauseAndPublish + ⏸ 提示),替代静默 stall - 僵尸目标新鲜度守卫:active + 零续跑 + 超阈值 + 无 assistant → 可见可恢复暂停(probe limit:1,stale 路径早退不拉全量窗口) - 纯工具调用轮(无文本输出)→ 合成 continue verdict 直接续跑(受 turn budget 约束) - 中断分支:保留 no-pause 语义并补 F1 论证(status.ts 无条件发 Status+Idle,run-state cancel/idle 均 set idle;中断后下一 idle 事件必然到达)——证据审查推翻了「静默 active」担忧;使用 fiber 安全 pauseAndPublish(非 goal.pause,防自中断悬置) - e2e-loop.test.ts +333 行:4 分支全覆盖(无-assistant 暂停 / 合成 continue / 状态变更暂停 / 中断分支),沿用既有 fixture 模式
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.
内容
测试
备注