機能: 実装⇄レビューの往復判定をコード化してフィードバックループを閉じる#11
Merged
Conversation
散文の指示頼みだったゲートを dango-state.mjs に移し、自律的に回るようにする。 - verdict コマンド: レビューの重大度件数を verdict.json に構造化保存 - gate コマンド: verdict と往復回数から continue|loop-back|escalate を コードで判定。3回上限を gate.json のカウンタで強制(モデルは数えない) - dango-review: レビュー後に verdict を吐くステップを追加 - dango-run: 進む/戻るの判断を gate の action= に委ね、開始時に --reset 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.
背景
dango-runのフィードバックループ(計画→実装→レビュー→出荷)は、継続/戻り/エスカレートの判断が SKILL.md の散文頼みで、ハーネスとして閉じていなかった。「3回上限」や「高が残れば戻す」をコードが強制しておらず、モデルの自己申告に依存していた。変更
判定だけをコード側に移し、コードが回し・モデルは演じる構成にした(「スキルがスキルを呼ぶ」思想は維持)。
dango-state.mjs verdict— レビューの重大度件数をverdict.jsonに構造化保存dango-state.mjs gate—verdict.jsonと往復回数からcontinue|loop-back|escalateをコード判定。往復3回上限をgate.jsonのカウンタで強制し、結果をdecisions.logに構造化1行で追記dango-review— レビュー後にverdictを吐くステップを追加(散文の件数で済ませない)dango-run— 進む/戻るをgateのaction=に委ね、feature 開始時に--reset確認
node bin/validate.mjs→ ✓ 7役割verdict.json未生成時はエラーで停止(沈黙して誤判定しない)🤖 Generated with Claude Code