Skip to content

fix: preserve intentional watches in replan history - #8672

Open
lurenxiao1998 wants to merge 1 commit into
loopx-project:mainfrom
lurenxiao1998:codex/watch-only-history
Open

lurenxiao1998 wants to merge 1 commit into
loopx-project:mainfrom
lurenxiao1998:codex/watch-only-history

Conversation

@lurenxiao1998

Copy link
Copy Markdown

连续执行六次正常观察后,已登记 watch_only=true 的 Monitor 仍会触发 dead_monitor_repeat,中断持续等待。Python 历史编码遗漏了该字段,分 Agent 的状态入口又省略了 Monitor 上下文。

本变更传递规范化的 watch 状态,由现有 TypeScript owner 按 Todo、目标及 Agent 归属匹配当前观察,并让两种 current streak 投影跳过持续 watch。目标摘要与实际 target key 分别处理;普通监控、缺失字段、错误归属、到期状态及独立工作 review 保留现有检测。分 Agent 的入口仅补充 Monitor 事实。

验证:先观察失败回归,再完成 90 项 Python 回归(含 file/SQLite 的真实 CLI)、36 项 TypeScript history 测试、TypeScript typecheck,以及 standard premerge 的 17 项检查。公开边界扫描通过。

范围复核:复用现有 Todo watch 和到期语义,无新增决策 owner。缺少当前 Todo 上下文的历史请求继续按原语义处理。本 PR 不授予安装、发布或合并权限;control-plane 合并由 maintainer 决定。

Signed-off-by: qinxiaojun.l <qinxiaojun.l@bytedance.com>
Co-authored-by: TRAE CLI <traecli@bytedance.com>

This branch has not been deployed

No deployments
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