feat(core): built-in /dag-init and /dag-auto commands - #309
Merged
Conversation
release: goal-loop silent-stall fixes (GOAL-FP-01-17/18/19)
release: memory config — remove dead topic_limit_floor knob
feat(dag): harness batch — parallel writers, REJECT checkpoints, union-arg tolerance
fix(dag): live-test fixes — synthesize final-gate binding and review gate wording
Ship the platform handshake and ultra-flow entry as built-in commands so a binary-only install runs the full dag pipeline; user command files still override by name. /dag-init probes GitHub/GitLab (self-hosted included) permissions and writes the connection config. /dag-auto internalizes the stage-classifier discipline and drives the six-block ultra-flow with direction checkpoints, spec confirmation gate, ordered merge, and remote reconciliation.
This was referenced Aug 17, 2026
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 free
to 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.
Closes #308
内容
单体开箱即用的最后一步:
/dag-init与/dag-auto编译进二进制(DagFlowContent同款通道),用户命令文件同名覆盖仍生效。.opencode/dag-init.json(唯一本地状态,幂等刷新)ultra-flow-route六积木+五道分级检查点(verdict continue/replan,replan ≤3 回环);窄请求 → 域路线单积木;spec 一次性确认门(full-auto跳过);product-dpc 显式清单;计划序合并(合并门前 rebase+重 watch CI);发布默认人工门;监听只认 issue-closed/PR-merged/CI checks;远端真相重入对账command.ts(导入/导出/draft.update)+ opencodecommand/index.ts(Default.DAG_INIT/DAG_AUTO + 登记)验证
bun typecheck✅,bun test test/plugin/command.test.ts21/21 ✅bun typecheck✅,bun test test/command/command.test.ts8/8 ✅配套:模板侧 ultra-flow-route/release-route 见 LeXwDeX/opencode-dag-config#12。