w04-review-gate

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

多智能体审查提示

Multi-Agent Review Prompt

任务执行完成且产生代码变更时,主动提示用户新开 Agent 审查未提交代码;收尾由用户审查通过后主动发起。

When the task execution is completed and code changes are generated, proactively prompt the user to open a new Agent to review the uncommitted code; the wrap-up process shall be initiated by the user only after the review is approved.

⚠️ 核心强制要求

⚠️ Core Mandatory Requirements

触发条件

Trigger Conditions

  • 任务主要交付已完成
  • 产生了代码变更(存在 git 未提交修改)
  • The main deliverables of the task have been completed
  • Code changes have been made (there are uncommitted git modifications)

必须执行的提示

Required Prompt

主动提示(陈述,非问句):
主要交付已完成。**运动员不当裁判**:请新开 Agent 审查当前 git 未提交的代码,审查通过后再进入收尾流程。

Proactive Prompt (statement, not a question):
主要交付已完成。**运动员不当裁判**:请新开 Agent 审查当前 git 未提交的代码,审查通过后再进入收尾流程。

AI Agent 行为要求

AI Agent Behavior Requirements

提示时机

Prompt Timing

在交付总结、用户尚未发起收尾之前,若存在未提交的代码变更,则输出上述提示。
Before the deliverable summary and before the user initiates the wrap-up process, if there are uncommitted code changes, output the above prompt.

与 W00 协同(自动 + 手动)

Collaboration with W00 (Automatic + Manual)

  • 审查前可自动调用
    w00-workflow-checkpoint checkpoint
    记录“待审查”状态。
  • 审查结论确认后可自动或手动调用
    /w00-workflow-checkpoint
    记录结果与下一步。
  • Before the review, automatically call
    w00-workflow-checkpoint checkpoint
    to record the "pending review" status.
  • After the review conclusion is confirmed, automatically or manually call
    /w00-workflow-checkpoint
    to record the result and next steps.

禁止事项

Prohibited Items

  • ❌ 将本提示纳入 w05-task-closure 收尾流程(二者独立:先审查,后收尾)
  • ❌ 使用问句(如「是否进入收尾?」)—— 收尾由用户审查通过后主动发起
  • ❌ Include this prompt in the w05-task-closure wrap-up process (they are independent: review first, then wrap-up)
  • ❌ Use questions (e.g., "Shall we proceed to wrap-up?") — The wrap-up shall be proactively initiated by the user after the review is approved