Address second review: Operator applies tracker changes, audit rules
Tracker hygiene now only drafts: the Operator approves and applies each prerequisite edge or comment, matching coordinator-recovery's rule that prerequisites and issue comments stay with the Operator. It reads existing comments through its assigned commands, targets a coordination note at the issue that has not started, and marks stale edges resolved in the Working Ledger. The wave audit's Wave 1 rule carries the dispatch guide's aggressiveness and GPU sizing, a title-only guess holds the later issue, and the self-check accounts for every section. Docs state the Operator-applied tracker boundary; contract prose is tidied. Refs #28 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
275967e0a8
commit
5b161d30ec
8 files changed
+27
-25
No files matched your search
@@ -11,11 +11,11 @@ metadata:
|
||||
|
||||
The Operator invoked this review with `/skill:coordinator-tracker-hygiene` to turn contention the Coordinator has only recorded for itself into tracker changes people can see. Treat any text the Operator sent with the command as the review's scope, such as a set of issues or an epic; without it, review every recorded edge.
|
||||
|
||||
Never change the tracker silently. This method drafts proposals; it adds no prerequisite, posts no comment, and changes no label or status on its own.
|
||||
Never change the tracker silently. This method drafts proposals for the Operator to approve and apply. Make no tracker change yourself: add no prerequisite, post no comment, and change no label or status.
|
||||
|
||||
## Read the recorded edges
|
||||
|
||||
Read the implicit contention edges recorded in the Coordinator Working Ledger, and for each edge read the current state of both issues from the owner's projections: whether each is open, Ready, running, or merged; its prerequisites as the tracker records them; and the evidence the ledger gives for the edge. Work only through the owner's projections and the commands assigned to you, and leave repository code and shell commands to the roles that own them.
|
||||
Read the implicit contention edges recorded in the Coordinator Working Ledger, and for each edge read the current state of both issues from the owner's projections: whether each is open, Ready, running, or merged; its prerequisites and comments as the tracker records them, read through the commands assigned to you; and the evidence the ledger gives for the edge. When you cannot read an issue's prerequisites or comments, say so, and mark proposals for that issue as possibly already recorded. Work only through the owner's projections and the commands assigned to you, and leave repository code and shell commands to the roles that own them.
|
||||
|
||||
Take edges from the Working Ledger, not from this conversation. When the Working Ledger is missing, unreadable, or empty for the scope, say so and stop; propose nothing from memory.
|
||||
|
||||
@@ -26,7 +26,7 @@ Put each edge in exactly one group:
|
||||
- **Ordering need:** one issue cannot be done correctly until the other lands, such as a schema migration another issue builds on, or an interface one issue changes and the other consumes. Draft a prerequisite edge.
|
||||
- **Coordination note:** the issues can run in either order but not together, such as two edits to one module's public surface or a shared test environment. Draft an issue comment.
|
||||
- **Already recorded:** the tracker already carries an equivalent prerequisite or comment. Propose nothing.
|
||||
- **Stale:** either issue is closed or merged, or the evidence no longer holds. Propose nothing for the tracker, and list it so the Operator can retire it from the ledger.
|
||||
- **Stale:** either issue is closed or merged, or the evidence no longer holds. Propose nothing for the tracker, and list it so the edge is marked resolved in the Working Ledger.
|
||||
|
||||
When the evidence is only a guess from issue titles, say so and prefer a coordination note to a prerequisite edge.
|
||||
|
||||
@@ -35,11 +35,11 @@ When the evidence is only a guess from issue titles, say so and prefer a coordin
|
||||
Keep each proposal as small as the evidence allows:
|
||||
|
||||
- **Prerequisite edge:** name the issue that waits, the issue it requires, and one sentence of evidence. Propose only the direct edge, never one the tracker already implies through another prerequisite. Before proposing it, check that it would not form a cycle with the prerequisites the tracker already records, and flag an edge that would hold back an issue that is already running.
|
||||
- **Issue comment:** name the issue to comment on and give the exact comment text, ready to post: the other issue, what both touch, and the order you suggest. Draft one comment per edge, on the issue later in the owner's Ready order.
|
||||
- **Issue comment:** name the issue to comment on and give the exact comment text, ready to post: the other issue, what both touch, and the order you suggest. Draft one comment per edge, on the issue that has not started; when neither has started, on the one later in the owner's Ready order.
|
||||
|
||||
## Present and apply
|
||||
## Present the proposals
|
||||
|
||||
Present the proposals grouped as above, in the owner's Ready order, with "None" under an empty group. Each proposal needs the Operator's explicit approval. Apply an approved proposal only through an owner command assigned to you and confirm from a fresh projection that it took effect; when no such command is assigned, give the Operator the exact change to make. Approval of one proposal is not approval of the others.
|
||||
Present the proposals grouped as above, in the owner's Ready order, with "None" under an empty group. Give each proposal as the exact change for the Operator to make, so the Operator can approve and apply each one separately. Approval of one proposal is not approval of the others, and an approved proposal is still the Operator's to apply.
|
||||
|
||||
End with a one-line summary: edges reviewed, proposals drafted, and stale edges found.
|
||||
|
||||
@@ -47,4 +47,4 @@ End with a one-line summary: edges reviewed, proposals drafted, and stale edges
|
||||
|
||||
- Does every proposal trace to a Working Ledger edge and name its evidence?
|
||||
- Is every proposed prerequisite direct, new to the tracker, and free of cycles?
|
||||
- Did any tracker change happen without the Operator's explicit approval of that proposal?
|
||||
- Did you leave every tracker change to the Operator?
|
||||
@@ -9,7 +9,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "b1a5eec5103b60b60eb9b227bab4399c4ddf627395927dda4da47a2b87ed5cba"
|
||||
"sha256": "36795a31dedd03414bb99c109746f2f63e9a63c84431bfd39a5c1183ae3f9c63"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -33,7 +33,7 @@ For each Ready issue, in the owner's Ready order:
|
||||
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.
|
||||
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
|
||||
|
||||
@@ -41,7 +41,7 @@ Return these four sections in this order. Write "None" under an empty section ra
|
||||
|
||||
### Safe Parallel Wave 1
|
||||
|
||||
The largest set of Ready issues with no contention found among themselves or with running work, and whose resources are free or already loaded. 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.
|
||||
Ready issues with no contention among themselves or with running work, including plausible contention you could not rule out, and whose resources are free or already loaded. Size the wave 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
|
||||
|
||||
@@ -59,7 +59,7 @@ End with a one-line summary: Ready issues audited, the size of Safe Parallel Wav
|
||||
|
||||
## Check before finishing
|
||||
|
||||
- Does every Ready issue in scope appear in exactly one place: Safe Parallel Wave 1, a Contention Pair, or Blocked/Stale?
|
||||
- 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?
|
||||
@@ -9,7 +9,7 @@
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "c918553068df3ac7f89134a099b269717a9f7c6fe6aedbbd69347f06fb3362a2"
|
||||
"sha256": "0dfa78a7720f286baef6055a742096ff3daf3dd8319d76fad07bef1a242b722c"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user