优化 Agent 的检查、修改与验证流程 #11

Merged
xhgit merged 1 commits from codex/agent-workflow-guidance into main 2026-11-08 12:02:54 +08:00
Owner

优化内容

  • 每轮引导 Agent 从工作区的已有状态继续,检查下一步相关文件,集中修改并运行针对性验证。
  • 上下文交接记录保留工具目标和命令退出状态,省略已读文件正文。恢复后优先继续未完成的改动或验证。
  • 参考 Anthropic 的长任务 Agent 公开设计。

验证结果

  • 集成测试覆盖旧任务恢复、连续两次压缩、工具结果保留和已执行工具不重放。合并验证的 138 项后端测试通过。
## 优化内容 - 每轮引导 Agent 从工作区的已有状态继续,检查下一步相关文件,集中修改并运行针对性验证。 - 上下文交接记录保留工具目标和命令退出状态,省略已读文件正文。恢复后优先继续未完成的改动或验证。 - 参考 [Anthropic 的长任务 Agent 公开设计](https://www.anthropic.com/research/effective-harnesses-for-long-running-agents)。 ## 验证结果 - 集成测试覆盖旧任务恢复、连续两次压缩、工具结果保留和已执行工具不重放。合并验证的 138 项后端测试通过。
xhgit added 1 commit 2026-11-08 09:14:44 +08:00
Guide long-running Agent work through inspection, edits and verification
Verify control plane / verify (push) Canceled after 0s
Verify control plane / verify (pull_request) Canceled after 0s
2c176a9869
xhgit merged commit ded95f554f into main 2026-11-08 12:02:54 +08:00
xhgit deleted branch codex/agent-workflow-guidance 2026-11-08 12:02:54 +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#11