Skip to content

fix(agent): match muse-wonder models and scope muse rules to leaves - #1557

Merged
TheGreatAxios merged 1 commit into
mainfrom
cl-11325-match-muse-wonder-models-in-muse-familyeffort-routing-and
Oct 23, 2026
Merged

TheGreatAxios merged 1 commit into
mainfrom
cl-11325-match-muse-wonder-models-in-muse-familyeffort-routing-and

Conversation

@TheGreatAxios

@TheGreatAxios TheGreatAxios commented Oct 23, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • Broaden the Muse model matcher in src/subagent/provider-family.ts and src/provider/reasoning-effort.ts from /^muse-spark/i to /^muse-/i so muse-wonder-1.0 resolves to the muse family, supports minimal through high efforts (rejecting none), and defaults to "low" effort
  • Scope MUSE_POLICY.toolDisciplineRules to leaf workers (!orchestrator) in resolveModelFamilyPolicy (src/agent/model-family-policy.ts) and pass orchestrator: true in createChatDirector (src/agent/director.ts) so the primary coordinator omits leaf worker rules

Verification

  • bun run typecheck, bun run build, and bun run test pass
  • Unit tests in src/subagent/provider-family.test.ts, src/provider/reasoning-effort.test.ts, src/agent/model-family-policy.test.ts, and src/agent/director.test.ts verify muse-wonder-1.0 routing and the orchestrator carve-out

Fixes CL-11325

@linear-code

linear-code Bot commented Oct 23, 2026

Copy link
Copy Markdown

CL-11325

@corbits-triage

corbits-triage Bot commented Oct 23, 2026 •

Copy link
Copy Markdown
Contributor

Triage: Pass

No changes needed from you. A maintainer will review this pull request.

@TheGreatAxios
TheGreatAxios force-pushed the cl-11325-match-muse-wonder-models-in-muse-familyeffort-routing-and branch from 33bbd6e to cb36b4d Compare October 23, 2026 16:45
@TheGreatAxios
TheGreatAxios merged commit 25fa0e3 into main Oct 23, 2026
14 checks passed
@TheGreatAxios
TheGreatAxios deleted the cl-11325-match-muse-wonder-models-in-muse-familyeffort-routing-and branch October 23, 2026 19:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant