取消 AI 开发任务的固定轮次上限 #7

Merged
xhgit merged 1 commits from codex/remove-ai-step-cap into main 2026-11-08 00:45:38 +08:00
Owner

人工发现的 Bug

AI 开发每运行 30 轮就暂停并显示「达到步骤上限,请核对当前项目进度」。点继续只会把上限再加 30,长任务会反复暂停。

修复内容

移除 Worker 的固定轮次判断,也移除恢复时给任务追加 30 轮的逻辑。已暂停的旧任务可以在同一工作区点继续,后续按原预算执行,累计轮次仍会记录。

验证结果

在 PostgreSQL 中模拟一个第 60 轮因旧规则暂停的任务,恢复后继续执行 31 个工具轮并在第 92 轮正常完成。PostgreSQL / Redis 后端全套 134 项测试通过。

## 人工发现的 Bug AI 开发每运行 30 轮就暂停并显示「达到步骤上限,请核对当前项目进度」。点继续只会把上限再加 30,长任务会反复暂停。 ## 修复内容 移除 Worker 的固定轮次判断,也移除恢复时给任务追加 30 轮的逻辑。已暂停的旧任务可以在同一工作区点继续,后续按原预算执行,累计轮次仍会记录。 ## 验证结果 在 PostgreSQL 中模拟一个第 60 轮因旧规则暂停的任务,恢复后继续执行 31 个工具轮并在第 92 轮正常完成。PostgreSQL / Redis 后端全套 134 项测试通过。
xhgit added 1 commit 2026-11-08 00:44:38 +08:00
Remove the fixed round limit from AI development tasks
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
66d339fbed
xhgit merged commit 572371d7af into main 2026-11-08 00:45:38 +08:00
xhgit deleted branch codex/remove-ai-step-cap 2026-11-08 00:45:38 +08:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: xhgit/webup-cloud#7