gatekeeper-next

Compare original and translation side by side

🇺🇸

Original

English
🇨🇳

Translation

Chinese

阶段推进(gatekeeper-next)

Phase Advancement (gatekeeper-next)

版本编号 = 当前 Git 分支名;放行/流转/留痕规则见
gatekeeper
skill(第一、二、六节)。
Version number = current Git branch name; Refer to Sections 1, 2, and 6 of the
gatekeeper
skill for release/flow/traceability rules.

Procedure

Procedure

1. 确认放行(不满足不推进)

1. Confirm Release (Do Not Advance If Not Satisfied)

  • 只读 progress.md 定位首个未完成阶段;review/test 无【待整改】/【复核驳回】才推进,否则转
    /gatekeeper-fix
    ;未过设计评审(或未标跳过)不得编码。
  • Read-only access to progress.md to locate the first incomplete stage; only advance if there are no [Pending Rectification]/[Review Rejected] in review/test, otherwise redirect to
    /gatekeeper-fix
    ; Coding is not allowed if design review is not passed (or marked as skipped).

2. 实例化模板(按需)

2. Instantiate Templates (As Needed)

  • 阶段2 建 design.md、阶段5 建 review.md、阶段7 建 test.md:复制
    gatekeeper
    skill 的
    template/
    对应模板,替换
    ${版本编号}
    ;已存在则跳过。
  • For Stage 2: Create design.md; Stage 5: Create review.md; Stage 7: Create test.md: Copy the corresponding templates from
    template/
    of the
    gatekeeper
    skill and replace
    ${版本编号}
    with the version number; Skip if already exists.

3. 执行当前阶段职责

3. Perform Current Stage Responsibilities

  • 阶段2 概要设计:产出 design.md(含「变更点清单」+「关联历史迭代回归项」);小改动提示人工标「跳过」。
  • 阶段3 编码+单测:按变更点拆解编码,配套单测。
  • 阶段4 dev 测试:后台+前端 dev 验证,回填 review.md 第三部分(每条标「对应验收§」,含回归回测)。
  • 阶段5/7:实例化 review/test 后交人工录入;待整改转
    /gatekeeper-fix
  • 阶段8:提示人工部署 prod / 归档(转
    /gatekeeper-finish
    )。
  • Stage 2 (High-Level Design): Produce design.md (including "Change Point List" + "Associated Historical Iteration Regression Items"); Prompt manual marking of "Skip" for minor changes.
  • Stage 3 (Coding + Unit Testing): Break down coding according to change points and prepare supporting unit tests.
  • Stage 4 (Dev Testing): Backend + frontend dev verification, fill in Part 3 of review.md (mark "Corresponding Acceptance §" for each item, including regression retesting).
  • Stage 5/7: Submit for manual entry after instantiating review/test; Redirect to
    /gatekeeper-fix
    if pending rectification.
  • Stage 8: Prompt manual deployment to prod / archiving (redirect to
    /gatekeeper-finish
    ).

4. 输出

4. Output

  • 变更摘要 + 增量,提示人工下一步(评审/复核/提交留痕文件)。
  • Change summary + increments, prompt manual next steps (review/review/submit traceability documents).

Pitfalls

Pitfalls

  1. 未过设计评审(或未标跳过)不得编码;禁止跨阶段工作。
  2. 不主动轮询、不自行推进阶段。
  1. Coding is not allowed if design review is not passed (or marked as skipped); Cross-stage work is prohibited.
  2. Do not actively poll or advance stages automatically.