Skip to content

Comments

Map subagent tools to spawn_agent for Codex collab support#5

Draft
Copilot wants to merge 2 commits intomainfrom
copilot/refactor-commit-e1080d
Draft

Map subagent tools to spawn_agent for Codex collab support#5
Copilot wants to merge 2 commits intomainfrom
copilot/refactor-commit-e1080d

Conversation

Copy link

Copilot AI commented Jan 26, 2026

Updates Codex tool mapping to support subagent workflows via spawn_agent + wait when collaboration mode is enabled, with sequential fallback when disabled.

Changes

.codex/superpowers-bootstrap.md

  • Updated Task tool mapping: now uses spawn_agent + wait (collab) or sequential execution (non-collab), replacing previous "subagents aren't available" message
  • Added Subagent / Agent tool mapping: directs to spawn_agent (collab) or sequential fallback
- `Task` tool with subagents → Tell the user that subagents aren't available in Codex yet and you'll do the work the subagent would do
+ `Task` tool with subagents → Use Codex collab `spawn_agent` + `wait` when available; if collab is disabled, state that and proceed sequentially
+ `Subagent` / `Agent` tool mentions → Map to `spawn_agent` (collab) or sequential fallback when collab is disabled

Ref: obra@e1080d1

Original prompt

Reference: obra@e1080d1


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: paseka10jaroslav-coder <252813980+paseka10jaroslav-coder@users.noreply.github.com>
Copilot AI changed the title [WIP] Refactor code based on commit e1080d19 Map subagent tools to spawn_agent for Codex collab support Jan 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants