Repository navigation
feat(agents): start Herdr Claude lanes on Sonnet at medium effort - #257
Merged
Merged
Conversation
Lanes now run on Sonnet at medium effort to save usage. Allow exactly `-- --model sonnet --effort medium` after `herdr agent start --kind claude`; any other agent argument still asks. Co-Authored-By: Claude Opus 5.5 <[email protected]>
1 of 3 tasks
furedea
added a commit
that referenced
this pull request
Oct 21, 2026
## 概要 - レビュー役の Codex を gpt-6.1-sol・xhigh に固定する. - レビューのプラグインは呼び出しごとに effort を指定できないので,Codex の既定(`agents/codex/config.toml`)を変える.Codex を直接使うときの既定も同じになる(ユーザー承認済み). | 項目 | 変更前 | 変更後 | |---|---|---| | `model` | `gpt-6-astra` | `gpt-6.1-sol` | | `model_reasoning_effort` | `max` | `xhigh` | ## 受け入れ条件 - [x] 2 行だけの変更で,ほかの設定は変えていない - [ ] CI が通る - [ ] `switch` 後の Codex レビューが gpt-6.1-sol・xhigh で動く <details> <summary>補足</summary> - モデル名 `gpt-6.1-sol` は,手元の Codex のモデル一覧で確かめた. - レーンを Sonnet・medium にする #257 と合わせて,使用量を減らすための変更. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
2 of 4 tasks
furedea
added a commit
that referenced
this pull request
Oct 21, 2026
## 概要 - #257 で `-- --model sonnet --effort medium` を許可ルールに足したが,禁止ルール(`--` のあとの引数をすべて禁止)が先に効き,レーンを Sonnet で起動できなかった. - 禁止ルールに「狭い例外」を持たせる仕組みを足し,Claude のレーンで `-- --model sonnet --effort medium` ちょうどの形だけを例外にする. | 項目 | 変更前 | 変更後 | |---|---|---| | `-- --model sonnet --effort medium`(Claude) | 禁止 | 許可 | | ほかの引数,順番違い,effort 違い,余分な引数,Codex への同じ引数 | 禁止 | 禁止のまま | | 禁止ルールの書式 | `patterns` だけ | `patterns` と任意の `exceptions` | ## 受け入れ条件 - [x] 例外の形だけが禁止を抜け,近い形(順番違い,`--effort high`,`--settings` 付き,Codex)は禁止のまま - [x] `tests/agents` が全件通る(1781 件) - [ ] CI が通る - [ ] `switch` 後に `herdr agent start <name> --kind claude --pane <id> -- --model sonnet --effort medium` が通る <details> <summary>補足</summary> - #257 のテストは許可ルールだけを見ていて,禁止ルールとの組み合わせを確かめていなかった.今回は禁止ルールの側にもテストを足した. </details> 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
3 of 4 tasks
furedea
added a commit
that referenced
this pull request
Nov 20, 2026
agent-config を v0.3.1 に更新する.`flake.lock` の `agent-config` だけを変える. | 入力 | 変更前 | 変更後 | | ------------ | ------------------- | ------------------- | | agent-config | `2514f2d`(v0.3.0) | `3dfa0ad`(v0.3.1) | v0.3.1 の主な変更:`gh` の確認の削減(#254,#256,#262),#196 の Jev 規則の修正(#257〜#260). - [x] `3dfa0ad` が v0.3.1 タグのコミットであることを確認 - [x] `nix flake check --no-build` が通る - [x] `darwinConfigurations.mba.system` をローカルで build - [ ] CI 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-authored-by: furedea <[email protected]> Co-authored-by: Claude Opus 5.5 <[email protected]>
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.
概要
herdr agent start ... --kind claudeのあとに-- --model sonnet --effort mediumだけを確認なしで許可し,それ以外の引数は今までどおり確認にする.sonnetは最新の Sonnet 5.5)--のあとの引数--model sonnet --effort mediumちょうどだけ許可.--dangerously-skip-permissionsなどほかは確認受け入れ条件
-- --model sonnet --effort medium付きの起動が許可され,その後のagent promptも許可されるtests/agentsが全件通る(1776 件)switch後に起動したレーンが Sonnet・medium で動く補足
/modelで切り替えられるが,会話の履歴を新しいモデルで読み直すため,作業の終わりかけのレーンでは切り替えない.🤖 Generated with Claude Code