| name | team |
| description | Durable multi-worker orchestration with queueing, claims, inbox, review gates, and tmux-aware lifecycle control. |
Team
Purpose
$team is the durable execution mode. Use it when you need a shared queue, worker leases, review handoffs, and a runtime that survives beyond one reasoning burst.
Team vs Native Fanout
- Use native subagents for small, in-session parallelism.
- Use
$team when the work needs durable state, tmux workers, inbox coordination, resumability, or explicit review gates.
Use When
- the work splits into parallel slices
- one operator needs durable coordination and review history
- tasks need claims, heartbeats, inbox messages, and resumable state
Do Not Use When
- the task is sequential and small
- there is no meaningful slice boundary
- the cost of queueing and review would exceed the value of parallelism
Preconditions
Before launching team mode:
- the current task has a clear objective
- the first slices are identifiable
- the likely file areas are known
- there is a verify path
If those are missing, run $deep-interview, $trace, or $plan first.
Runtime Contract
- initialize with
omx team init
- spawn or attach workers with
omx team spawn <workerId>
- queue work with
omx team queue
- claim with worker ids
- complete into review, never straight to done
- use inbox and logs to monitor real progress
- shut down only after terminal state or explicit abort
Lifecycle
- Launch the runtime and inspect backend health.
- Queue explicit slices, not vague goals.
- Ensure every task claim maps to a real worker id.
- Keep heartbeats and logs current.
- Move completions into review with a concrete handoff note.
- Monitor:
omx team status
omx team inbox
omx team logs <workerId>
omx hud
- Shutdown only when active work is terminal or the user wants an abort.
Degraded Mode
If tmux is missing, the runtime may fall back to mock mode. That is acceptable for state flow and testing, not as proof of real detached-worker behavior.
Rules
- no silent completions
- no review without a readable result note
- no shutdown while work is still active unless aborting
- prefer runtime/state commands over ad-hoc pane hacking