spur-board 0.68.0 → 0.70.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-C11wvkRU.mjs → chunk-BBfFVeh3.mjs} +412 -58
- package/dist/{chunk-t6u2F3E-.mjs → chunk-BxDheuT8.mjs} +1 -1
- package/dist/{chunk-AwNJBvcj.mjs → chunk-CmoLxaIV.mjs} +2 -2
- package/dist/cli.mjs +4 -4
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +294 -66
- package/dist/mcp.mjs +3 -3
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works.md +16 -6
package/dist/mcp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Q as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-
|
|
2
|
-
import { o as CliError, r as requestOperation } from "./chunk-
|
|
3
|
-
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-
|
|
1
|
+
import { Q as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-BBfFVeh3.mjs";
|
|
2
|
+
import { o as CliError, r as requestOperation } from "./chunk-BxDheuT8.mjs";
|
|
3
|
+
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-CmoLxaIV.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
6
|
import { z } from "zod";
|
package/package.json
CHANGED
|
@@ -14,6 +14,10 @@ Each column has one executor: `projects[].columns[].orchestrator`:
|
|
|
14
14
|
`projects[].spurProjects[].role` accepts `worker`, `operator`, `curator` and
|
|
15
15
|
`orchestrator`.
|
|
16
16
|
|
|
17
|
+
Top-level `spurProjects[].columns` fills `none` columns board-wide;
|
|
18
|
+
`role: operator` there serves operatorless projects, one session acting in
|
|
19
|
+
each. A project-level binding wins.
|
|
20
|
+
|
|
17
21
|
## Gates and placement
|
|
18
22
|
|
|
19
23
|
Facts (head, checks, reviews, comments, ticket, sessions) feed gates; two actions: move the task and open an executor turn (at most one
|
|
@@ -24,7 +28,7 @@ Moves, turns and course checks need `projects[].dispatcher.mode: on`;
|
|
|
24
28
|
default is `shadow`: no doorbells or blocks.
|
|
25
29
|
|
|
26
30
|
Gates are cumulative: each column checks its enabled gate and those to its left. At a turn boundary, failed gates return to the leftmost failing
|
|
27
|
-
column. Pending CI, unknown
|
|
31
|
+
column. Taken turns hold until submit, return or a new head. Pending CI, unknown
|
|
28
32
|
mergeability and incomplete comment history are waits. Downstream handoff waits
|
|
29
33
|
for settled prerequisites; Dev can receive a repair turn.
|
|
30
34
|
|
|
@@ -39,6 +43,7 @@ hides its inline comments; thread resolution and the head a comment was left on
|
|
|
39
43
|
change nothing for feedback. Bots (GitHub Apps) neither return a task, approve it nor block
|
|
40
44
|
an approval; their threads still count. Handled means handed by ID to a Dev turn, not answered; in shadow
|
|
41
45
|
mode, a later submit in Dev or an executor `none` column handles it.
|
|
46
|
+
An edit after the hand makes it unhandled again, returning a task right of Dev.
|
|
42
47
|
A status comment whose last line is a hidden `board-reviewer-progress` or
|
|
43
48
|
`board-reviewer-unavailable` marker is not external feedback. No required checks: non-skipped count. `projects[].reposWithoutCi` waives absent checks
|
|
44
49
|
for listed repos; never failed/skipped required ones.
|
|
@@ -74,6 +79,9 @@ A new head closes taken turns outside Dev; taken Dev turns survive pushes.
|
|
|
74
79
|
Right of Dev, red CI, a draft, a conflict, an external comment or an unresolved
|
|
75
80
|
thread where required returns the task to Dev at once, unless a turn is taken; then after its submit or return.
|
|
76
81
|
The Dev turn hands the comments, beside a return's `code` block.
|
|
82
|
+
Each handed entry has its `url`, `editedAt` once edited, and a review's inline
|
|
83
|
+
`comments` with `url` and `threadId`. Turns of a Dev visit opened by a return
|
|
84
|
+
show `returned`: who, from, the turn, the `code` block and the verbatim reason.
|
|
77
85
|
|
|
78
86
|
Closed turns receive no further Board sends; Obsolete queued rings are dropped;
|
|
79
87
|
a message already accepted by Spur cannot be retracted. Check `board inbox` and
|
|
@@ -148,18 +156,20 @@ others. Answer in the existing block thread.
|
|
|
148
156
|
|
|
149
157
|
## Slack addressing
|
|
150
158
|
|
|
151
|
-
With `projects[].spurProjects[].shortName`,
|
|
159
|
+
With a `projects[].spurProjects[].shortName`, `spurProjects[].shortName` or
|
|
160
|
+
board-wide operator, a new operator message in
|
|
152
161
|
`slack.channels.orchestrators` starts a conversation. A leading registered
|
|
153
162
|
`@shortName` selects that Spur project and is stripped. With absent or unknown
|
|
154
|
-
leading name,
|
|
155
|
-
unknown prefix
|
|
163
|
+
leading name, complete text, retaining any
|
|
164
|
+
unknown prefix, goes to `slack.defaultAddressee`, else board-wide operator, else
|
|
165
|
+
first project with an operator; else Board replies once with the valid prefixes.
|
|
156
166
|
Middle mentions or Slack `<@U…>` address nobody; unknown names cause no lookup
|
|
157
167
|
error. The operator checks short-name collisions with workspace names.
|
|
158
168
|
A task key after the prefix attaches it.
|
|
159
169
|
|
|
160
170
|
Read `board inbox`; reply via `board answer`. Each operator thread message rings again; `close` or ✅ in the
|
|
161
|
-
thread closes it. Replies use `projects[].spurProjects[].displayName` and `icon
|
|
162
|
-
No session:
|
|
171
|
+
thread closes it. Replies use `projects[].spurProjects[].displayName` and `icon`, top-level ones too,
|
|
172
|
+
else project name and role icon (`board` for operator). No session:
|
|
163
173
|
`board status` lists it as waiting.
|
|
164
174
|
|
|
165
175
|
## Done follows the ticket
|