Files
relayview-skills/packages/coordinator-dispatch/wave-selection.md
T
adminandClaude Opus 5.5 9f7ccba6a4
Check instruction packages / check (push) Successful in 5s
Check instruction packages / check (pull_request) Successful in 5s
Address review: approved-wave dispatch, yield wording, Ready-order ties
Dispatch an Operator-approved wave under Autopilot Off, yield instead
of abandon on pause, break ties by the owner's Ready order, drop
invented owner details, and list coordinator-communication with the
schema-3 packages in the README.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 19:56:12 -05:00

2.1 KiB

Wave selection guide

Implicit contention

Hold two issues out of the same wave when they would change the same thing in incompatible ways. Look for:

  • Overlapping files or modules. Compare each candidate's likely footprint, from its issue body and acceptance criteria, with running branch and pull-request footprints and with the other candidates. Two edits to one module's public surface contend; two edits to unrelated functions in one large file usually do not.
  • Competing schema migration or interface versions. Two tasks that each add a SQLite schema migration, or each bump the same API's minor version, must run in sequence.
  • An architectural decision still in flight. When a running task or open specification is deciding a design question, hold candidates whose approach depends on the answer.
  • Competing external services. Two tasks that exercise, reconfigure, or reset the same external service or test environment contend even when their code does not overlap.

Name the evidence for each held pair: the file, module, migration, interface, decision, or service, and where you read it. When the evidence is only a guess from an issue title, say so and hold the candidate that comes later in the owner's Ready order.

Resource affinity

  • Group Ready tasks that need the same ml-server model, so the model loads once for the group.
  • Prefer a candidate whose resource is free or already loaded over one that would force a reload, even when it comes later in the owner's Ready order.
  • Size the wave to the free GPU workers the Lease Registry reports; extra GPU tasks wait in the queue.
  • When a task waits, give its queue reason from the registry: the lease it waits for, who holds it, and its position, for example "waiting for ml-server:qwen-27b; held by #412; second in queue".

Aggressiveness

The default is moderate: admit a candidate when you found no contention, and hold it when you found plausible contention you could not rule out. Among otherwise equal candidates, the owner's Ready order decides. Prefer a smaller wave whose members are clearly independent over a larger one that risks rework.