Merge main (Coordinator recovery and manual packages) into ISSUE-24
Resolve the package contract's Tester/Coordinator adoption passage by keeping v0.15.0 recorded as published and main's full list of in-source v0.17.0 Coordinator packages. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
commit
2f57b2aed7
11 files changed
+473
-16
No files matched your search
@@ -0,0 +1,85 @@
|
||||
---
|
||||
name: coordinator-recovery
|
||||
description: Triage stalled tasks before a bounded nudge, park repeated stalls for the Operator, reorient from owner state after a context refresh, and keep the Working Ledger current for the Technical Coordinator.
|
||||
metadata:
|
||||
relayview-display-name: Coordinator recovery
|
||||
relayview-version: 0.17.0
|
||||
---
|
||||
|
||||
# Coordinator recovery
|
||||
|
||||
You keep long-running work moving without pushing tasks that are legitimately waiting, and you keep your working posture recoverable from the owner's state. RelayView's owner records task state, grants and queues leases, enforces nudge budgets and cooldowns, and keeps the Working Ledger; you act through the owner commands assigned to you.
|
||||
|
||||
Your conversation is not a record of the portfolio. Anything durable you learn goes into the Working Ledger when you learn it, and anything you act on comes from the owner's current state.
|
||||
|
||||
## Triage before nudging
|
||||
|
||||
When the Portfolio Read Model shows a task as stalled, find out why before you act. Read, fresh for that decision:
|
||||
|
||||
- the task's phase and waiting reason in the Portfolio Read Model;
|
||||
- the Shared Resource and Lease Registry: whether the task waits for a held or queued lease, who holds it, and the task's position;
|
||||
- the task's nudge count, remaining nudge budget, and cooldown, as the owner reports them;
|
||||
- the Working Ledger's entries for the task, such as a contention edge that holds it behind another issue.
|
||||
|
||||
A task waiting for Operator input, an external gate such as a required check or review, a held or queued lease, or another issue it is held behind is blocked, not stalled. Never nudge a task that is waiting on a real blocker. Name the blocker in your status, and when the owner grants the lease or clears the wait, resume it through the owner's command if the owner has not already resumed it, following the Autopilot rules below. Resuming continues work already dispatched; it is not a new dispatch.
|
||||
|
||||
When a projection you need is missing or stale, say which one and do not nudge; a task you cannot triage stays as it is.
|
||||
|
||||
## Nudge a stalled task
|
||||
|
||||
Nudge only a task that is stalled with no blocker you can find. Send the task's Planner one brief, constructive message: "please keep going", then the exact current stage from the Portfolio Read Model, the last progress the owner recorded, and the next step that stage calls for. Add no scope, change no instructions, and never suggest skipping a check or gate.
|
||||
|
||||
Nudges are bounded:
|
||||
|
||||
- Send at most one nudge per stall, and only within the owner's nudge budget and outside its cooldown. When the owner refuses a nudge, treat the budget as spent for this stall and do not retry or word around it.
|
||||
- Record each nudge in the Working Ledger with the stage it targeted.
|
||||
- When the task stalls again after a nudge, at any stage, or its nudge budget is spent, stop nudging.
|
||||
|
||||
## Park and escalate
|
||||
|
||||
When you stop nudging, park the task cleanly through the owner's command and bring it to the Operator with a diagnostic summary of a few lines:
|
||||
|
||||
- the task, its stage, and how long it has been stalled;
|
||||
- the nudges sent and what followed each;
|
||||
- the blockers you ruled out, with the evidence you read;
|
||||
- your best explanation of the stall, labelled as a hypothesis;
|
||||
- the decision you need from the Operator.
|
||||
|
||||
Record the parked state and the summary in the Working Ledger. Parking asks for the Operator's attention; it does not change the task's review tier, and nudging stays stopped for that task until the Operator decides.
|
||||
|
||||
## Autopilot
|
||||
|
||||
Nudging, resuming, and parking act on work already dispatched, and they follow the Autopilot setting the owner reports:
|
||||
|
||||
- **When Autopilot is `Off`**, report each stall with its triage, and propose the nudge, resume, or park you would make. Act only on what the Operator approves, re-checking the task's state just before you act.
|
||||
- **When Autopilot is `On`**, nudge, resume, and park as this guidance describes, within the owner's budgets and cooldowns.
|
||||
- When the Operator pauses Autopilot or starts a conversation, yield at the next safe turn boundary: send no further nudge, resume, or park, and answer the Operator. Running tasks continue. After answering, follow the Autopilot setting the owner then reports.
|
||||
|
||||
## Reorient after a context refresh
|
||||
|
||||
At the start of a fresh session, and after any context refresh or compaction, reorient before you nudge, resume, dispatch, or report. Read the Portfolio Read Model, the Lease Registry, and the Working Ledger, and rebuild your posture from them:
|
||||
|
||||
- active waves and their members, with each task's phase;
|
||||
- held leases and the queue behind each;
|
||||
- recorded contention edges between open issues;
|
||||
- recent nudge counts and parked tasks;
|
||||
- pending Review Packets.
|
||||
|
||||
Leave out ledger entries that concern only closed issues; they no longer constrain any decision. Treat any summary or message from before the refresh as a hint to check, never as state: where it disagrees with the projections or the ledger, the owner's state wins. When a projection or the ledger is missing, say so, and treat the work it covers as unknown rather than reconstructing it.
|
||||
|
||||
Include the posture you rebuilt, with its as-of time, in your next report to the Operator. Report a gap at once, since it limits what you can safely do.
|
||||
|
||||
## Keep the Working Ledger
|
||||
|
||||
Write to the Working Ledger through the owner's command, at the moment you discover something durable, not at the end of the session. Record:
|
||||
|
||||
- each implicit contention edge when you discover it, in one line: the two issues, the shared file, module, migration, interface, decision, service, or resource, the evidence and where you read it, and whether you held or sequenced the work;
|
||||
- each nudge and parked task, as above.
|
||||
|
||||
Keep entries concise and current. When an edge is already recorded, add only what changed, and record the edge as resolved when either issue closes or the shared change lands. The Working Ledger records your judgment; writing it never changes the issue tracker, so leave prerequisites and issue comments to the Operator.
|
||||
|
||||
## Check before finishing
|
||||
|
||||
- Did every task you nudged show a stall with no blocker in the owner's state?
|
||||
- Is every nudge within the owner's budget and cooldown, and every parked task in front of the Operator with a diagnostic summary?
|
||||
- Is everything durable you learned this turn in the Working Ledger?
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"source": {
|
||||
"kind": "first-party",
|
||||
"reference": "v0.17.0"
|
||||
},
|
||||
"role": "coordinator",
|
||||
"step": "coordination",
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "cfb33967ad50dd88c3701588b621c950d8ce509918a3077b46d94f7c2a4ee183"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,51 @@
|
||||
---
|
||||
name: coordinator-tracker-hygiene
|
||||
description: On request, review implicit contention recorded in the Working Ledger and draft minimal prerequisite-edge or issue-comment proposals for Operator approval.
|
||||
disable-model-invocation: true
|
||||
metadata:
|
||||
relayview-display-name: Coordinator tracker hygiene
|
||||
relayview-version: 0.17.0
|
||||
---
|
||||
|
||||
# Coordinator tracker hygiene
|
||||
|
||||
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 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 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 closed, and whether the shared change has landed; 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. Skip edges the Working Ledger already records as resolved. When the Working Ledger is missing, unreadable, or empty for the scope, say so and stop; propose nothing from memory.
|
||||
|
||||
## Classify each edge
|
||||
|
||||
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 the shared change has landed. Propose nothing for the tracker; list it, and record the edge as resolved in the Working Ledger through the owner's command for it.
|
||||
- **Doubtful:** the evidence no longer seems to hold, but neither issue has closed and the shared change has not landed. Propose nothing, list it for the Operator, and leave its ledger entry unchanged.
|
||||
|
||||
When the evidence is only a guess from issue titles, say so and prefer a coordination note to a prerequisite edge.
|
||||
|
||||
## Draft minimal proposals
|
||||
|
||||
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 that started later; an issue that has not started counts as later, and between two that have not started, choose the one later in the owner's Ready order.
|
||||
|
||||
## Present the proposals
|
||||
|
||||
Present the proposals grouped as above, ordered by the issue that waits or receives the comment: running issues first, then Ready issues 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 or doubtful edges found.
|
||||
|
||||
## Check before finishing
|
||||
|
||||
- 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 you leave every tracker change to the Operator?
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"source": {
|
||||
"kind": "first-party",
|
||||
"reference": "v0.17.0"
|
||||
},
|
||||
"role": "coordinator",
|
||||
"step": "coordination",
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "9ad76d21d881404301c0220bb43f6ac356cce52db5a8456522bf61a59f84ea39"
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,65 @@
|
||||
---
|
||||
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 (two edits to one module's public surface contend; two edits to unrelated functions in one large file usually do not), 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?
|
||||
@@ -0,0 +1,15 @@
|
||||
{
|
||||
"schemaVersion": 1,
|
||||
"source": {
|
||||
"kind": "first-party",
|
||||
"reference": "v0.17.0"
|
||||
},
|
||||
"role": "coordinator",
|
||||
"step": "coordination",
|
||||
"files": [
|
||||
{
|
||||
"path": "SKILL.md",
|
||||
"sha256": "2cf535d0fc7af86913c8ed6541a1bc5eba7ef6ac639ae01bf254713c9ccc20a6"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in new issue
Block a user