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) {