Skip to content

feat(claude): Opus advisor, reviewers pinned - #45

Merged
fredericrous merged 3 commits into
mainfrom
feat/opus-advisor
Oct 22, 2026
Merged

fredericrous merged 3 commits into
mainfrom
feat/opus-advisor

Conversation

@fredericrous

Copy link
Copy Markdown
Owner

Part A of the cost plan (canonical plan: relais docs/plans/2026-10-22-cut-model-cost.md).

  • dot_claude/settings.json: "advisorModel": "opus". The session model stays with relais's router (ADR-0001); whenever it picks Sonnet or Haiku, Opus advises.
  • 13 reviewer agents (plan-review-*, implementation-review, interface-review) get model: opus. They had none, so the router could lower them (~25% of reviewer tokens ran on Sonnet/Haiku in October); a front-matter model is a router pin (relais docs/router-protocol.md:61).

Verification

  • Probe through the local proxy: claude -p --model sonnet --advisor opus ran the advisor (transcript line 29, server_tool_use advisor; Opus 26k input tokens, $0.116 per consult, uncached). Haiku main + Opus advisor: $0.115.
  • grep -L '^model:' dot_claude/agents/*.md → empty.

Deviation

No full chezmoi apply after merge: the live ~/.claude/settings.json holds keys the source lacks (apiKeyHelper, ANTHROPIC_BASE_URL, hooks, relais paths). Only the 13 agent targets are applied, and the same advisorModel line goes into the live file by hand. holds-until: the live-only keys are reconciled into the source.

Implementation review: approve-with-changes, both findings recorded here.

🤖 Generated with Claude Code

fredericrous and others added 3 commits October 22, 2026 20:46
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The session router (relais ADR-0001) keeps choosing the session
model; advisorModel opus backs every Sonnet or Haiku choice. The
13 reviewer agents had no model: and the router could lower them,
so each is pinned to opus.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@fredericrous
fredericrous merged commit f144787 into main Oct 22, 2026
2 checks passed
@fredericrous
fredericrous deleted the feat/opus-advisor branch October 22, 2026 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant