fix(dag): resolve audit defects DAG-01..04 (fixed-point loop converged) - #335
Merged
Conversation
…kpoint gating at replan/extend (DAG-01/DAG-02)
…l; sync ADR-0003 (review R1)
…ngated hint (review R4)
Uh oh!
There was an error while loading. Please reload this page.
This was referenced Aug 18, 2026
Closed
Closed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for freeto join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
按
workflows/audit-fix-loop.md固定点循环(开发切片 → 红绿变异 → 双镜独立审阅 → 收敛)偿付审计文档 DAG 章节全部 4 项缺陷。验收 primary source:docs/audit-dag-memory-goal-2026-08-18.md。上一批 GOAL 见 PR #334;本 PR 为 DAG 批次(基于 origin/dev,不含 GOAL 改动)。缺陷 → 修复(按审计处置顺序)
parseJsonOption归一化(与 #322 verdict 门同源;非 JSON 回退原串,整串等值可用、字段路径仍 false、数值比较仍 loudly-fail)。authoring:checkpointGateDiagnostics追加「被门控 checkpoint 必须声明 output_schema」;门禁接入 replan/extend 双层——validatePostCompile不再随structural:false关闭(fragment 内生效)+replanStructuralDiagnostics对 merged 图补检(覆盖 fragment 挂既有 checkpoint),豁免持久图已终态 checkpoint(settled and immutable,加波/重开语义保留);runtime 路径requireOutputSchema:false(runtime-created 图按 CONTEXT.md 豁免 authoring 校验);ADR-0003 同步setPaused(true)+vetoHold);Effect.catch→catchCause(hasInterrupts 再抛)折叠 defect;logError 含 durableStatus;F2 加固(审阅轮):vetoHold 跨 node 终态/refreshControlFlags 的 durable re-sync 存活,由父控制事件(replan/step 恒可达,resume 于非 running 态)释放,Replanned 处理器补上从未有过的 flag 重同步hasInterrupts再抛;disposeAllInstancesAndEmitGlobalDisposed10stimeoutOption有界化(超时即放弃且不产生错误,保住 HttpApi dispose endpoint 错误通道),去 uninterruptible;Disposed 事件超时/吞错后仍落地;真实失败非 swallow 路径仍传播。触发源不追查(审计原缺口)证据
docs/findings/dag-batch-findings.md。bun typecheck+ pre-push 钩子 turbo typecheck 29/29 绿。关联