Refactor do:rpr from team-based coordination (TeamCreate/SendMessage/TaskCreate) to
parallel sub-agents (Agent tool only). This makes it universally compatible across all
4 environments (Claude Code, OpenCode, Gemini CLI, Codex) without conditional logic.
Also add a supportsTeams capability flag to src/environments.js for future use by
do:better and other team-heavy commands.
- Remove
TeamCreate,SendMessage,TaskCreate,TaskUpdate,TaskListreferences - Replace step 4 (spawn a team) with parallel
Agentsub-agent calls - Remove "Shut down the team after all work is complete" note
- Keep the small-PR escape hatch ("for small PRs, sub-agents may be overkill")
- Preserve all other behavior (GraphQL escaping, fork detection, copilot loop, thread resolution)
-
claude: supportsTeams: true -
opencode: supportsTeams: false -
gemini: supportsTeams: false -
codex: supportsTeams: false
- Update existing environment tests to cover
supportsTeams(99/99 pass)
- Refactoring
do:better(complex multi-phase team workflow, needs conditional blocks) - Transformer-level
<!-- if:teams -->conditional rendering - Per-environment command variants