Orchestrate
Coordinate parallel work in a Codex-native way.
Boundary
Codex Copilot does not auto-spawn workers unless the user explicitly asks for delegation or parallel execution.
Workflow
- Use
tato create a PRD, task breakdown, streams, dependencies, and file ownership. - Validate stream dependencies and file overlap with
scripts/orchestrate-validate.pybefore any parallel work begins. - Use git worktrees only after confirming the branch/worktree plan with the user.
- Spawn Codex subagents only when explicitly requested.
- Keep write scopes disjoint and route each implementation stream through
qa. - Treat merge, cleanup, and removal operations as separate actions requiring explicit current approval when destructive.
- For a user-requested cost-capped non-interactive worker, pass
--max-budget-usdthroughtc worker; do not imply that stored metadata enforces a cap unless the installedtccontract says so.
Stream Metadata
Each stream should declare:
{
"streamId": "Stream-A",
"streamName": "Foundation",
"files": ["src/example.ts"],
"streamDependencies": [],
"streamPaths": ["src/example/**"],
"streamTokenBudget": 2500
}
Launch Template
When the user explicitly approves delegation, spawn each stream with:
- specialist role and skill
- task id and stream id
- owned files or path globs
- forbidden paths
- expected work product and QA route
Output
- stream plan
- dependency graph
- file ownership map
- launch instructions or local execution plan