Closed
流水线运行的时候在issue中评论会不会固定触发issue agent,而是触发当前步骤的agent #2
马岩松Add on  Oct 26Closed at  Oct 26
马岩松
马岩松Collaborators
Oct 26 Create

目标

修正流水线运行期间评论事件的 Agent 路由逻辑:评论触发不应固定路由到当前步骤的 Agent,而应按评论发生的位置路由到对应职责的 Agent。

现状

  • 流水线运行中,在 Issue 中发表评论会触发当前步骤(当前流水线节点)的 Agent,而非固定的 Issue Agent。
  • 该行为导致评论无法送达职责匹配的 Agent 处理。

期望行为

  • Issue 中的评论 → 触发 issue agent(负责打标签/分配/Issue 状态管理等)。
  • PR 中的评论 → 触发 coding agent(负责代码评审/修改等)。
  • 即:评论事件按载体(Issue / PR)路由到对应 Agent,而不是触发当前流水线步骤的 Agent。

验收标准

  1. 流水线运行期间,在 Issue 下评论,由 issue agent 接管处理。
  2. 流水线运行期间,在 PR 下评论,由 coding agent 接管处理。
  3. 不再出现评论触发"当前步骤 Agent"的错误路由。

优先级

建议 P1(事件路由正确性影响多 Agent 协作链路)。

来源

  • 提交人:@XOcto(马岩松)
  • 原始反馈:流水线运行的时候在issue中评论会不会固定触发issue agent,而是触发当前步骤的agent,修正一下这一点,issue中评论应该触发issue agent,PR中评论应该触发coding agent才对

VOD 审视结构化(auto-structured by VOD Agent)

likedislike
grape_bot
grape_botCollaborators
Oct 26 Comments:

[AGENT Agent] 任务已完成(agent agent)。

likedislike
grape_bot
grape_botCollaborators
Oct 26 Comments:

[AGENT Agent] 任务已完成(agent agent)。

likedislike
grape_botgrape_botCollaborators
Oct 26 Modify description of issue
grape_bot
grape_botCollaborators
Oct 26 Comments:

[VOD Agent] 已完成需求审视:这是一个明确的事件路由修正需求(bug 类)。需求四要素完整,已将 body 结构化为「目标/现状/期望/验收/优先级/来源」模板。核心诉求:流水线运行期间,Issue 中评论应触发 issue agent、PR 中评论应触发 coding agent,而非触发当前步骤的 Agent。无重复 Issue,即将 A2A 交办 issue agent 进行打标签/分配与后续处理。

likedislike
grape_botgrape_botCollaborators
Oct 26 Added label: bugneed-infoP1triaged
grape_bot
grape_botCollaborators
Oct 26 Comments:

[issue agent] 已完成 Issue #2 深度可开发性分析,评级:needs-discussion。

需求完整性: complete

  • 类型: Bug(事件路由错误);目标/现状/期望/验收标准齐备,P1 优先级认可。

技术可行性: conditional

  • 本仓库 grape-cli 为契约驱动的 CLI 客户端(模块仅含 cli/client/config/contracts/registry/commands.git,见项目知识基线),代码中不含流水线事件路由 / webhook 分发逻辑。
  • 评论事件 → Agent 的路由行为由 Grape 服务端流水线引擎决定,修复点大概率不在本仓库。

依赖就绪性: ready

  • 无新增外部依赖。

范围确定性: unclear

  • 无法在本仓库定位需改动的文件/模块。

追问项

  1. 该路由修正是否应在服务端(Grape 流水线引擎)所在仓库实现?如是请提供目标仓库,或确认跨仓同步跟踪。
  2. 验收场景确认:流水线任一步骤运行期间,Issue 评论 → issue agent、PR 评论 → coding agent;机器人自身的评论是否应豁免触发?

已打标签 bug / P1 / need-info / triaged。本仓库暂无 CODEOWNERS 模块负责人配置,暂未分配责任人,@XOcto 请协助确认上述问题;确认后将重新评估并进入 Spec/开发流程。建议后续为仓库配置 CODEOWNERS 以便自动分配。

likedislike
grape_bot
grape_botCollaborators
Oct 26 Comments:

[VOD Agent] 补发 A2A 续办完成(基于原事件 seq=29317/29318 结论继续执行):

  • 维持原复核结论:Issue #2 为有效 bug/P1 需求——流水线运行期间评论事件应按载体路由(Issue 评论→issue agent、PR 评论→coding agent),而非触发当前步骤 Agent。
  • 下游 issue agent 分析结果已生效:标签 bug / P1 / need-info / triaged 已打,评级 needs-discussion。本仓库 grape-cli 为契约驱动 CLI 客户端(模块仅含 cli/client/config/contracts/registry/commands.git),不含流水线事件路由逻辑,修复点大概率在 Grape 服务端流水线引擎仓库。

待 @XOcto 确认以下两项后继续流转至 Spec/开发:

  1. 修复目标仓库:是否在服务端流水线引擎仓库实现?请提供目标仓库,或确认跨仓同步跟踪。
  2. 机器人(grape_bot)自身的评论是否应豁免触发路由?

Issue 已置为「待澄清」状态,请直接回复本 Issue 澄清;确认后将重新评估并进入开发流程。

likedislike
马岩松马岩松Collaborators
Oct 26 Close issue
grape_botgrape_botCollaborators
5 days ago Associated pull request