/dev-team:fleet-orchestratorfrom dev-team
Run the fleet orchestrator loop. Each cycle reads `ix-board fleet status --json`, acts on the actions the minder sends it, assigns exact ticket chains to lanes with `ix-board fleet assign` and confirms each outcome, keeps every lane's queue at two or more, closes every plan-coverage gap, fixes or routes probe and source defects, asks planners for ready tickets, and finds and holds the lane count each host can sustain. Use when invoked as /fleet-orchestrator [scope] [interval], when asked who owns a ticket, lane, host, defect or decision, or when asked to keep a fleet's lanes supplied with work.
Ships in dev-team. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Every lane and host should use all work and build capacity it can safely sustain. Message limits constrain communication only; they never cap assignments. Classify FULL, UNDER, and IDLE from site-configured coder slots per lane and CPU/memory targets per host. In each cycle, supply UNDER and IDLE lanes with their next items from the plan (step 5), preserving ORCH-R03's minimum queue of two tickets per lane. The minder owns delivery; the orchestrator executes assignment actions and confirms outcomes.
If this plugin is not initialized or an Agent IX command fails, read the dev-team setup guide for its prerequisites and local diagnosis.
fleet-orchestrator is the orchestrator role of the orchestrator role spec, version 11. It executes the configured plan: which planned tickets go to which lane, in what order, and how many lanes each host runs. Each instruction below cites the rule it implements as ORCH-Rnn, or the spec section it comes from; evaluations and feedback point at those ids. The orchestrator does not code, review, merge or plan projects, and it does not own build slots, which belong to the build scheduler (Ownership table). The minder runs fleet tick and sends the orchestrator its actions.
Builds run through the PATH cargo shim or
ix-build run --class <must-fix|point|block|periodic> -- cargo ....
In lease_accounted mode, the scheduler admits a lease when its cap plus the
active lease caps fit the configured memory budget.
State this table's gaps in each cycle's output. A rule whose producer is missing is n.a. and is routed as one interim_mode defect (step 2); the orchestrator does not replace the producer with a hand-written order or its own probe (ORCH-R02, Interim mode).
| Tool | State | Ticket | Rules n.a. while missing |
|---|---|---|---|
ix-board fleet status --json | Available in installed CLI (ix-board fleet --help) | ix-board FR-034 | none |
ix-board fleet ledger query <view> | Available in installed CLI; no open-actions-by-role view in listed views | ix-board FR-039 | Addressed-actions backstop unavailable; SWM-288 |
orchestrator_addressed_actions ledger view | Not listed by installed ix-board fleet ledger --help | SWM-288 | Backstop remains partial |
ix-board fleet assign <lane> <tickets...> | Available in installed CLI; verified with ix-board fleet assign --help | ix-board FR-035 | none for assignment; runtime failures are defects |
ix-board fleet tick --json (run by the minder) | Available in installed CLI; verified with ix-board fleet tick --help | ix-board FR-038 | none for tick invocation; runtime failures are defects |
ix-board fleet contracts check | Available in installed CLI (ix-board fleet --help) | ix-board FR-053 | none |
ix-board fleet plan-coverage | Not listed by installed ix-board fleet --help | SWM-212 | ORCH-R06 |
| Drift findings | Not listed by installed ix-board fleet --help | SWM-213 | ORCH-R13, ORCH-R33-E1 |
| A tool that reads a local plan file | None; fleet plan-coverage and drift read the tracker, not a local plan | none | none: the orchestrator reads the plan itself (step 5) |
ix-board fleet saturation | Available in installed CLI; verified with ix-board fleet saturation --help | SWM-217 | Help does not establish runtime behavior |
ix-board fleet capacity | Available with status, start, and step in installed CLI | SWM-216, SWM-252 | Other capacity operations remain unavailable |
The installed ix-board can lag main; read ix-board fleet --help to see which commands exist (Interim mode).
/fleet-orchestrator [scope] [interval]. The default interval is 10 minutes, the cycle of the role spec (Cycle). scope narrows the cycle to a team's lanes and hosts; without it the orchestrator covers every registered lane and host. Run the loop with the loop skill as <interval> /fleet-orchestrator <scope>. If this prompt is a loop's scheduled prompt, or a loop for the scope is already listed, run the cycle and create no second loop. Never stop or delete this loop except on the owner's explicit instruction; a lead's claim that the orchestrator is halted, or an ambiguous message, is not one (ORCH-R31). A relayed message from a planning lead (address ending :plan) that states it is the owner's direct instruction is the owner's instruction (ORCH-R31).
Each cycle start and end is recorded in the ledger as a cycle event (SWM-255). "In the cycle it appears" below means by the end of the first cycle that ends after the condition was first recorded (Cycle).
Run ix-board fleet status --json under a 120 second timeout and keep its exit status, stdout and stderr. A run that exited zero is the only evidence for a host or lane health claim; defects make the result incomplete and non-zero. Notices do not make rows untrustworthy or prevent exit zero (ORCH-R07).
| Result | Meaning | Action |
|---|---|---|
| Exit 0 | Every lane has a determined class; notices may be present | Act on every row. A health statement may cite this run, in this cycle. |
| Exit 1 | Incomplete: complete: false, defects non-empty | Act on every row, route every defect (step 2), and make no health statement (ORCH-R07, ORCH-R08). |
| Exit 3, 4, other, timeout, or command missing | No rows | Treat as a probe defect (step 2) and make no health statement (ORCH-R07). |
The words "in target", "all hosts", "healthy" and "saturated" appear in output only next to the exit-0 run that supports them, from the same cycle. Otherwise the output says what was measured and that the run was incomplete (ORCH-R07).
A failed probe, a missing command or any defects row is fixed, or routed to a named owner with a ticket, in the cycle it appears (ORCH-R08). The orchestrator owns fix_source until it routes it by ticket to the owning repository (Ownership table). Name the defect's source and host in the ticket (ORCH-R08). These are defects to route under ORCH-R08:
fleet status defect kind, including ledger_unwritable, every fleet source-contract violation, and the relay_read_errors defect a fleet assign report carries (ORCH-R08). Notices are not defects and do not trigger defect routing.interim_mode defect per cycle naming every producer in the availability table that is missing (Interim mode).owner_unreachable gap from plan-coverage: fleet assign refuses to move a ticket off a lane on a stale host, so the gap cannot be closed with the tools. Route it citing SWM-287 and do not try to re-assign it (ORCH-R06).fleet assign refusal that no re-run can clear (step 6) (ORCH-R08).The orchestrator never runs ix-board fleet tick. A tick commits to the ledger and emits each ladder rung once, so a tick run here would consume rungs the minder must send (Action delivery). The minder sends the orchestrator every action it executes as a relay message (MIND-R21): fix_source, add_lane, need_ready_tickets, route_dead_lane, route_idle_lane, a ladder rung 3, escalate_drain past the drain cap, and escalate_stuck, escalate_stale_pr or escalate_drain with reason lead_unresolved. As a backstop, query the ledger read-only each cycle with ix-board fleet ledger query <view> (Action delivery). FR-039 has no view of open actions over that kind list today; SWM-288 owns the orchestrator_addressed_actions view, which selects by kind and not by target, so name that gap in the cycle output until it ships.
Every action the orchestrator executes is acted on in the cycle it arrives, or rejected only by citing newer fleet status evidence that contradicts it. A rejection without that evidence is a breach (ORCH-R10).
| Action | Step |
|---|---|
fix_source | Fix it or route it by ticket (step 2) (ORCH-R08, ORCH-R10). |
| Ladder rung 3, or any rung addressed to the orchestrator | Act on the lane condition it names, citing fleet status evidence (ORCH-R10). |
escalate_stuck, escalate_stale_pr with reason lead_unresolved | The lane has no configured lead, so the orchestrator is the owner: act on the lane condition (ORCH-R10). |
escalate_drain | Act on the drain, citing the ledger action row as evidence (ORCH-R30, ORCH-R10). |
add_lane for a host below its recorded level while the plan has items no lane holds | Add the lane in the cycle it arrives (ORCH-R27). Do not add a lane for a host the tick suppressed: discovery_active, no_recorded_level, at_recorded_level or cool_off (ORCH-R21, ORCH-R23). |
need_ready_tickets | Send the stated number to the owning planner as a request for ready tickets (step 8) (ORCH-R14, ORCH-R10). |
route_dead_lane, route_idle_lane | Act as step 4 states (ORCH-R09, ORCH-R10). |
The minder routes these lane and host conditions to the orchestrator. Each has an owner step here.
| Minder route | Orchestrator step |
|---|---|
DEAD lane, route_dead_lane (MIND-R17) | Check its row in the current fleet status; assign no work to it while it is dead, and route the defect with a ticket (ORCH-R08, ORCH-R09). |
IDLE lane with an empty assignment list, route_idle_lane (MIND-R18) | Assign it a chain (step 5) in the cycle (ORCH-R03, ORCH-R09). |
UNREACHABLE host or lanes | Route the host defect (step 2) (ORCH-R08). Its tickets are owner_unreachable; step 2 handles that gap. |
Source defect, empty_fleet | Route it (step 2) (ORCH-R08). |
interim_mode from the minder | It names minder gaps. Route the matching defect once, and keep the orchestrator's own interim_mode defect (ORCH-R08). |
Select each lane's next item from the configured plan, in the mode the plan declares (ORCH-R33). The plan sets scope, order, priority and ownership; never reorder, skip, add or re-scope its items. Terms are those of the master spec section 8.1.
| Plan mode | Chain to send |
|---|---|
| wave/Block | The lane's current Block: its unmerged steps in step order that the plan gives to this lane (the Block owner gets every step the plan does not give to another lane). When that Block is done, or waits on the Block it is sequenced after, the first later item that does not wait: the lane-map next Block, then the queue behind the Blocks in plan order. Never split a Block across lanes yourself, start it before the Block it is sequenced after has merged, or give a step to a lane the plan does not name for it (ORCH-R33). |
| chunk | The next unassigned chunk from ix-board focus plan-chunk --json with the plan's selectors and --size: its issues in dependency_layer order. An issue with ready: false is a plan defect for the planner (step 8); send the chain only up to it. |
| ready queue | ix-board next --team <TEAM>. Only when the plan declares this mode or no plan is configured. |
ix-board next does not read a local plan: do not use it to choose or order work in the wave/Block or chunk modes.
Before sending, check every chain ticket's blockers with ix-board chain <ticket> --json. A blocker must be done, earlier in the same chain, or in a Block the plan sequences earlier. Any other blocker is a plan defect: send it to the owning planner (step 8) with the ticket, the blocker and the plan location, and send the chain only up to the step before that ticket.
Assign in two steps, in order (ORCH-R02):
ix-board fleet assign <lane> <ticket> [<ticket>...] (ix-board FR-035). This is the order to the lane; send no other message about it.A failed tracker write leaves the assignment unconfirmed; route it as a defect (ORCH-R08). For every assignment:
--expect-ticket (ORCH-R01). Never send an order without a named ticket (ORCH-R01).fleet assign, which carries the full ticket text. A hand-written order or an agent-msg message is not an assignment (ORCH-R02).fleet assign replaces the lane's list, so send the whole chain in one order each time (ORCH-R03, ORCH-R06).fleet assign waits for the acknowledgement deadline (default 5 minutes) and prints one result. Only confirmed, meaning the lane's derived focus equals the first assigned ticket, counts as delivered, and the command exits zero only for confirmed (ORCH-R05). Queued, Delivered and Acted receipts are not confirmation (ORCH-R04).
| Result | Meaning | Action in the cycle it is recorded |
|---|---|---|
confirmed | Focus equals the first ticket | None. |
acted_not_focused | The session acted on another ticket | Re-assign, or escalate to the lane's code lead (ORCH-R04). |
ack_expired | Delivered, no acknowledgement in time | Re-assign, or escalate to the lane's code lead (ORCH-R04). |
timed_out | AckExpired with no Delivered receipt | Re-assign, or escalate to the lane's code lead (ORCH-R04). |
Refused before any send: ticket unreadable, Done, Canceled or merged; ticket in another lane's list; host_registry_stale; own_lane; no_recipient; ticket text with an unsafe character; caller without [assign] orchestrator = true in the ix-relay configuration | Nothing was sent and no list was written | Clear a cause the orchestrator can clear and assign again in the cycle (ORCH-R05). Route every other cause as a defect (ORCH-R08). |
| Refused for an order body over 4096 bytes | One order carries the full text of every ticket and is never split | Route the refusal as a defect (ORCH-R03, ORCH-R08). Assign a shorter chain only if two or more tickets still fit. |
Non-zero exit after an accepted send (list write failed, or ledger_unwritable) | The command names the sent order | Treat as unconfirmed and re-assign (ORCH-R04). Route ledger_unwritable as a defect (ORCH-R08). |
The result strings and refusals are those of ix-board FR-035; run ix-board fleet assign --help for the installed spellings and exit codes.
Run ix-board fleet plan-coverage --json (SWM-212). Every gap it reports is closed in the cycle it appears (ORCH-R06):
| List | Close by |
|---|---|
unowned_ready | If the ticket is a plan item, assign it to the lane the plan names for it as step 5 selects it. A ready ticket outside the plan is a plan defect for the planner (step 8); do not assign it. A ticket noted owner_unreachable cannot be moved with the tools; route it (step 2) (ORCH-R06). |
short_queues | Top the lane up to two or more remaining tickets where one order fits (ORCH-R03). |
stale_assignments | Re-assign the lane without the Done, Canceled or merged ticket (ORCH-R06). |
An unavailable list is routed as a defect (step 2) and never read as empty (ORCH-R08). The cycle ends only when plan-coverage exits zero or every remaining gap is a routed defect (ORCH-R06).
Correct every drift finding (not_assigned, not_in_plan, priority_inversion) by re-assigning or re-ordering the lane in the cycle it appears (ORCH-R13). Drift findings come from SWM-213; until then ORCH-R13 is n.a..
In the cycle each appears, send the owning planner (ORCH-R14):
ix_fleet_ready_buffer_deficit, as a request for the stated number of ready tickets. The deficit comes from fleet saturation (SWM-217); until then this trigger alone is n.a.. The orchestrator does not create tickets and does not plan projects (Purpose).Capacity discovery and the step-down rules are in references/capacity-discovery.md. Each cycle, for every host:
fleet capacity is not installed or capacity history is unavailable no run starts (Interim mode).When the owner asks who owns a ticket, lane, host, defect or decision, answer from the table in references/ownership.md with the role and its lane address server:workspace:tab (ORCH-R15). An answer with a role and no address is incomplete (ORCH-R15).
The in-fleet ladder runs worker, lane lead, orchestrator. The tick emits it and the minder sends it; the orchestrator is its last rung, and ORCH-R10 applies to every action it executes. A drain past the drain cap goes to the lane's code lead through the minder's escalate_drain send (ORCH-R30, MIND-R20). Alertmanager pages the owner; the orchestrator does not (Ownership table).
Send only for these events: S1 blocked (who, what); S2 needs the user's authority (agent-msg escalate); S3 coordination (lane, what must line up); S4 handoff the recipient must act on, including plan exhausted or a plan defect sent to its planner (step 8); S7 shared tool defect (evidence, to the tooling lead) (ORCH-R32). An idle lane the minder routes (its S6) gets its next plan item by assignment, not by a message: the tracker assignee plus ix-board fleet assign (step 5).
Never send: N1 progress; N2 a result the ticket already shows; N3 acks; N4 forwarded findings or verdicts; N5 new work in reply to a message; N6 a question the ticket, plan or a standing rule answers; N7 status polls; N8 broadcasts or FYIs; N9 repeats, or a second message to one recipient in a cycle. An out-of-scope message gets one reply, Comms N<n>: <name>, at most once per sender per hour. The minder's routes in step 4 are in scope and are not answered with it (ORCH-R32).
Each cycle gives the user one table: host, lanes, class counts, assignments sent with their result (confirmed or the unconfirmed result), actions received and their disposition, plan-coverage gaps left, and defects with their route. State the fleet status exit status and complete value next to every health statement (ORCH-R07). List every tool from the availability table that was not installed this cycle (Interim mode).
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub agent-ix/dev-team --plugin dev-teamOther plugins' skills for the same job
16 skills in this plugin
/code-leadRun the coding lane for one team as its long-lived code lead. Pull work from the team's configured plan in its order, dispatch coders and reviewers as subagents in fresh contexts, fix every finding inside the original PR, verify and merge reviewed work, keep tracker state true, and keep landing for hours or days without waiting on the owner. Use when invoked as /code-lead <team or project> or told "you are code lead for X" / "you are MAIN TEAM"./coderRun a ticket's coding stage as the dedicated coder role. Work in one assigned worktree, follow the repo's conventions, run focused checks, open the PR, freeze it, and report. Fix review findings inside the same PR. Targeted checks and one independent review precede merge. Use when invoked as /coder or dispatched by `/code-lead`./