From d18e9e58be4f5056a56615a2d2c6bf85d0ea7dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=86gir=20M=C3=A1ni=20Hauksson?= <54936225+sourcehawk@users.noreply.github.com> Date: Sun, 2 Aug 2026 22:33:42 +0200 Subject: [PATCH] chore(profile): bump default investigation/subagent models to opus 5 / sonnet 5 Investigation defaults to claude-opus-5 (was claude-sonnet-4-6) and subagent dispatch defaults to claude-sonnet-5 (was claude-haiku-4-5) when a profile omits models.*, tracking the latest model generation. --- docs/content/profiles.md | 4 ++-- internal/profile/profile.go | 4 ++-- internal/profile/profile_test.go | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/content/profiles.md b/docs/content/profiles.md index 1f2d161..c00a5c5 100644 --- a/docs/content/profiles.md +++ b/docs/content/profiles.md @@ -379,8 +379,8 @@ for specific sub-agent tools (e.g. `draft_pr`'s Sonnet-grade work) remain availa ```yaml models: - investigation: claude-sonnet-4-6 # main agent - subagent: claude-haiku-4-5-20251001 # sub-agent dispatches + investigation: claude-opus-5 # main agent + subagent: claude-sonnet-5 # sub-agent dispatches ``` Both fields are optional; omitted fields fall back to the baked-in defaults shown above. diff --git a/internal/profile/profile.go b/internal/profile/profile.go index bdf58fa..66d2693 100644 --- a/internal/profile/profile.go +++ b/internal/profile/profile.go @@ -256,9 +256,9 @@ func Parse(r io.Reader) (*Profile, error) { // handed to the launcher. func (p *Profile) ApplyDefaults() { if p.Models.Investigation == "" { - p.Models.Investigation = "claude-sonnet-4-6" + p.Models.Investigation = "claude-opus-5" } if p.Models.Subagent == "" { - p.Models.Subagent = "claude-haiku-4-5-20251001" + p.Models.Subagent = "claude-sonnet-5" } } diff --git a/internal/profile/profile_test.go b/internal/profile/profile_test.go index 10e5800..ec4ab83 100644 --- a/internal/profile/profile_test.go +++ b/internal/profile/profile_test.go @@ -907,8 +907,8 @@ func TestProfile_ApplyDefaults_FillsModelsWhenAbsent(t *testing.T) { t.Parallel() p := &profile.Profile{} p.ApplyDefaults() - assert.Equal(t, "claude-sonnet-4-6", p.Models.Investigation) - assert.Equal(t, "claude-haiku-4-5-20251001", p.Models.Subagent) + assert.Equal(t, "claude-opus-5", p.Models.Investigation) + assert.Equal(t, "claude-sonnet-5", p.Models.Subagent) } func TestProfile_ApplyDefaults_PreservesExplicitModels(t *testing.T) {