Skip to content

feat(policy): verify-to-delivery doctrine in the Verdict Disposal Contract - #318

Merged
LeXwDeX merged 1 commit into
devfrom
feat/verify-to-delivery-doctrine
Aug 17, 2026
Merged

feat(policy): verify-to-delivery doctrine in the Verdict Disposal Contract#318
LeXwDeX merged 1 commit into
devfrom
feat/verify-to-delivery-doctrine

Conversation

@LeXwDeX

@LeXwDeX LeXwDeX commented Aug 17, 2026

Copy link
Copy Markdown
Owner

内容

在路由器判定宪章(Verdict Disposal Contract)顶部注入持续核验至上线标准原则(中英双语关键提示词):

持续核验至上线标准 · Verify to the delivery bar. Implementation is not the finish line: after implementation, keep iterating verification until the delivery bar the user demanded is genuinely met — 实现之后,持续迭代核验,直至达成用户要求的上线标准。The Router owns every judgment on that loop: verdict replan when the evidence is insufficient, reorganize the flow (a correction wave via extend, a reshape via replan) when the outcome deviates, and a new DAG when the current graph is exhausted. Neither a completed node nor a green build closes the loop on its own — only the user's delivery standard does.

为什么放在这里

  • Verdict Disposal Contract 是路由器在每个检查点唤醒时的判定宪章——处置表(extend/replan/新 workflow/停止)的总纲位置
  • 既有契约规定"非 ACCEPT 判定必须处置",缺的是正向义务:实现不是终点,迭代核验直到用户上线标准。注入后判定三职责完整:replan 判定、流程重组判定、新开 DAG 判定
  • "节点完成≠闭环,构建绿≠闭环,只有用户的上线标准才是闭环"——堵住把绿色当成完成的操作惰性

验证

  • packages/core typecheck ✅
  • command.test.ts 21/21 ✅(新增 3 条锚点断言)

影响面:orchestration-policy.md 是常驻路由器每次判定唤醒的注入文档,所有后续 DAG 判定节点直接受此约束。

…tract

The Router's judgment charter lacked the positive obligation behind every
disposal: implementation is not the finish line. Encode it as the contract's
leading principle (bilingual key prompt): after implementation, keep
iterating verification until the delivery bar the user demanded is genuinely
met, and the Router owns every judgment on that loop — replan when evidence
is insufficient, flow reorganization (extend/replan) when the outcome
deviates, a new DAG when the graph is exhausted. Neither a completed node nor
a green build closes the loop; only the user's delivery standard does.
@LeXwDeX
LeXwDeX merged commit 7a4ca6b into dev Aug 17, 2026
5 checks passed
@LeXwDeX
LeXwDeX deleted the feat/verify-to-delivery-doctrine branch August 17, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant