[feat] agent: reproduce and fix tool execution failures with regression coverage
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 38/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- typescript
调研方向
Start by reading issues #132, #131, and #137 to understand the reported failures, then trace the shared agent tool execution paths for discovery, parameters, permissions, execution, and result delivery. Add a regression case that fails before each fix and records the failure category, user-visible result, retained content, and next step. Use model substitutes where possible, document any real-model coverage separately, and ensure the shared fix is exercised through the CLI, MCP, and canvas entry points.
由索引模型根据 Issue 内容生成。
描述
Parent epic: #107(Q4 2026 roadmap · P0 "Agent creation reliability and recovery")
范围
复现并修复 Agent 工具执行链路上的真实失败,覆盖 discovery、参数、权限、执行、结果回传五段。已有的三个现场作为起点,但不限于它们:
| 现场 | 症状 | 位置 |
|---|---|---|
| #132 | 助手用不存在的查询类型 canvas_items,随后 canvas.status 也失败 |
工具/查询目录与提示词不一致 |
| #131 | 执行过程中没有任何进度反馈,用户不知道在做什么 | 流式事件与回执 |
| #137 | 长时间 job wait 后编辑会话过期,后续改 prompt / 恢复生成直接 409 | 会话租约与版本冲突 |
判定"修好了"的标准
- 每个修掉的失败都有一条在修复前会失败的回归用例(不是"现在能过"就算)。
- 说明失败属于哪一段(discovery / 参数 / 权限 / 执行 / 回传),以及用户看到什么、保留了哪些内容、下一步该做什么。
- 不需要真实付费模型的部分用模型替身覆盖;需要真实模型的部分单独列出,不混为已覆盖。
- 同一类失败不应在另一个入口(CLI / MCP / 画布)以另一种形式重现:修复落在共用服务或共用契约上,不在单个调用方打特例。
不在范围
- 不重构 Agent runtime、不新增 harness(属 #33 / P1 多 Agent)。
- 不改画布与编辑器 UI 表现,除修复必须的错误提示。
- 不做质量评价与模型对比(属本 epic 子任务 5)。
依赖
无。后续子任务 2(run/tool/job/receipt 关联)会复用本任务产生的失败分类与回归骨架。
推进方式
一次一个 PR;修复与回归用例同一提交。
- 主要语言
- TypeScript
- 星标
- 119
- 派生
- 16
- 平均合并
- 16 小时 13 分钟
- 30 天内合并 PR
- 195
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
ThinkFlowLab/OpenDirector 的其他 Issue
-
area:provider
难度 2/5 1-3 小时 新手友好度 78/100
ThinkFlowLab/OpenDirector#477 · 1 条评论 ·
维护者通常 1 天内回复
-
area:ci
难度 2/5 1-3 小时 新手友好度 76/100
ThinkFlowLab/OpenDirector#411 ·
维护者通常 1 天内回复
-
[bug] agent: 长素材名在对话气泡中溢出,遮挡正文与素材栏可能已有人在做 关联的 PR 仍在进行中或已合并。 未关闭area:agent
难度 2/5 1-3 小时 新手友好度 88/100
ThinkFlowLab/OpenDirector#348 ·
维护者通常 1 天内回复
-
area:provider
难度 2/5 1-3 小时 新手友好度 72/100
ThinkFlowLab/OpenDirector#311 ·
维护者通常 1 天内回复
-
area:desktop area:install help wanted
难度 4/5 3-5 天 新手友好度 25/100
ThinkFlowLab/OpenDirector#475 ·
维护者通常 1 天内回复
查看 ThinkFlowLab/OpenDirector 的全部 Issue
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
primer/primitives#1426 ·
-
Sign-in-only setup dialog describes API-key verification可能已有人在做 @roboclaw-bot 今天认领。 未关闭clawsweeper:fix-shape-clear clawsweeper:queueable-fix clawsweeper:source-repro impact:ux-friction issue-rating: 🦞 diamond lobster no-stale P2
难度 1/5 1 小时以内 新手友好度 78/100
openclaw/openclaw#204323 · 1 条评论 · 1 个 reaction ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
virtue-initiative/virtue-initiative#953 ·
维护者通常 1 天内回复
-
needs-area-label
难度 2/5 1-3 小时 新手友好度 68/100
维护者通常 1 天内回复
-
难度 1/5 1 小时以内 新手友好度 88/100
fumicode/bublys-org#261 ·
维护者通常 12 天内回复