spur-board 0.131.0 → 0.133.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{chunk-DfehZM2s.mjs → chunk-BC8T5XHO.mjs} +1 -1
- package/dist/{chunk-CY_rWPWy.mjs → chunk-CcqlB4rN.mjs} +52 -5
- package/dist/{chunk-BUWlIiQd.mjs → chunk-CjHIyoJR.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +609 -57
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/index-DrlglJWZ.js +64 -0
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/spur-board/SKILL.md +9 -0
- package/skills/spur-board/references/how-board-works-columns.md +5 -4
- package/skills/spur-board/references/how-board-works-inbox.md +1 -0
- package/skills/spur-board/references/how-board-works-turns.md +2 -0
- package/skills/spur-board/references/worker-flow.md +13 -2
- package/dist/web/assets/index-CFUr0JGj.js +0 -64
package/dist/web/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
<meta charset="UTF-8" />
|
|
5
5
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
6
6
|
<title>Spur Board</title>
|
|
7
|
-
<script type="module" crossorigin src="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-DrlglJWZ.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-MWxIqN95.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/package.json
CHANGED
|
@@ -41,6 +41,15 @@ Read [the worker flow](references/worker-flow.md) for session links, asks, updat
|
|
|
41
41
|
- On doorbell, read `board inbox` and the addressed C<number>@<revision> comment or B<number>
|
|
42
42
|
block. Once handled, ack its revision, ID or ring N<number>-<ring> with keyed
|
|
43
43
|
`board inbox ack <entries>`. Keyed `board answer` handles its block; no ack follows.
|
|
44
|
+
- A return: ack its Dev turn, fix and submit; the take reads its `code` block, your confirmed
|
|
45
|
+
submit closes it; no unblock. Keyed `board unblock <block> --done <ref>` after the fix only
|
|
46
|
+
if `board task <task>` shows it open with `addressee` worker, after your submit if a Dev
|
|
47
|
+
turn is yours. Ack it when you read it in `board inbox`; `not_found`: none due. If the ack
|
|
48
|
+
answers `forbidden` (the block's ring is assigned to another worker, or you authored the
|
|
49
|
+
block), skip the ack: close it with `--done` if it is yours to close, otherwise leave it to
|
|
50
|
+
the worker it rings. While `board task <task> --why` lists `submit_pending` or another hold,
|
|
51
|
+
wait. A hold that does not clear: keyed `board ask <task> <text>` naming it; its recipient
|
|
52
|
+
checks or escalates it, up to the operator ([how the Board works](references/how-board-works.md)).
|
|
44
53
|
|
|
45
54
|
## Board commands
|
|
46
55
|
|
|
@@ -87,7 +87,8 @@ for listed repos; never failed/skipped required ones.
|
|
|
87
87
|
|
|
88
88
|
Review and Product Review need current-head internal review marks, separate from
|
|
89
89
|
External Review's external approval. QA: current-head submit; Ready to Merge awaits merge. Executor `none` may reuse same-head submits of other worker columns. Fixed gate rules have no configuration switch
|
|
90
|
-
except enabled columns, no-CI, checks gate and
|
|
90
|
+
except enabled columns, no-CI, checks gate, resolved threads and review rule
|
|
91
|
+
(`approvalRule: github-rules`, `docs/configuration.md`).
|
|
91
92
|
|
|
92
93
|
`projects[].checksGate` (default `dev`; `review`, `product-review` or
|
|
93
94
|
`external-review`, enabled) moves the pending-CI wait to that column's exit. Red
|
|
@@ -106,12 +107,12 @@ Review/Product Review mark lasts across visits on the current head. QA submissio
|
|
|
106
107
|
also survive returns and corrections to Dev on the same head. Other visit
|
|
107
108
|
submissions belong to one column visit; moving left clears them and those to the
|
|
108
109
|
right. A different observed PR head permanently invalidates its internal Review,
|
|
109
|
-
Product Review and QA evidence, even if the head later returns
|
|
110
|
-
|
|
110
|
+
Product Review and QA evidence, even if the head later returns.
|
|
111
|
+
Operator correction into QA clears confirmed and pending QA evidence,
|
|
111
112
|
keeping review marks. With passing upstream gates and a QA orchestrator or operator,
|
|
112
113
|
this opens a fresh QA turn. Executor `none` keeps worker-column reuse: a valid Dev
|
|
113
114
|
submit can satisfy QA after correction. Retained QA cannot supply Dev's submit
|
|
114
|
-
requirement:
|
|
115
|
+
requirement: submit the current Dev visit first.
|
|
115
116
|
|
|
116
117
|
PR closed without merge with no open PR, or closed
|
|
117
118
|
ticket with live work and no merged PR. `board status` lists them as operator block threads.
|
|
@@ -26,6 +26,7 @@ Kinds of [operator inbox](how-board-works-blocks.md#operator-inbox) entries, wha
|
|
|
26
26
|
| `board_observation` `filter:` | the ticket left the tracker filter but work is live | return the ticket to the tracker filter, or finish or unlink the linked work (`board unlink <task> --pr <pr> --reason <reason>`) | attention | the ticket is back in the filter or no linked open PR or live session is left | stored target |
|
|
27
27
|
| `board_observation` `health:` | a session health flag | check session `<session>` in Spur; a vanished worker: start a new worker for the task, or archive the task | attention | the flag ends; for a vanished worker also when the ticket is done | stored target |
|
|
28
28
|
| `board_observation` `no-session:` | untaken turns of a column with a named orchestrator have no live session to ring for the column's `noRecipientAfterMs` (default 10 min), timed from the later of the ring and the moment the last session of the column's Spur project or the task's linked orchestrator stopped being a recipient, at its first end, absence or finished state (stopped, killed, errored, completed); one item per project and column, on the oldest waiting turn's task; the inbox adds the waiting count and the minutes with no live session; the doctor check `orchestrator.sessions` also warns `no live session` | start a session in Spur project `<spur>`, or take over its turns with an inbox ack | attention | a live session appears or the turns are taken or closed; a later full-length gap raises it again; once you close it, it stays closed while the same oldest turn waits | stored target |
|
|
29
|
+
| `board_observation` `review-rule:` | under `approvalRule: github-rules`, a task in External Review whose PR head has no stored decision and GitHub left undecided for 30 minutes: merge state unknown or behind, or a rule the token cannot read; one item per task, PR and undecided stretch of a head, its text naming the current cause and keeping the raw `mergeStateStatus`, `mergeable` and `reviewDecision` of the first raise for that cause; GitHub's answer ends it for the head, a new head starts over. Time outside External Review counts, so a return on the same head can raise it at once; once you close it, it stays closed while its text is the same. A draft, a conflict, changes requested (GitHub's too, at any merge state) and a pending or missing required check have their own reasons and end the stretch, no item | check the PR on GitHub: update the branch, let the token read the base branch rules or wait, then close the item | attention | GitHub decides the head, the state gets its own reason, a new head arrives or the task leaves External Review | stored target |
|
|
29
30
|
| `worker_ended` | an agent holding the current open non-Done turn ended, with any end reason and regardless of PRs or links; also a killed worker without a PR whose ticket is not done; each new item posts a feed line with Close; each complete Spur poll moves its fact time | start a new worker for the task, or archive the task | attention | the turn closes, its holder changes, the task leaves the column visit or is archived; for a worker without a turn, the health flag ends or the ticket is done | stored target |
|
|
30
31
|
| `turn` | a turn is yours | listed as its `T…` entry | attention | the turn closes | absent |
|
|
31
32
|
| `anomaly` | a live session or turn of the task is stuck, or a worker completed without a PR, its ticket not done, and has no current open turn | wait for the answer to `B<n>`, or answer it yourself; listed only when addressed to the curator; otherwise shown as its block | attention | the condition ends (a done ticket ends it even while Spur is blind) or its block closes | stored target |
|
|
@@ -48,6 +48,8 @@ The Dev turn hands the comments, beside a return's `code` block.
|
|
|
48
48
|
Each handed entry has its `url`, `editedAt` once edited, and a review's inline
|
|
49
49
|
`comments` with `url` and `threadId`. Turns of a Dev visit opened by a return
|
|
50
50
|
show `returned`: who, from, the turn, the `code` block and the verbatim reason.
|
|
51
|
+
A worker taking that turn reads its block; the block closes `done` with the SHA once
|
|
52
|
+
the Board confirms the turn's submit.
|
|
51
53
|
|
|
52
54
|
Closed turns receive no further Board sends; Obsolete queued rings are dropped;
|
|
53
55
|
a message already accepted by Spur cannot be retracted. Check `board inbox` and
|
|
@@ -5,8 +5,19 @@
|
|
|
5
5
|
`board link`. URL from the key: `o/r#12` is `https://github.com/o/r/issues/12`.
|
|
6
6
|
- Blocking: keyed `board ask <task> <text>`; keep its B<number> and wait for the
|
|
7
7
|
doorbell. Update: keyed `board comment <task> <text>`.
|
|
8
|
-
-
|
|
9
|
-
|
|
8
|
+
- A return to Dev: ack its Dev turn, read the reason in `board task <task>`, fix it, then
|
|
9
|
+
keyed `board submit <turn> <sha>`. The take reads the "back" code block; your confirmed
|
|
10
|
+
submit closes it `done`, no unblock.
|
|
11
|
+
- Close a "back" block by hand: keyed `board unblock <block> --done <commit/PR link>` once the
|
|
12
|
+
fix is in, only if `board task <task>` shows it open with `addressee` worker, and that
|
|
13
|
+
submit left it open or you have no Dev turn (an orchestrator or operator runs Dev). Ack it
|
|
14
|
+
when you read it in `board inbox`; `not_found` means no notification, no ack. If the ack
|
|
15
|
+
answers `forbidden` (the block's ring is assigned to another worker, or you authored the
|
|
16
|
+
block), skip the ack: close it with `--done` if it is yours to close, otherwise leave it to
|
|
17
|
+
the worker it rings. While `board task <task> --why` lists `submit_pending` or another hold,
|
|
18
|
+
wait. A hold that does not clear: keyed `board ask <task> <text>` naming it; its recipient
|
|
19
|
+
checks or escalates it with keyed `board escalate <block>`, up to the operator
|
|
20
|
+
([Blocks and escalation](how-board-works-blocks.md)).
|
|
10
21
|
- Exit 3: not applied. Ask in your own session; when the Board returns, retry identically.
|
|
11
22
|
- Exit 4: no Board config; report in your session; keep the key.
|
|
12
23
|
- Exit 5 (unknown): retry up to 3 times in a minute, then ask in your own session.
|