skill: replace the lane model with the work queue
The lane machinery is gone: work is a markdown queue, items run in parallel in their own worktrees, the committer stage lands its own work, land-check.sh gates cleanup, branches are never deleted, and pipelines wait (rather than a driver script) is what wakes a session. references/lanes.md becomes references/queue.md; the remaining lane references in work/orchestration/debugging/delivery/format and SKILL.md are rewritten, and the installer now prunes a managed file it no longer bundles when the copy is unmodified.
This commit is contained in:
@@ -82,7 +82,7 @@ Each playbook is *symptom → how to confirm → what to do*.
|
||||
- **Confirm** The message names the conflicting run and its workspace; the guard is
|
||||
working as designed — one active run per resolved workspace.
|
||||
- **Do** Wait for the conflicting run, or start this one in a different workspace
|
||||
(another worktree/checkout, which is what a lane is for — `references/lanes.md`).
|
||||
(another worktree/checkout, which is what a second item's worktree is for — `references/queue.md`).
|
||||
Do not delete the active run, the database or sessions to clear it. An **orphan**
|
||||
active session left by a restart with no owning active run still refuses new work
|
||||
until it is interrupted; reusing the active run's original request key reattaches
|
||||
@@ -113,7 +113,7 @@ Each playbook is *symptom → how to confirm → what to do*.
|
||||
replay**.
|
||||
- **Do** Recovery is explicit. Inspect what completed; retry only when the server is
|
||||
healthy and the previous attempt's cleanup has stopped. Never restart a server that
|
||||
has runs in flight — quiesce first (`references/lanes.md`). Keep the interrupted run
|
||||
has runs in flight — quiesce first (`references/queue.md`). Keep the interrupted run
|
||||
as history; never describe a restart, retry or cancellation as rollback.
|
||||
|
||||
## Screenshot capture that silently produces non-images
|
||||
@@ -130,13 +130,13 @@ Each playbook is *symptom → how to confirm → what to do*.
|
||||
approval. Put the capture helper in the repository so every UI run reuses one path.
|
||||
See the example in `references/delivery.md`.
|
||||
|
||||
## Duplicated work after a lane or chain restart
|
||||
## Duplicated work after a driver restart
|
||||
|
||||
- **Symptom** Items already completed run again after a lane or chain script
|
||||
- **Symptom** Items already completed run again after a queue driver
|
||||
restarts: the same brief is re-invoked, side effects repeat, or a commit is made
|
||||
twice.
|
||||
- **Confirm** Compare the lane's list against its completed-items record. A list alone
|
||||
- **Confirm** Compare the queue's items against their recorded state. A list alone
|
||||
has no resume point.
|
||||
- **Do** Persist a cursor and resume from it (`references/lanes.md`). Record an item
|
||||
- **Do** Record each item's state in the queue itself (`references/queue.md`) and resume from it. Record an item
|
||||
only once it has landed, and skip recorded items on startup. Never relaunch a
|
||||
duplicate of a run that is still active — reattach with its request key instead.
|
||||
|
||||
Reference in New Issue
Block a user