refactor(model-strategy): 実行方針とコンテキスト管理を体系化 - #100
Merged
Merged
Conversation
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.
概要
model-strategyは、必要な品質を満たしながらメインと委譲先の総利用量を抑える実行方針を提供します。モデル・effort の指定、会話の管理、担当の選択、相談と受け入れ、待機、結果報告を一つの手順として定義します。例えば、長い会話の途中でアドバイザーの回答を待つ場合は、判断に必要な範囲をまとめて依頼し、完了通知で再開します。指摘は事実と受け入れ条件で採否を判断し、新しい証拠や重大な未解決点がある場合に再相談します。
関連 Issue
なし。
対象プラグイン
変更の種類
構成と動作
/clearを一律に推奨しない。Orca の起動・待機・完了処理は公式 orchestration の現行ガイドを使用します。通常の相談と、高保証モードの割当監査・独立判定は、それぞれの用途に応じて選びます。
動作確認
quick_validate.py— 成功。shellcheck -S warning plugins/model-strategy/scripts/context-statusline.sh— 成功。bash scripts/verify-versions.sh— 成功。bash scripts/tests/verify-versions-completeness.test.sh— 6件成功。git diff --check— 成功。実エージェントでの相談フローの検証、削減量の計測、インストール済み版への更新は未実施です。指示に基づく運用方針であり、待機ループをランタイムで強制的に遮断する機能ではありません。
チェックリスト