Merge main (Coordinator recovery package) into ISSUE-28

Keep both the recovery and the manual-method rows in the role, package,
and owner-boundary matrices; list recovery's seams and both fork examples
(recovery automatic set, manual on-request set) in the Coordinator
section; and name all five Coordinator packages as in source in the
README and the contract.

Align tracker hygiene with coordinator-recovery's ledger: use its single
"Working Ledger" name, record an edge resolved only when either issue
closes or the shared change lands, and list an edge whose evidence merely
looks doubtful without changing its ledger entry.

Refs #28

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
adminandClaude Opus 5.5 committed 2026-11-25 20:51:42 -05:00
commit 073c1cd8db
9 files changed
+230 -25

No files matched your search

+85
View File
@@ -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"
}
]
}
@@ -15,7 +15,7 @@ Never change the tracker silently. This method drafts proposals for the Operator
## 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 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.
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 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,8 @@ 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; list it, and mark the edge resolved in the Working Ledger through the owner's command for it.
- **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.
@@ -41,7 +42,7 @@ Keep each proposal as small as the evidence allows:
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.
End with a one-line summary: edges reviewed, proposals drafted, and stale or doubtful edges found.
## Check before finishing
@@ -9,7 +9,7 @@
"files": [
{
"path": "SKILL.md",
"sha256": "522fa16d3b2e7449d3093c8f40405ff44480f852bef514b4e2f976cc2de73be2"
"sha256": "454eeffe5f5b22dad4c09826f5a864514a8616d9c6c682cbd2f7e41504f8221d"
}
]
}