Files
relayview-skills/packages/coordinator-dispatch/wave-selection.md
T
adminandClaude Opus 5.5 f170b339c1
Check instruction packages / check (push) Successful in 4s
Check instruction packages / check (pull_request) Successful in 8s
Add Technical Coordinator dispatch and communication packages
coordinator-dispatch (schema 1, with wave-selection.md) guides semantic
parallel wave selection, resource-affinity batching, Autopilot Off/On
discipline, and typed portfolio_conflict / unique_resource_needed
escalation over the owner's projections. coordinator-communication
(schema 3, communication_context) shapes Control Tower status reports.
Both target the proposed v0.17.0 release.

OVERRIDING.md lists both packages and gains a section on customizing
wave aggressiveness, contention heuristics, and reporting tone without
touching owner gates; the contract and README note the in-source
Coordinator packages.

Refs #26

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 19:53:15 -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; the second rebases onto the first.
  • 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 prefer holding the newer candidate.

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, unless the Operator's priority order says otherwise.
  • 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. Priority order breaks ties. Prefer a smaller wave whose members are clearly independent over a larger one that risks rework.