Skip to content

feat(mcp): model TaskMaestro and Teams as composable execution layers (#1309)#1319

Merged
JeremyDev87 merged 2 commits into
masterfrom
taskmaestro/1775299117/pane-1
Apr 4, 2026
Merged

feat(mcp): model TaskMaestro and Teams as composable execution layers (#1309)#1319
JeremyDev87 merged 2 commits into
masterfrom
taskmaestro/1775299117/pane-1

Conversation

@JeremyDev87

Copy link
Copy Markdown
Owner

Summary

  • Introduce ExecutionPlan with outerExecution and optional innerCoordination layers
  • Add 'taskmaestro+teams' composable strategy: TaskMaestro as outer transport, Teams as inner coordination
  • Add execution-plan.ts with builder functions (buildSimplePlan, buildNestedPlan) and serializeExecutionPlan for handler consumption
  • All existing strategies (subagent, taskmaestro, teams) now populate executionPlan in DispatchResult
  • Full backward compatibility: existing API unchanged

Test plan

  • Type check passes (tsc --noEmit)
  • All 5934 existing tests pass (237 files)
  • New execution-plan unit tests: layer factories, simple/nested plans, serialization
  • New agent.types tests: ExecutionLayer union, ExecutionPlan, composable strategy
  • New agent.service tests: taskmaestro+teams dispatch, executionPlan in all strategies, backward compat
  • Handler enum updated and tested

Closes #1309

…#1309)

Introduce layered execution model: ExecutionPlan with outerExecution and
optional innerCoordination. Add 'taskmaestro+teams' composable strategy
where TaskMaestro manages tmux panes (outer) and Teams coordinates within
panes (inner). Backward compatible — existing subagent/taskmaestro/teams
strategies unchanged.
@JeremyDev87 JeremyDev87 added feat mcp-server apps/mcp-server labels Apr 4, 2026
@vercel

vercel Bot commented Apr 4, 2026

Copy link
Copy Markdown

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

Project Deployment Actions Updated (UTC)
codingbuddy-landing Ready Ready Preview, Comment Apr 4, 2026 10:55am

@JeremyDev87 JeremyDev87 left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review: ✅ APPROVE

CI Status: ALL PASS (after lint fix)

Code Quality:

  • ExecutionPlan type: Clean outerExecution + optional innerCoordination model
  • taskmaestro+teams strategy: New composable strategy alongside existing single strategies
  • Backward compatible: subagent/taskmaestro/teams still work as before, now with executionPlan populated
  • agent.service.ts: Dispatch logic handles nested plan construction
  • execution-plan.ts: New module with types and builder
  • Tests: ~180 lines covering composable strategy, all single strategies, backward compat, failed agents

Architecture:

  • Outer/inner layer separation is clean
  • executionPlan is optional on dispatch result — existing clients unaffected
  • Composable hint text guides clients on nested behavior

Checklist:

  • CI ALL PASS
  • Backward compatible
  • No any types
  • Comprehensive test coverage

✅ Composable execution model established.

@JeremyDev87 JeremyDev87 merged commit 3088596 into master Apr 4, 2026
26 checks passed
@JeremyDev87 JeremyDev87 deleted the taskmaestro/1775299117/pane-1 branch April 4, 2026 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

feat mcp-server apps/mcp-server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(mcp): model TaskMaestro and Teams as composable execution layers

1 participant