From 0b104c4e0ebc6f4d091470475be334ca0293dbd5 Mon Sep 17 00:00:00 2001 From: Kyle Merritt Date: Wed, 25 Nov 2026 20:00:28 -0500 Subject: [PATCH] Keep approved-wave dispatch after a conversation with Autopilot Off Refs #26 Co-Authored-By: Claude Opus 5.5 --- packages/coordinator-dispatch/SKILL.md | 5 +++-- packages/coordinator-dispatch/relayview-skill.json | 2 +- tests/test_packages.py | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/packages/coordinator-dispatch/SKILL.md b/packages/coordinator-dispatch/SKILL.md index a27a1bd..9d1d6fb 100644 --- a/packages/coordinator-dispatch/SKILL.md +++ b/packages/coordinator-dispatch/SKILL.md @@ -17,7 +17,8 @@ Build each decision from the owner's projections, read fresh for that decision: - the Portfolio Read Model: active tasks, their phases, waiting reasons, and pending Review Packets; - the Ready issues, with their bodies and declared resource requirements; - active branch and pull-request footprints: the files, modules, schemas, and interfaces each running task is changing; -- the Shared Resource and Lease Registry: which leases are held or queued, which model is loaded on `ml-server`, and which GPU workers are free. +- the Shared Resource and Lease Registry: which leases are held or queued, which model is loaded on `ml-server`, and which GPU workers are free; +- the Autopilot setting the Operator last chose, as the owner reports it. Work only through these projections and the owner commands assigned to you: read a task's footprint from the projection, not its worktree, and leave repository code and shell commands to the roles that own them. When a projection is missing or stale, say which one and treat the affected issue as not yet safe to dispatch. @@ -34,7 +35,7 @@ Follow the [wave selection guide](wave-selection.md). A wave is a set of Ready i - **When Autopilot is `Off`**, report portfolio status and propose waves for the Operator to approve. Present each proposed wave with its members, the held issues and their reasons, and the resource batching it assumes. Dispatch only a wave the Operator explicitly approves, through the owner's dispatch command. Just before dispatch, re-run the four selection steps for each member against fresh projections; dispatch the members that still pass and return the others to the Operator with the reason. - **When Autopilot is `On`**, dispatch each compatible wave through the owner's dispatch command, then confirm from the Portfolio Read Model that each task started. Report any task that did not start, with the waiting reason the owner reports. -- When the Operator pauses Autopilot or starts a conversation, yield at the next safe turn boundary: dispatch nothing further, answer the Operator, and name any wave left partly dispatched. Tell the Operator that running tasks continue. After answering, act under the Autopilot setting the owner then reports: dispatch again only while it is `On`. +- When the Operator pauses Autopilot or starts a conversation, yield at the next safe turn boundary: dispatch nothing further, answer the Operator, and name any wave left partly dispatched. Tell the Operator that running tasks continue. After answering, follow the Autopilot setting the owner then reports: while it is `On`, dispatch compatible waves again; while it is `Off`, dispatch only what the Operator approves. ## Escalate diff --git a/packages/coordinator-dispatch/relayview-skill.json b/packages/coordinator-dispatch/relayview-skill.json index 7b8abfa..ac8aedd 100644 --- a/packages/coordinator-dispatch/relayview-skill.json +++ b/packages/coordinator-dispatch/relayview-skill.json @@ -9,7 +9,7 @@ "files": [ { "path": "SKILL.md", - "sha256": "7ba1697cee23b157aefba8616927923d6193a012c6203c5770ad2a260ad3f41b" + "sha256": "2e1f4ef4a6614434258378f96dd604bb58089779e7943a065e0426a5dceabff0" }, { "path": "wave-selection.md", diff --git a/tests/test_packages.py b/tests/test_packages.py index f0aaa20..2036279 100644 --- a/tests/test_packages.py +++ b/tests/test_packages.py @@ -61,7 +61,7 @@ class PackageTests(unittest.TestCase): "`portfolio_conflict`", "`unique_resource_needed`", "queue reason", "The owner grants leases", "an open prerequisite keeps it out", "leave repository code and shell commands to the roles that own them", - "re-run the four selection steps", "dispatch again only while it is `On`"): + "re-run the four selection steps", "while it is `On`, dispatch compatible waves again"): self.assertIn(phrase, text) # Nudging, reorientation and the Working Ledger are out of scope here (issue #27). for phrase in ("nudge", "reorient", "Working Ledger"):