The audit's Wave 1 rule now plainly excludes plausible contention and caps only GPU-bound issues at the free GPU workers; Blocked/Stale covers stale as well as missing projections. Tracker hygiene marks stale edges resolved in the Working Ledger through the owner's command and defines the comment target when both issues are running. Refs #28 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
66 lines
5.2 KiB
Markdown
66 lines
5.2 KiB
Markdown
---
|
|
name: coordinator-wave-audit
|
|
description: On request, audit the entire Ready queue against running work and return a structured parallel wave plan for the Operator.
|
|
disable-model-invocation: true
|
|
metadata:
|
|
relayview-display-name: Coordinator wave audit
|
|
relayview-version: 0.17.0
|
|
---
|
|
|
|
# Coordinator wave audit
|
|
|
|
The Operator invoked this audit with `/skill:coordinator-wave-audit`, usually while Autopilot is `Off` or during backlog grooming. Audit the entire Ready queue, not only the next wave, and return a wave plan the Operator can approve, edit, or set aside. Treat any text the Operator sent with the command as the audit's scope, such as a label, milestone, or set of issues; without it, audit every Ready issue.
|
|
|
|
Dispatch nothing from this audit, change no issue, and request no lease. The plan is a proposal: the Operator approves a wave separately, and every member is checked again against fresh projections before it is dispatched.
|
|
|
|
## Read the portfolio
|
|
|
|
Read each of the owner's projections fresh for this audit, and note its as-of time:
|
|
|
|
- the Ready issues in the owner's Ready order, with their bodies, acceptance criteria, and declared resource requirements;
|
|
- the Portfolio Read Model: active tasks, their phases and how long they have been in them, waiting reasons, and pending Review Packets;
|
|
- active branch and pull-request footprints: the files, modules, schemas, and interfaces each running task is changing;
|
|
- the Shared Resource and Lease Registry: leases held and queued, the model loaded on `ml-server`, and free GPU workers.
|
|
|
|
Work only through these projections and the owner commands assigned to you: read a footprint from the projection, not a worktree, and leave repository code and shell commands to the roles that own them. When a projection is missing or stale, name it and keep the issues it affects out of Safe Parallel Wave 1.
|
|
|
|
## Audit every Ready issue
|
|
|
|
For each Ready issue, in the owner's Ready order:
|
|
|
|
1. Confirm the owner still lists it as Ready; an open prerequisite keeps it out regardless of your judgment, and it belongs under Blocked/Stale.
|
|
2. Compare its likely footprint with every running task and every other Ready issue. Look for overlapping files or modules, a competing schema migration or API version bump, an architectural decision still in flight, and a shared external service or test environment.
|
|
3. Compare its declared resources with the Lease Registry, and group it with issues that need the same `ml-server` model or GPU setup.
|
|
4. Note anything that makes it look stale: a Ready issue whose footprint a merged or running change already covers, an issue that names a closed or superseded issue, or a running task the Portfolio Read Model shows with no progress and no waiting reason.
|
|
|
|
For every contention or anomaly, name the evidence and where you read it. When the evidence is only a guess from an issue title, say so and treat the issue later in the owner's Ready order as the one held.
|
|
|
|
## Return the wave plan
|
|
|
|
Return these four sections in this order. Write "None" under an empty section rather than omitting it, so the Operator can tell the audit covered it.
|
|
|
|
### Safe Parallel Wave 1
|
|
|
|
Ready issues with no contention among themselves or with running work, and no plausible contention you could not rule out, whose resources are free or already loaded. Admit GPU-bound issues only up to the free GPU workers the Lease Registry reports, and prefer a smaller wave whose members are clearly independent over a larger one that risks rework. List each issue with one line on why it is independent. Where two candidates conflict, keep the one whose resource is free or already loaded; when that does not decide, keep the one earlier in the owner's Ready order. List the other under Contention Pairs.
|
|
|
|
### Contention Pairs
|
|
|
|
Each pair of issues, or an issue and a running task, that should not run together. Give the shared file, module, schema, interface, decision, or service; where you read it; and the order you suggest. Mark a pair whose contention ordering cannot resolve, such as two branches deciding the same architectural question differently, as needing the Operator's judgment.
|
|
|
|
### Resource-Affinity Batches
|
|
|
|
Groups of Ready issues that need the same `ml-server` model or GPU setup, in the order that minimizes reloads. Give each batch's resource, its members, and the queue reason from the Lease Registry for any batch that must wait.
|
|
|
|
### Blocked/Stale
|
|
|
|
Issues the Ready queue lists but that still show an open prerequisite, issues held by a missing or stale projection, issues that look stale, and running tasks that look stalled. Give each its reason and the smallest next step for the Operator to consider, such as closing a duplicate or confirming a prerequisite.
|
|
|
|
End with a one-line summary: Ready issues audited, the size of Safe Parallel Wave 1, and how many need the Operator's decision.
|
|
|
|
## Check before finishing
|
|
|
|
- Is every Ready issue in scope either in Safe Parallel Wave 1 or accounted for elsewhere: held by a Contention Pair, waiting in a Resource-Affinity Batch, or listed under Blocked/Stale?
|
|
- Does every contention pair name its evidence and where you read it?
|
|
- Does every queue reason come from the Lease Registry rather than an estimate?
|
|
- Did you dispatch, change, or request nothing?
|