spur-board 0.149.1 → 0.151.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-Cy6VBP_I.mjs → chunk-6hZvXPE0.mjs} +3 -3
- package/dist/{chunk-BhHKMsqI.mjs → chunk-D8IOOBWp.mjs} +1 -1
- package/dist/{chunk-C-Jr3pwy.mjs → chunk-DM0fcX7h.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +154 -26
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/{index-CoOyeVqE.css → index-BfWHfRtD.css} +1 -1
- package/dist/web/assets/{index-CP1St7Hl.js → index-dzH_jnUB.js} +2 -2
- package/dist/web/index.html +2 -2
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works-inbox.md +5 -5
- package/skills/spur-board/references/how-board-works-slack.md +10 -1
- package/skills/spur-board/references/web-ui-task-view.md +19 -18
package/dist/web/index.html
CHANGED
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
<meta name="apple-mobile-web-app-title" content="Board" />
|
|
9
9
|
<meta name="apple-mobile-web-app-status-bar-style" content="black" />
|
|
10
10
|
<title>Spur Board</title>
|
|
11
|
-
<script type="module" crossorigin src="/assets/index-
|
|
12
|
-
<link rel="stylesheet" crossorigin href="/assets/index-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-dzH_jnUB.js"></script>
|
|
12
|
+
<link rel="stylesheet" crossorigin href="/assets/index-BfWHfRtD.css">
|
|
13
13
|
<link rel="icon" href="/favicon.svg" type="image/svg+xml" sizes="any">
|
|
14
14
|
<link rel="icon" href="/favicon-32.png" type="image/png" sizes="32x32">
|
|
15
15
|
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
|
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ Kinds of [operator inbox](how-board-works-blocks.md#operator-inbox) entries: wha
|
|
|
7
7
|
<!-- prettier-ignore-start -->
|
|
8
8
|
| Kind | Condition | Action | Severity | Clears when | URL |
|
|
9
9
|
| --- | --- | --- | --- | --- | --- |
|
|
10
|
-
| `token_request` | an agent asks for a token | approve or deny it in Slack within 15 minutes of
|
|
10
|
+
| `token_request` | an agent asks for a token | approve or deny it in Slack within 15 minutes of asking | attention | approved, denied, expired or revoked | stored target |
|
|
11
11
|
| `post_blocked` | a text looked like a secret and was not sent | read it, then close the item | attention | its block closes or you close the item | stored target |
|
|
12
12
|
| `post_failed` | a chat delivery failed | check the chat gateway, then retry the item | failure | you retry or close the item | own delivered message permalink, else the immediate parent's when known |
|
|
13
13
|
| `transport_health` | a chat connection is down | check the Slack app tokens | failure | the connection is back | stored target |
|
|
@@ -20,15 +20,15 @@ Kinds of [operator inbox](how-board-works-blocks.md#operator-inbox) entries: wha
|
|
|
20
20
|
| `board_observation` `source:` | a source is blind | check the token, settings, daemon or source it names | failure | the source reads again | official GitHub REST troubleshooting or Jira REST docs; absent for Spur or unknown sources |
|
|
21
21
|
| `board_observation` `default-branch:` | the latest check run of a push-triggered workflow on a linked repo's default-branch head failed, was cancelled or timed out, or a commit status there failed; other runs (scheduled, manual) and non-workflow check runs never count, and branch protection is not read. The text names the repo, first red commit, check and run; each red re-read moves its fact time, not the text; `status.get` shows `sources[].defaultBranch` | open the failing run; fix or revert | failure | a later default-branch head is green | stored failing run or status target, retained after handling |
|
|
22
22
|
| `board_observation` `pr-outcome:` | a linked PR closed unmerged or vanished | check the PR, then close the item or archive the task | attention | the PR is seen again or you close the item; unlinking does not clear it | stored target |
|
|
23
|
-
| `board_observation` `lookup:` | the ticket lookup failed | check the ticket
|
|
24
|
-
| `board_observation` `operator-block:` | a block waits for you | not listed: shown as its block | attention | the block closes | stored target |
|
|
23
|
+
| `board_observation` `lookup:` | the ticket lookup failed | check the tracker ticket, then close the item or archive the task | attention | a lookup succeeds or you close the item | stored target |
|
|
24
|
+
| `board_observation` `operator-block:` | a block waits for you | not listed: shown as its block | attention | the block closes, also via Close on its feed line | stored target |
|
|
25
25
|
| `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 | stored target |
|
|
26
26
|
| `board_observation` `filter:` | the ticket left the tracker filter but work is live | return the ticket to the 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
|
-
| `board_observation` `health:` | a session health flag | check session `<session>` in Spur; a vanished worker: start a new one
|
|
27
|
+
| `board_observation` `health:` | a session health flag | check session `<session>` in Spur; a vanished worker: start a new one 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:` | a named-orchestrator column's untaken turns have no live session to ring for its `noRecipientAfterMs` (default 10 min), timed from the later of the ring and the first end, absence or finished state (stopped, killed, errored, completed) of the last recipient session of the column's Spur project or the task's linked orchestrator; one item per project and column, on the oldest waiting turn's task, with the waiting count and minutes without a live session; 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 closed, it stays closed while the same oldest turn waits | stored target |
|
|
29
29
|
| `board_observation` `review-rule:` | under `github-rules`, an External Review task whose head GitHub left undecided 30 min with no stored decision (unknown or behind merge state, unreadable rule), or blocks with every thread resolved, approval in place, External Review unbound (at once; threads return it to Dev); one per task, PR, head stretch, naming the cause and raw `mergeStateStatus`, `mergeable` and `reviewDecision` (undecided: first raise per cause; blocked: current). Undecided time elsewhere counts; a closed item stays closed in its stretch until its text (not a blocked item's raw values) changes. Drafts, conflicts, changes requested (GitHub's too) and pending or missing required checks have own reasons | check the PR and rules on GitHub: update the branch, let the token read rules or wait, then close it | attention | the head is decided otherwise, gets its own reason or is replaced, or the task leaves | stored target |
|
|
30
30
|
| `board_observation` `external-quiet:` | a task with an open PR sat in External Review past its `quietAfterMs` with no new external review round; held while GitHub is blind or stale | request a new external review round or approve the PR by hand | attention | a new external review or head, or the task leaves | stored target |
|
|
31
|
-
| `worker_ended` | an agent holding the current open non-Done turn ended for any reason, PRs or links aside; also a killed worker without a PR whose ticket is not done; a new item posts a feed line with Close; each complete Spur poll moves its fact time | start a new worker
|
|
31
|
+
| `worker_ended` | an agent holding the current open non-Done turn ended for any reason, PRs or links aside; also a killed worker without a PR whose ticket is not done; a new item posts a feed line with Close; each complete Spur poll moves its fact time | start a new worker or archive the task; an operator turn: retake it (`board inbox ack`) | attention | the turn closes, its holder changes, the task leaves the column visit or is archived; a turnless worker: the health flag ends or the ticket is done | stored target |
|
|
32
32
|
| `turn` | a turn is yours | listed as its `T…` entry | attention | the turn closes | absent |
|
|
33
33
|
| `anomaly` | a live session or turn of the task is stuck, or a worker completed without a [counting PR](how-board-works-done.md#merged-pr-alerts), 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 |
|
|
34
34
|
| `cycle_limit` | the task reached its column's cycle limit | not listed: shown as its block | attention | its block closes | stored target |
|
|
@@ -3,7 +3,16 @@
|
|
|
3
3
|
## Slack now
|
|
4
4
|
|
|
5
5
|
`slack.channels.feed`: curator answers and operator items,
|
|
6
|
-
except delivery/health items and
|
|
6
|
+
except delivery/health items and the block items: anomaly, cycle limit,
|
|
7
|
+
course check and conversation waiting. A block addressed to you by others
|
|
8
|
+
gets a feed line once its thread is out; the line links the thread, or comes
|
|
9
|
+
without the link when the thread post fails for good. A thread blocked as a
|
|
10
|
+
secret gets a blocked-post item, which takes the line's place. A reply
|
|
11
|
+
in the thread answers a question block; on another block type it is not processed
|
|
12
|
+
and raises an item. Close on that line closes the block without an answer, as
|
|
13
|
+
your unblock with the reason `closed by the operator from the feed`; on an
|
|
14
|
+
already closed block it only clears the line. Every block line says what Close
|
|
15
|
+
does above the block's reason. An `external-quiet:` item line
|
|
7
16
|
ends with its inbox action.
|
|
8
17
|
`slack.channels.orchestrators`: block threads addressed to the operator by
|
|
9
18
|
others. Answer in the existing block thread. A later reply on an answered
|
|
@@ -1,7 +1,7 @@
|
|
|
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` and `detail` for the open task
|
|
4
|
+
narrow screen it fills the screen. It reads `task.get` with `why` and `detail` for the open task and, like
|
|
5
5
|
the rest of the UI, refreshes from the event stream. It also offers the writes below.
|
|
6
6
|
|
|
7
7
|
## Opening it
|
|
@@ -19,22 +19,21 @@ is selected once configuration arrives. Back and Forward restore both layers.
|
|
|
19
19
|
the active Now tab's weight and colour, then lowercase time since the task entered its
|
|
20
20
|
column, from its card's status row: shadow moves and shadow corrections do not count, and a
|
|
21
21
|
task that never moved counts from when it was added. Like the card, it counts to the last good
|
|
22
|
-
status read
|
|
22
|
+
status read. A task with no card in the chosen project, or a card
|
|
23
23
|
in another column, omits the time; no task data shows only the key.
|
|
24
24
|
Now/History tabs and Close sit at its right.
|
|
25
|
-
- `Now` starts with the ticket title
|
|
26
|
-
|
|
27
|
-
no title line.
|
|
25
|
+
- `Now` starts with the ticket title from the task's card: a placeholder until the status read
|
|
26
|
+
answers, none without a card in the chosen project.
|
|
28
27
|
- Below the title come chips for the task's links: tickets, then pull requests, then sessions.
|
|
29
28
|
They reuse the card's bordered PR status cells with ticket, PR and terminal icons. Soft fills
|
|
30
29
|
and icon colours follow link kind: violet for tickets, green for PRs and blue for sessions,
|
|
31
|
-
with neutral text and borders, including links without a destination. A
|
|
32
|
-
its
|
|
30
|
+
with neutral text and borders, including links without a destination. A PR link stays green whatever
|
|
31
|
+
its checks or status. The current
|
|
33
32
|
ticket uses its held card's Jira browse URL or safe observed URL, even without a browse base
|
|
34
33
|
or task link; unsafe/missing destinations stay plain, outside Tab order.
|
|
35
34
|
Long labels truncate with full accessible text and hover titles. Links use
|
|
36
35
|
the focus ring; text brightens on hover, focus within and touch.
|
|
37
|
-
Pull requests written `<owner>/<repo>#<n>` open GitHub
|
|
36
|
+
Pull requests written `<owner>/<repo>#<n>` open GitHub. Sessions open
|
|
38
37
|
`<web.spurUiOrigin>/sessions/<session id>`; without that origin they stay plain.
|
|
39
38
|
Extra tickets, and the current ticket without a matching held card, use these ref rules:
|
|
40
39
|
`<owner>/<repo>#<n>` opens GitHub; a Jira key such as `PROJ-12` uses the project's
|
|
@@ -42,6 +41,9 @@ is selected once configuration arrives. Back and Forward restore both layers.
|
|
|
42
41
|
Other ticket refs, Jira keys from another project, or Jira keys without a browse base stay plain.
|
|
43
42
|
All links open new tabs.
|
|
44
43
|
- A Backlog task, unless archived, shows `Move to` [part buttons](web-ui-board-move.md).
|
|
44
|
+
- A taken open turn's active wait, unless it is an operator turn you hold, adds an amber strip
|
|
45
|
+
under the chips: `waiting: <reason> · wakes <hh:mm>` (UTC), then `(in 20m)`/`(now)`. Unlike
|
|
46
|
+
the card, it shows during a stall too. Long reasons wrap; hidden while the Turn section re-reads.
|
|
45
47
|
- `History` lists the task's journal events, newest first by event time; events at the same
|
|
46
48
|
time keep the reverse of their journal order. Each row shows the time (UTC, `hh:mm dd/mm/yy`),
|
|
47
49
|
the summary of what changed with who did it, and the raw event kind, such as `turn_taken`. An agent reads as its session;
|
|
@@ -60,8 +62,7 @@ is selected once configuration arrives. Back and Forward restore both layers.
|
|
|
60
62
|
## Why it is here
|
|
61
63
|
|
|
62
64
|
The section lists the exit conditions of the column the dispatcher works from (the shadow
|
|
63
|
-
column in shadow mode): each one met, failed
|
|
64
|
-
checked. A column without exit conditions reads `No exit conditions in <column>`; when the
|
|
65
|
+
column in shadow mode): each one met, failed or waiting with its reason, or not checked. A column without exit conditions reads `No exit conditions in <column>`; when the
|
|
65
66
|
conditions are unknown (an unconfigured project, or missing pull request facts) the row reads
|
|
66
67
|
`Exit conditions unknown`.
|
|
67
68
|
|
|
@@ -98,7 +99,7 @@ submission.
|
|
|
98
99
|
|
|
99
100
|
## Blocks and comments
|
|
100
101
|
|
|
101
|
-
**Blocks
|
|
102
|
+
**Blocks**, **Comments** and their three writes (answer, follow up, comment):
|
|
102
103
|
[blocks and comments](web-ui-task-blocks.md).
|
|
103
104
|
|
|
104
105
|
## States
|
|
@@ -106,14 +107,14 @@ submission.
|
|
|
106
107
|
- A key the daemon does not know, or a value that is not a task key such as `?open=509`, shows
|
|
107
108
|
`Task not found.`
|
|
108
109
|
- A failed read shows an error banner, `Could not load the task.`, with **Retry**, above the
|
|
109
|
-
data loaded before.
|
|
110
|
-
|
|
110
|
+
data loaded before. Offline with the task loaded, the dialog shows no banner: the Board's
|
|
111
|
+
offline banner says so, and the rows may be out of date.
|
|
111
112
|
- History reads `task.history` only while its tab shows. A failed read shows
|
|
112
113
|
`Could not load the history.` with **Retry** above the rows loaded before, with the same
|
|
113
114
|
offline rule. A task the daemon no longer knows shows `Task not found.`
|
|
114
|
-
-
|
|
115
|
-
|
|
116
|
-
|
|
115
|
+
- It rereads the task when the stream names it and whenever the UI rereads everything: a
|
|
116
|
+
`reset`, the 30-second status frame, a changed journal head or daemon instance, and
|
|
117
|
+
**Retry now**. A shown History rereads at the same moments.
|
|
117
118
|
|
|
118
119
|
## Closing it
|
|
119
120
|
|
|
@@ -123,6 +124,6 @@ returns to the card that opened it; after opening from the address, to the card
|
|
|
123
124
|
when the columns show it.
|
|
124
125
|
|
|
125
126
|
For a task opened from the inbox, closing returns to `?open=inbox` and keeps the panel and its
|
|
126
|
-
filter open. Focus returns to the inbox row that opened the task, or
|
|
127
|
-
|
|
127
|
+
filter open. Focus returns to the inbox row that opened the task, or, if that row is gone, to
|
|
128
|
+
the panel's Close button. A second Escape closes the inbox and focuses its header
|
|
128
129
|
button. Closing adds a history entry, so Back opens the task again.
|