Repository navigation
XCL-197 Manager が、ワーカーの役割ごとにエージェントとモデルを指定して起動する - #9
Merged
Merged
Conversation
…dels # Conflicts: # README.md # skills/manager/SKILL.md
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.
概要
ワーカーはどの役割も同じエージェントとモデルで起動していた。調査や設計には強いモデルを、定型の作業には軽いモデルを使えるように、役割ごとの既定値を manager スキルに置き、使う側の
AGENTS.mdで上書きできるようにする。変更内容
skills/manager/SKILL.md: 「ワーカーのエージェントとモデル」の節を足す。Researcher・Designer・Reviewer はclaude/claude-opus-5-5、Developer・Tester はclaude/claude-sonnet-5-5AGENTS.mdのワーカー: <役割>の行で役割ごとに上書きし、行のない役割は既定値を使う。Researcher だけを上書きした例を載せるworker-startの例 (調査担当・Developer) を--agent <役割のエージェント> --model <役割のモデル>にする。--modelが使えない Orca やエージェントでは、付けずに起動して人に伝えるtemplates/AGENTS.section.md: 上書きの書き方の例をコメントで足すREADME.md、docs/SETUP.md: 上の 2 つへの案内受け入れ条件
skills/manager/SKILL.mdに、役割 (Designer・Developer・Reviewer・Tester・Researcher) ごとのエージェントとモデルの既定値の表があるAGENTS.mdの「Orca での運用」の表で、役割ごとに上書きできる。書いていない役割は既定値を使うworker-startの例が、その値を使う (orca orchestration worker-startのモデルの渡し方を、orca skills get orchestrationと--helpで確かめて書く)templates/AGENTS.section.mdに、上書きの書き方の例がある動作確認
orca orchestration worker-start --help(Orca 1.4.281) で--model <id>と--effort <level>があること、--effortは--modelが要ること、--modelに対応しないエージェントがあることを確かめたnode --test 'scripts/ci/*.test.mjs' 'ops/linear-janitor/*.test.mjs' 'ops/manager-precheck/*.test.mjs'(main を取り込んだ後): 104 件すべて通過actionlint(Docker のrhysd/actionlint:1.7.12): 指摘なしリスクの確認
.env*、キー、トークン) を含めていない人が確認すること
補足
--modelは人が指定したときだけ」とあるので、manager スキルの表とAGENTS.mdの値を人の指定として扱うと書いた。--modelは provider の model id で、別名 (opusなど) が通る保証がないため、既定値は完全な ID にした。モデルの版が上がったら、表を直す。