Home

mweinbach / agent-coworker

publicmweinbach/agent-coworker
Overview Code History Branches Pull requestsIssuesInsights
main
HomeOverview Code PRsIssues

Strengthen parent child-agent orchestration guidance (#73)

6 months ago

bd63097
Authored
Max Weinbach4/13/2026, 6:22:45 PM
* feat: strengthen parent child-agent orchestration guidance

Add explicit coordinator rules for spawnAgent and tie plan mode to explorer/worker/reviewer roles so delegation stays predictable. Extend prompt tests to lock the new orchestration and role-mapping guidance.

Made-with: Cursor

* fix: make subagent role defaults dynamic

Render plan-mode role defaults from available subagent definitions instead of hardcoded role names, and update prompt tests to enforce the injected role guidance.

Made-with: Cursor

* fix: import missing prompt role definition type

Add the missing AgentRoleDefinition type import so the prompt role-selection helpers typecheck cleanly.

Made-with: Cursor

Parent9ff222d

4 files changed
  • prompts/system.md+19−6
  • src/prompt.ts+70−0
  • src/server/agents/roles.ts+10−0
  • test/prompt.test.ts+37−0