When a review sends the plan back
When a review sends the plan back
First published on openspec-ui.dev. A tester ran Review on an OpenSpec change and got five things to fix. They ran Propose again and saw no change in the files. Propose had already filled in the missing artifacts. The reviewer had asked for revisions to the ones that existed. That distinction matters before implementation.
首次发布于 openspec-ui.dev。一位测试人员对一个 OpenSpec 变更运行了 Review(评审),并得到了五个需要修复的问题。他们再次运行了 Propose(提案),但发现文件没有变化。Propose 之前已经填充了缺失的工件。评审员要求对现有的工件进行修订。在实施之前,这种区别至关重要。
A review can find a missing requirement or an inconsistency between the design and the task list. The work still belongs in the plan. Give the review a verdict the harness can read The reviewer can finish with Review verdict: ready or Review verdict: changes needed. Workbench reads that line as a decision. The rest of the review is the material a later Update stage can use.
评审可能会发现缺失的需求,或者设计与任务列表之间的不一致。这项工作仍然属于计划的一部分。为评审提供一个工具可以读取的结论:评审员可以以“Review verdict: ready”(评审结论:就绪)或“Review verdict: changes needed”(评审结论:需要修改)结束。Workbench 会将该行读取为一项决定。评审的其余部分是后续 Update(更新)阶段可以使用的材料。
When a chain receives changes needed, it runs one Update using the review stage’s agent before it proceeds to Apply. With ready, the chain proceeds directly. The update reads the last completed review from the audit log, along with any operator notes or recorded answers. It revises the existing planning artifacts and validates the change. Its write scope is the change’s planning directory. If the update fails, the chain stops there.
当链条收到“需要修改”时,它会在进入 Apply(应用)阶段之前,使用评审阶段的代理运行一次 Update(更新)。如果是“就绪”,链条则直接继续。更新操作会从审计日志中读取最后完成的评审,以及任何操作员备注或记录的答案。它会修订现有的规划工件并验证变更。其写入范围是变更的规划目录。如果更新失败,链条将在此停止。
Watch one requirement move through the plan Say the review asks what should happen when a settings file is missing. A useful Update adds the expected behavior to the spec, records the chosen default in the design, and gives the task list a check for that case. The Apply stage can then read a coherent plan with an observable result to verify.
观察一个需求如何在计划中流转。假设评审询问当缺少设置文件时应该发生什么。一个有用的更新会将预期行为添加到规范中,在设计中记录所选的默认值,并为任务列表添加针对该情况的检查。随后,Apply 阶段可以读取一个连贯的计划,并获得可观察的结果以进行验证。
You can also start the update yourself after reviewing the findings. Use Update Plan from the change’s controls, or give the terminal command a note that resolves the reviewer’s question. openspec-ui-cli update plan my-change —note “Use the workspace default when the change has no settings file.” Read the artifact diff before implementation if you want to check how the note landed. openspec-ui-cli show diff my-change ADR 0041 records the original review and the rule that gives each review at most one automatic update.
在查看评审结果后,您也可以自行启动更新。使用变更控件中的“Update Plan”(更新计划),或者在终端命令中提供一条解决评审员问题的备注。openspec-ui-cli update plan my-change —note “Use the workspace default when the change has no settings file.” 如果您想检查备注是如何落地的,请在实施前阅读工件差异。openspec-ui-cli show diff my-change ADR 0041 记录了原始评审以及规定每次评审最多只能进行一次自动更新的规则。