spur-board 0.96.0 → 0.98.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-D557y4-h.mjs → chunk-B-CjMbaO.mjs} +2 -2
- package/dist/{chunk-U_xhOGUV.mjs → chunk-DOiMMUx1.mjs} +25 -13
- package/dist/{chunk-CIPjiog7.mjs → chunk-PMapbHv-.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +65 -13
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/{index-jNivAssx.css → index-CuWMVTKn.css} +1 -1
- package/dist/web/assets/index-xYKbBEsb.js +64 -0
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works-blocks.md +40 -3
- package/skills/spur-board/references/how-board-works.md +4 -4
- package/skills/spur-board/references/web-ui-task-view.md +13 -4
- package/skills/spur-board/references/web-ui.md +5 -4
- package/dist/web/assets/index-DcuNgy8M.js +0 -64
package/dist/web/index.html
CHANGED
|
@@ -4,8 +4,8 @@
|
|
|
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-
|
|
8
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-xYKbBEsb.js"></script>
|
|
8
|
+
<link rel="stylesheet" crossorigin href="/assets/index-CuWMVTKn.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
|
11
11
|
<div id="root"></div>
|
package/package.json
CHANGED
|
@@ -27,6 +27,43 @@ an operator Spur session. It lists open operator items, blocks to `operator`
|
|
|
27
27
|
and operator turns of the caller's operator projects; `_board` entries only
|
|
28
28
|
for the token and the board-wide operator, or any operator project when there
|
|
29
29
|
is none. A block or turn is listed once, not
|
|
30
|
-
with its items. Each entry is `attention` or `failure
|
|
31
|
-
|
|
32
|
-
|
|
30
|
+
with its items. Each entry is `attention` or `failure`. Every item entry
|
|
31
|
+
(`I…`) carries `action`, what you do about it, and its text ends with it;
|
|
32
|
+
block and turn entries have none. `handled` keeps the last 24 h, at most 20,
|
|
33
|
+
newest first, with the same actions; handled blocks carry `answeredVia`.
|
|
34
|
+
Archived tasks are left out.
|
|
35
|
+
|
|
36
|
+
The actions use `board answer <block> <text>`,
|
|
37
|
+
`board unblock <block> --reason <reason>`,
|
|
38
|
+
`board item retry <item>`,
|
|
39
|
+
`board item close <item>`,
|
|
40
|
+
`board task archive <task>` and
|
|
41
|
+
`board unlink <task> --pr <pr> --reason <reason>`.
|
|
42
|
+
|
|
43
|
+
<!-- prettier-ignore-start -->
|
|
44
|
+
| Kind | Condition | Action | Severity | Clears when |
|
|
45
|
+
| --- | --- | --- | --- | --- |
|
|
46
|
+
| `token_request` | an agent asks for a token | approve or deny it in Slack within 15 minutes of the request | attention | approved, denied, expired or revoked |
|
|
47
|
+
| `post_blocked` | a text looked like a secret and was not sent | close the item once you have read it | attention | its block closes or you close the item |
|
|
48
|
+
| `post_failed` | a chat delivery failed | check the chat gateway, then retry the item | failure | you retry or close the item |
|
|
49
|
+
| `transport_health` | a chat connection is down | check the Slack app tokens | failure | the connection is back |
|
|
50
|
+
| `answer_undelivered` | an answer did not reach the asking session | check the asking session, then retry the item | failure | you retry the item, the session reads it or its block or turn closes |
|
|
51
|
+
| `worker_not_reading` | the worker does not read its doorbell | check the worker session, then retry the item | failure | you retry the item, the worker reads it or its block or turn closes |
|
|
52
|
+
| `answer_author_unavailable` | no live session can take an answer | with a task: comment on the task so a live session reads the answer, then close the item; without: pass the answer to the asking session yourself, then close the item | attention | you close the item |
|
|
53
|
+
| `inbound_failure` | a chat message could not be applied | check the daemon log, then retry the item | failure | a retry applies it or you close the item |
|
|
54
|
+
| `inbound_gap` | chat messages may be missing | check the conversation for missed messages | failure | you close the item |
|
|
55
|
+
| `board_observation` | any other key | check the task, then close the item | attention | the condition ends or you close the item |
|
|
56
|
+
| `board_observation` `source:` | a source is blind | check the token, settings, daemon or source it names | failure | the source reads again |
|
|
57
|
+
| `board_observation` `pr-outcome:` | a linked PR closed unmerged or vanished | check the pull request, then close the item or archive the task | attention | the PR is seen again or you close the item; unlinking does not clear it |
|
|
58
|
+
| `board_observation` `lookup:` | the ticket lookup failed | check the ticket in the tracker, then close the item or archive the task | attention | a lookup succeeds or you close the item |
|
|
59
|
+
| `board_observation` `operator-block:` | a block waits for you | not listed: shown as its block | attention | the block closes |
|
|
60
|
+
| `board_observation` `block:` | a block waits for its addressee | answer `B<n>` if it is a question, or close it with a reason; listed only when the block is not addressed to you; otherwise shown as its block | attention | the block closes |
|
|
61
|
+
| `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 |
|
|
62
|
+
| `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 |
|
|
63
|
+
| `worker_ended` | the task's worker session was killed | start a new worker for the task, or archive the task | attention | the flag ends |
|
|
64
|
+
| `turn` | a turn is yours | listed as its `T…` entry | attention | the turn closes |
|
|
65
|
+
| `anomaly` | a session or turn of the task is stuck, done or lost | 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 or its block closes |
|
|
66
|
+
| `cycle_limit` | the task reached its column's cycle limit | not listed: shown as its block | attention | its block closes |
|
|
67
|
+
| `course_check` | the task keeps returning from a column | wait for the answer to `B<n>`, or answer it yourself; listed only when addressed to the curator or orchestrator; otherwise shown as its block | attention | its block closes |
|
|
68
|
+
| `conversation_waiting` | your conversation waits for a live session | start a session in its Spur project, or close `B<n>` with a reason | attention | a session starts or the block closes |
|
|
69
|
+
<!-- prettier-ignore-end -->
|
|
@@ -4,7 +4,7 @@ Choose the topic for the decision or action in front of you:
|
|
|
4
4
|
|
|
5
5
|
- [Columns and gates](how-board-works-columns.md): find the executor, placement rules and gate requirements.
|
|
6
6
|
- [Turns and delivery](how-board-works-turns.md): acknowledge work, submit or return, handle doorbells and repeated returns.
|
|
7
|
-
- [Blocks and escalation](how-board-works-blocks.md): route a question or escalate a block.
|
|
7
|
+
- [Blocks and escalation](how-board-works-blocks.md): route a question or escalate a block, and read the operator inbox and what to do about each item.
|
|
8
8
|
- [Slack conversations](how-board-works-slack.md): choose a channel, address an agent and answer in a thread.
|
|
9
9
|
- [Done follows the ticket](how-board-works-done.md): check when a task is finished.
|
|
10
10
|
|
|
@@ -68,10 +68,10 @@ Missing UI assets return a 503 build hint while health and operations remain ava
|
|
|
68
68
|
|
|
69
69
|
The private web package builds the Board screen for one chosen project; the
|
|
70
70
|
[web UI](web-ui.md) guide describes what it shows and its states. It reads `config.get`,
|
|
71
|
-
`status.get` with detail for the chosen project, `inbox.operator
|
|
72
|
-
the open task, and never writes: answers and comments stay in the CLI, MCP and Slack. A card
|
|
71
|
+
`status.get` with detail for the chosen project, `inbox.operator`, `task.get` with `why` for
|
|
72
|
+
the open task and `task.history` while its History tab shows, and never writes: answers and comments stay in the CLI, MCP and Slack. A card
|
|
73
73
|
click or the address `?open=<task key>` opens the [task view](web-ui-task-view.md) with its
|
|
74
|
-
"Why it is here" section.
|
|
74
|
+
"Why it is here" section and its History tab.
|
|
75
75
|
The header holds the project switcher,
|
|
76
76
|
dispatcher mode, a key, session and block filter that dims and never hides cards, the live
|
|
77
77
|
indicator and the inbox count; columns follow configuration order, empty ones collapse and
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
# Web UI: task view
|
|
2
2
|
|
|
3
3
|
The task view of the [web UI](web-ui.md) shows one task in a dialog over the columns; on a
|
|
4
|
-
narrow screen it fills the screen. It reads `task.get` with `why` for the open task
|
|
5
|
-
the rest of the UI, only reads.
|
|
4
|
+
narrow screen it fills the screen. It reads `task.get` with `why` for the open task,
|
|
5
|
+
`task.history` while the History tab shows, and, like the rest of the UI, only reads.
|
|
6
6
|
|
|
7
7
|
## Opening it
|
|
8
8
|
|
|
@@ -23,7 +23,13 @@ address opens it too, with the full key (`?open=ex%2Frepo%237`) or a short one
|
|
|
23
23
|
GitHub in a new tab. A session is a link to its Spur UI page,
|
|
24
24
|
`<web.spurUiOrigin>/sessions/<session id>`, also in a new tab; when `web.spurUiOrigin` is not
|
|
25
25
|
set it is plain text `session <id>`. A Jira ticket is plain text: the UI knows no Jira address.
|
|
26
|
-
- `History`
|
|
26
|
+
- `History` lists the task's journal events, newest first; events at the same time keep the
|
|
27
|
+
reverse of their journal order. Each row shows the time (UTC, `hh:mm dd/mm/yy`), the summary
|
|
28
|
+
with who did it, and the raw event kind, such as `turn_taken`. An agent reads as its session;
|
|
29
|
+
a write that came through the web UI or Slack adds its channel: `operator (web)`,
|
|
30
|
+
`operator (slack)`. An event kind this version does not know still shows, with its raw kind.
|
|
31
|
+
On a narrow screen the kind is hidden. A task with no events reads
|
|
32
|
+
`No journal events for this task.`
|
|
27
33
|
|
|
28
34
|
## Why it is here
|
|
29
35
|
|
|
@@ -47,9 +53,12 @@ The section header sums up the failed and waiting conditions and the open blocks
|
|
|
47
53
|
- A failed read shows an error banner, `Could not load the task.`, with **Retry**, above the
|
|
48
54
|
data loaded before. While the UI is offline and the task was loaded, no banner shows in the
|
|
49
55
|
dialog: the Board's offline banner says so, and the rows may be out of date.
|
|
56
|
+
- History reads `task.history` only while its tab shows. A failed read shows
|
|
57
|
+
`Could not load the history.` with **Retry** above the rows loaded before, with the same
|
|
58
|
+
offline rule. A task the daemon no longer knows shows `Task not found.`
|
|
50
59
|
- The task view rereads the task when the stream names it, and whenever the UI rereads
|
|
51
60
|
everything: a `reset`, the 30-second status frame, a changed journal head or daemon instance,
|
|
52
|
-
and **Retry now**.
|
|
61
|
+
and **Retry now**. While History shows, it rereads the history at the same moments.
|
|
53
62
|
|
|
54
63
|
## Closing it
|
|
55
64
|
|
|
@@ -12,8 +12,8 @@ build the UI assets, then open `web.publicOrigin`. A 503 `UI is not built` means
|
|
|
12
12
|
see
|
|
13
13
|
[Building the web UI](https://github.com/AnDeVerin/spur-board/blob/main/SETUP.md#building-the-web-ui).
|
|
14
14
|
|
|
15
|
-
The UI reads `config.get`, `status.get` for the chosen project, `inbox.operator`, `task.get`
|
|
16
|
-
open task and the `/v1/events` stream
|
|
15
|
+
The UI reads `config.get`, `status.get` for the chosen project, `inbox.operator`, `task.get` and
|
|
16
|
+
`task.history` for the open task and the `/v1/events` stream; it keeps no data.
|
|
17
17
|
|
|
18
18
|
## What it shows
|
|
19
19
|
|
|
@@ -104,8 +104,9 @@ history entry, so Back after a close reopens it.
|
|
|
104
104
|
|
|
105
105
|
## Task view
|
|
106
106
|
|
|
107
|
-
A card or `?open=<task key>` opens the task view:
|
|
108
|
-
|
|
107
|
+
A card or `?open=<task key>` opens the task view: links, **Why it is here** and **History**
|
|
108
|
+
(journal events with the actor's channel, as `operator (web)`). See the
|
|
109
|
+
[task view](web-ui-task-view.md) guide.
|
|
109
110
|
|
|
110
111
|
## Live and stale states
|
|
111
112
|
|