機能: ゲートを実機判定に拡張+dango-run に autoplan モードを追加#13
Merged
Conversation
ゲートが「文書(レビュー)」だけでなく「動作(実機チェック)」でも関門を閉じる ようにし、計画フェーズを無確認で連鎖する autoplan を加えた。gstack の 「実機で検証して自動で進む」挙動に寄せつつ、破壊的操作の手前で止める線引きは維持。 - dango-state.mjs: `check --<name> pass|fail` を追加し check.json に記録。 gate は high>0 または check の fail を阻害要因として continue|loop-back|escalate を判定。gate --reset は check も初期化。decisions.log に checks_failed= を追記。 check 未記録時は従来どおりレビューのみで判定(後方互換)。 - dango-run/SKILL.md: フローに 3.5 実機チェックを挿入。autoplan(計画一気通し) モードと対応トリガを追加。check を非破壊の自動実行側に明記。 - バージョンを 0.2.0 に。CHANGELOG を更新。 Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
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.
背景
gstack(別のエージェント基盤)と比べて dango-pack の「動き」が違って感じる主因は、
gstack が 実機で検証して自動で進むのに対し、dango-pack のゲートが
レビュー文書(
verdict.json)だけで進む/戻るを決めていた点だった。そこに寄せつつ、破壊的操作の手前で止める dango-pack の線引きは維持する。
変更
1. ゲートの実機化(動作で関門を閉じる)
bin/dango-state.mjsにcheck --<name> pass|fail …を追加。ビルド/起動/スモークの合否を
check.jsonに記録する。gateの阻害判定を 「レビュー『高』>0」または「実機チェックにfailがある」に拡張。文書がクリーンでも実機が落ちていれば
loop-back。gate --resetは往復カウンタに加えて前回のcheck.jsonも初期化(feature 跨ぎの誤ブロック防止)。decisions.logのゲート行にchecks_failed=を追記。check未記録なら従来どおりレビューのみで判定。2. dango-run に autoplan(計画一気通し)モード
dango-plan→dango-spec→自己レビュー)を無確認で連鎖し、実装(
Edit)の手前で人間に渡す。checkを非破壊の自動実行側に明記。検証
node bin/validate.mjs→ ✓(7役割)high=0でもsmoke failなら loop-back → 全 pass で continue、3往復で escalate、
check未記録時の後方互換を確認。🤖 Generated with Claude Code