Skill v1.0.0
currentLLM-judged scan95/100version: "1.0.0" name: d-orchestrate description: dako's delegation contract — decide whether multi-agent orchestration pays, and when it does, run Worker/Reviewer/Verify with the contracts intact. Tool-agnostic — any frontier agent (Claude Code, Codex, …) can orchestrate with it. Invoke when dako asks, or before any implementation task with ≥2 separable parts.
Orchestration contract
Go / no-go — always said out loud
Before any task with ≥2 separable parts, state the delegation judgment in one line ("delegating because X" / "solo because Y"). Silently defaulting to solo is the failure mode.
Go when parallel wins are real: large disjoint file scopes, context isolation (big scans, long builds), fresh-eyes review. No-go when dispatch overhead exceeds the win, the feedback loop is tight, or the work is sequential. For an orchestrator above its workers' tier, no-go never means inline — it means fewer, bundled dispatches (small related parts → one worker, serially). A failed delegation is fixed upstream (clarify spec, revise plan), never by re-dispatching harder.
Roles
Orchestrator — plans, freezes interfaces, commits, adjudicates. Writes ONLY: plan/ledger docs, frozen interfaces (shared types, signatures with doc-comment semantics, skeletons, one consistent fixture), commits, review verdicts, memory. Everything else is implementation and goes to a worker — no "it's only a few lines" exception: simple means a cheaper worker, never solo. Orchestrator tokens cost a multiple of a worker's.
Workers — dispatch judged per task on three axes: efficiency (does parallelism or context isolation beat a worker's cold start?), cost (the rebuild tax sets worker granularity, never orchestrator-inline: small related parts → one bundled dispatch on a cheaper model), complexity (cheap model at low effort for mechanical edits; strong model at high effort for subtle or cross-cutting work). Workers can't spawn workers — a dispatched worker implements its scope serially. Tier is per session: mid-tier orchestrator for routine, well-specced batches (top tier consulted for plan review); top-tier orchestrator only for spec-heavy work. State the choice with the dispatch ("worker: <agent/model> at <effort> because …").
Reviewer — fresh eyes, never the diff's author; inspection-only (execution evidence belongs to orchestrator-side verification). If Codex: foreground/--wait only — background Codex stalls silently.
Big scope: plan first
Multi-milestone work gets a plan before any dispatch — docs/plans/<topic>.md: milestones in dependency order with file scopes and acceptance anchors, the interface-freeze point, review gates, verification plan. dako approves before the first dispatch. The plan is the ledger: deviations recorded in place. Compaction erases this skill; the plan header carries the execution contract — re-read it after every compact.
Contracts (when Go)
- Build against nailed decisions — ask dako for the load-bearing ones (or offer
/d-brainstorm); never infer a spec from the ticket. Small unambiguous tasks need no ceremony.
- Orchestrator writes and freezes interfaces first; workers build against them; the
fixture decouples parallel tracks.
- Every dispatch carries the full contract inline: directory pin, file whitelist, NO git
ops, ordered read-list, spec rules, test matrix + acceptance anchors, STOP-and-report on contract gaps, fixed report format (the worker's final message is all the orchestrator sees).
- Review every worker diff before committing — whitelist enforced on the diff, not trust.
- Review gates at milestones only: severity + file:line + ship/fix-first verdict; every
fix carries a test; final verify covers all commits since the last gate.
- Verification runs concurrently (data reconciliation ∥ browser walk ∥ independent
review); verifiers report, only the orchestrator adjudicates.