Skip to content

feat(mcp): implement taskmaestro dispatch strategy in AgentService#722

Merged
JeremyDev87 merged 4 commits intomasterfrom
feat/taskmaestro-dispatch-strategy-709
Mar 20, 2026
Merged

feat(mcp): implement taskmaestro dispatch strategy in AgentService#722
JeremyDev87 merged 4 commits intomasterfrom
feat/taskmaestro-dispatch-strategy-709

Conversation

@JeremyDev87
Copy link
Owner

Summary

  • Add taskmaestro execution strategy branch in dispatchAgents() method
  • When executionStrategy === 'taskmaestro', return TaskmaestroDispatch with session name, pane count, and per-agent assignments
  • Build agent prompts with task description and target files context
  • Add buildTaskmaestroPrompt() and buildTaskmaestroHint() helper methods
  • Set executionStrategy: 'subagent' on existing subagent return path

Test plan

  • 6 new tests: taskmaestro field, no parallelAgents, prompt content, hint panes, sessionName by mode, subagent fallback
  • All 4828 existing tests pass
  • Full CI: lint, format, typecheck, test:coverage, circular, build — all pass

Closes #709

@vercel
Copy link

vercel bot commented Mar 19, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Mar 20, 2026 8:55am

- Add TaskmaestroAssignment and TaskmaestroDispatch interfaces
- Extend DispatchAgentsInput with executionStrategy field
- Extend DispatchResult with taskmaestro and executionStrategy fields
- Extend ParseModeResult with availableStrategies and taskmaestroInstallHint
- Add type tests for new interfaces

Closes #706
…tegies

- Add taskmaestro-detector.ts utility with isTaskmaestroAvailable()
- Wire detection into buildParseModeResult() as step 10
- Populate availableStrategies and taskmaestroInstallHint in ParseModeResult
- Add 2 tests for skill present/absent scenarios

Closes #707
- Add executionStrategy enum ('subagent' | 'taskmaestro') to inputSchema
- Extract and default to 'subagent' in handleDispatchAgents handler
- Add 3 tests for subagent, taskmaestro, and default scenarios

Closes #708
- Add taskmaestro branch in dispatchAgents() for executionStrategy === 'taskmaestro'
- Build per-agent prompts with task description and target files context
- Return TaskmaestroDispatch with sessionName, paneCount, and assignments
- Add buildTaskmaestroPrompt and buildTaskmaestroHint helper methods
- Set executionStrategy: 'subagent' on existing return path
- Add 6 tests covering all taskmaestro dispatch scenarios

Closes #709
@JeremyDev87 JeremyDev87 force-pushed the feat/taskmaestro-dispatch-strategy-709 branch from c650799 to 7675ec2 Compare March 20, 2026 08:53
@JeremyDev87 JeremyDev87 self-assigned this Mar 20, 2026
@JeremyDev87 JeremyDev87 merged commit 643a8f7 into master Mar 20, 2026
25 checks passed
@JeremyDev87 JeremyDev87 deleted the feat/taskmaestro-dispatch-strategy-709 branch March 20, 2026 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): implement taskmaestro dispatch strategy in AgentService

1 participant