Orchestrate on OMP
Stay available to the user while substantive work runs behind the scenes. The root coordinator owns the plan, user interaction, approvals, scope, integration, and final verification.
1. Frame
- State the done predicate and the final artifact or decision.
- Split only independent discovery, specialist review, or implementation with clear ownership. Keep tightly coupled work in one session.
- Assign distinct primary ownership and name shared contracts before dispatch. Do not duplicate investigations or serialize a useful batch merely to avoid possible file overlap.
- Keep external side effects and approval decisions with the root.
2. Choose Agents
Use the exact names exposed by the live task tool; its inventory is authoritative. For the current OMP roster:
| Work |
Agent |
Effort when exposed |
| Narrow read-only codebase discovery |
scout |
lo |
| Routine scoped implementation |
Omit agent for the default worker |
med |
| Difficult or ambiguous implementation |
Omit agent for the default worker |
hi |
| Mechanical edits or data collection |
sonic |
lo |
| UI/UX implementation or review |
designer |
med or hi |
| Code-quality verdict |
reviewer |
med or hi |
| Security verdict |
security-reviewer |
hi |
| External library or API research |
librarian |
lo or med |
When the live task schema exposes effort, match it to the assignment: lo for narrow questions, med for routine work, and hi when ambiguity or consequence justifies it. Otherwise rely on the selected agent's configured model role; do not pass an unavailable field.
Honor read-only and blocking markers in the live inventory. Never pass the default worker's name explicitly.
3. Dispatch
- When the live schema exposes
tasks[], put independent participants in one batch so they start together and structure shared context as Goal, Constraints, and Contract. Otherwise start one participant per task call without passing context.
- Give every item a stable CamelCase
name of at most 32 characters, the most specific specialist agent when one fits, and a complete standalone task. Omit agent only for the default worker. Add effort only when the live schema exposes it.
- Structure each assignment as
Target, Change, and Acceptance. Include essential repository state, decisions, restrictions, and dependencies because children start without conversation history.
- Give every writer an exact writable scope. When the live schema exposes
isolated, use isolated: true for concurrent writers that need separate workspaces, then inspect the returned metadata to learn whether changes were applied or retained as artifacts.
- Tell ordinary workers:
Complete this assignment directly. Do not call task or spawn subagents. Allow nested delegation only when the assignment explicitly makes that worker a coordinator.
- Tell workers to skip project-wide formatting, linting, and test suites. The root runs shared validation once after integration.
Large context belongs in a local file referenced with local://<path>, not duplicated across assignments.
Use outputSchema only when the coordinator needs a machine-readable result. Set schemaMode: "strict" when invalid output must fail rather than return with a warning.
4. Coordinate
- Results auto-deliver. Continue handling user messages and independent root work instead of polling continuously.
- Siblings may exchange concise dependency updates through OMP IRC. Name expected dependencies in shared context so communication is purposeful rather than discovery by negotiation.
- Use the live job-control surface only to wait for required work, inspect status, send a bounded correction, or cancel stale work.
- Read complete results from
agent://<id> and use history://<id> when a report is incomplete or suspicious.
- A completed job means the child yielded successfully. It does not mean its artifact is accepted.
5. Integrate
- Drain every required participant or record the cancellation or gap.
- Inspect each claimed artifact and reconcile conflicts against the declared ownership and contracts.
- Run the affected validation and real user path from the root at the integrated head.
- Return one concise result with agent identifiers, accepted findings or changes, verification evidence, and unresolved gaps.
Claim model or backend diversity only when returned metadata proves it.
1---2name: orchestrate-omp3description: Coordinate OMP subagents on substantial work. Use when parallel discovery, specialist review, or clearly partitioned implementation will shorten or strengthen the result; skip trivial tasks.4---56# Orchestrate on OMP78Stay available to the user while substantive work runs behind the scenes. The root coordinator owns the plan, user interaction, approvals, scope, integration, and final verification.910## 1. Frame11121. State the done predicate and the final artifact or decision.132. Split only independent discovery, specialist review, or implementation with clear ownership. Keep tightly coupled work in one session.143. Assign distinct primary ownership and name shared contracts before dispatch. Do not duplicate investigations or serialize a useful batch merely to avoid possible file overlap.154. Keep external side effects and approval decisions with the root.1617## 2. Choose Agents1819Use the exact names exposed by the live `task` tool; its inventory is authoritative. For the current OMP roster:2021| Work | Agent | Effort when exposed |22|---|---|---|23| Narrow read-only codebase discovery | `scout` | `lo` |24| Routine scoped implementation | Omit `agent` for the default worker | `med` |25| Difficult or ambiguous implementation | Omit `agent` for the default worker | `hi` |26| Mechanical edits or data collection | `sonic` | `lo` |27| UI/UX implementation or review | `designer` | `med` or `hi` |28| Code-quality verdict | `reviewer` | `med` or `hi` |29| Security verdict | `security-reviewer` | `hi` |30| External library or API research | `librarian` | `lo` or `med` |3132When the live task schema exposes `effort`, match it to the assignment: `lo` for narrow questions, `med` for routine work, and `hi` when ambiguity or consequence justifies it. Otherwise rely on the selected agent's configured model role; do not pass an unavailable field.3334Honor read-only and blocking markers in the live inventory. Never pass the default worker's name explicitly.3536## 3. Dispatch37381. When the live schema exposes `tasks[]`, put independent participants in one batch so they start together and structure shared `context` as `Goal`, `Constraints`, and `Contract`. Otherwise start one participant per task call without passing `context`.392. Give every item a stable CamelCase `name` of at most 32 characters, the most specific specialist `agent` when one fits, and a complete standalone `task`. Omit `agent` only for the default worker. Add `effort` only when the live schema exposes it.403. Structure each assignment as `Target`, `Change`, and `Acceptance`. Include essential repository state, decisions, restrictions, and dependencies because children start without conversation history.414. Give every writer an exact writable scope. When the live schema exposes `isolated`, use `isolated: true` for concurrent writers that need separate workspaces, then inspect the returned metadata to learn whether changes were applied or retained as artifacts.425. Tell ordinary workers: `Complete this assignment directly. Do not call task or spawn subagents.` Allow nested delegation only when the assignment explicitly makes that worker a coordinator.436. Tell workers to skip project-wide formatting, linting, and test suites. The root runs shared validation once after integration.4445Large context belongs in a local file referenced with `local://<path>`, not duplicated across assignments.4647Use `outputSchema` only when the coordinator needs a machine-readable result. Set `schemaMode: "strict"` when invalid output must fail rather than return with a warning.4849## 4. Coordinate5051- Results auto-deliver. Continue handling user messages and independent root work instead of polling continuously.52- Siblings may exchange concise dependency updates through OMP IRC. Name expected dependencies in shared context so communication is purposeful rather than discovery by negotiation.53- Use the live job-control surface only to wait for required work, inspect status, send a bounded correction, or cancel stale work.54- Read complete results from `agent://<id>` and use `history://<id>` when a report is incomplete or suspicious.55- A completed job means the child yielded successfully. It does not mean its artifact is accepted.5657## 5. Integrate58591. Drain every required participant or record the cancellation or gap.602. Inspect each claimed artifact and reconcile conflicts against the declared ownership and contracts.613. Run the affected validation and real user path from the root at the integrated head.624. Return one concise result with agent identifiers, accepted findings or changes, verification evidence, and unresolved gaps.6364Claim model or backend diversity only when returned metadata proves it.