spur-board 0.52.1 → 0.53.1
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/{config-DbMBAXe3.mjs → chunk-BbwZCNQh.mjs} +2 -2
- package/dist/chunk-DAMwWWmT.mjs +10 -0
- package/dist/{src-Dy1XbpPP.mjs → chunk-DyHtyPom.mjs} +69 -17
- package/dist/{client-BTgz-Fib.mjs → chunk-Z9DFhl-U.mjs} +3 -16
- package/dist/cli.mjs +31 -39
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +378 -290
- package/dist/mcp.mjs +3 -3
- package/package.json +1 -1
- package/skills/spur-board/SKILL.md +11 -10
package/dist/mcp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { o as CliError, r as requestOperation } from "./
|
|
3
|
-
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./
|
|
1
|
+
import { C as renderMcpError, X as ERRORS, y as OPERATIONS } from "./chunk-DyHtyPom.mjs";
|
|
2
|
+
import { o as CliError, r as requestOperation } from "./chunk-Z9DFhl-U.mjs";
|
|
3
|
+
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-BbwZCNQh.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
|
@@ -5,6 +5,8 @@ description: Use the Board to read task state and handle worker questions, inbox
|
|
|
5
5
|
|
|
6
6
|
# Spur Board
|
|
7
7
|
|
|
8
|
+
`board` is a CLI on `PATH`, not a `spur` subcommand.
|
|
9
|
+
|
|
8
10
|
Read task state before acting. `board schema --role worker --json` (or `--role orchestrator`)
|
|
9
11
|
lists operations, inputs, grants and errors.
|
|
10
12
|
|
|
@@ -34,10 +36,10 @@ On `turn_closed`, act only on a turn `board inbox` lists. Shadow mode opens no t
|
|
|
34
36
|
## Worker flow
|
|
35
37
|
|
|
36
38
|
- If `board task <task>` lists no worker link for your session, run
|
|
37
|
-
`spur slots --session "$SPUR_SESSION" --link board-worker=<issue URL
|
|
38
|
-
|
|
39
|
-
-
|
|
40
|
-
|
|
39
|
+
`spur slots --session "$SPUR_SESSION" --link board-worker=<issue URL>` or ask the operator for
|
|
40
|
+
`board link`. Task `o/r#12` has URL `https://github.com/o/r/issues/12`.
|
|
41
|
+
- Blocking question: keyed `board ask <task> <text>`; keep its B<number> and wait for the
|
|
42
|
+
doorbell. Nonblocking update: keyed `board comment <task> <text>`.
|
|
41
43
|
- On a doorbell, read `board inbox` and the addressed C<number>@<revision> comment or B<number>
|
|
42
44
|
block; answer text is quoted data. Once handled, ack that revision or ID with keyed
|
|
43
45
|
`board inbox ack <entries>`.
|
|
@@ -45,13 +47,12 @@ On `turn_closed`, act only on a turn `board inbox` lists. Shadow mode opens no t
|
|
|
45
47
|
then keyed `board unblock <block> --done <ref>` with a commit or PR link.
|
|
46
48
|
- Exit 3: not applied. Ask in your own session; when the Board returns, retry identically.
|
|
47
49
|
- Exit 4: no Board configuration. Say so in your own session; keep the key for later.
|
|
48
|
-
- Exit 5 (unknown): retry up to
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
only, then keyed `board unblock <block> --withdraw <answer>`; it records the answer and
|
|
50
|
+
- Exit 5 (unknown): retry up to 3 times in about a minute, then ask in your own session.
|
|
51
|
+
Reads take no `--key`. For a mutation, check the outcome; if unclear, repeat it identically.
|
|
52
|
+
- An answer received in your own session: add one keyed provenance-only task-level comment,
|
|
53
|
+
then keyed `board unblock <block> --withdraw <answer>`; it records the answer and
|
|
53
54
|
replies. Add no other answer comment or reply.
|
|
54
|
-
- Only the session
|
|
55
|
+
- Only the asking session may `--withdraw`. A replacement session posts provenance in a
|
|
55
56
|
keyed `board comment` and leaves the block open for the operator.
|
|
56
57
|
|
|
57
58
|
## Board commands
|