spur-board 0.149.0 → 0.150.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-B49czSp7.mjs → chunk-6hZvXPE0.mjs} +10 -4
- package/dist/{chunk-BqpntwKX.mjs → chunk-D8IOOBWp.mjs} +1 -1
- package/dist/{chunk-CwyzJDIl.mjs → chunk-DM0fcX7h.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +215 -47
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/{index-hXCwPFEF.js → index-CP1St7Hl.js} +2 -2
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works-history.md +23 -20
- 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/dist/web/index.html
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
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-
|
|
11
|
+
<script type="module" crossorigin src="/assets/index-CP1St7Hl.js"></script>
|
|
12
12
|
<link rel="stylesheet" crossorigin href="/assets/index-CoOyeVqE.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">
|
package/package.json
CHANGED
|
@@ -8,32 +8,35 @@ time; events at one time keep journal order. Each names who acted and its channe
|
|
|
8
8
|
the client reported it; scheduled work and older clients have none. The summary
|
|
9
9
|
says what changed:
|
|
10
10
|
|
|
11
|
-
| Event | Summary
|
|
12
|
-
| ------------------------------------------------------------------- |
|
|
13
|
-
| `session_state_changed` | `Session <id>: <from> → <to>`, plus `, ended (killed)` and the like
|
|
14
|
-
| `checks_changed` | `Checks on <repo>#<n>: 2 failed: <names>`, else `3/4 green, 1 pending`
|
|
15
|
-
| `head_moved` | `New head <sha7> on <repo>#<n>`
|
|
16
|
-
| `mergeable_changed`, `pr_state_changed` | `Mergeable on <ref>: <from> → <to>`, `PR <ref>: <from> → <to>`
|
|
17
|
-
| `ticket_status_changed` | `Ticket status: <from> → <to>`
|
|
18
|
-
| `review_submitted` | `Review by <reviewer> on <ref>: <state>`
|
|
19
|
-
| `external_round` | `External change request by <reviewer> on <ref> at <sha7>: a course-check round`
|
|
20
|
-
| `task_moved` | `Moved <from> → <to>: <reason> (<gates>)`
|
|
21
|
-
| `task_manually_moved` | `Manually moved <from> → <to>: <reason>`; actor and channel name the operator write
|
|
22
|
-
| `task_mirror_moved` | `Mirror moved <from> → <to>: <source>`, `(shadow mode)` before `:` when only the shadow column moved; actor `system`
|
|
23
|
-
| `task_shadow_moved` | `Would move <from> → <to> (shadow mode): <reason> (<gates>)`
|
|
24
|
-
| `pr_facts_changed`, `session_facts_changed`, `ticket_facts_changed` | `PR <ref>:`, `Session <id>:` or `Ticket <key>:` with up to 3 changes and `+N more`; `first observed` the first time
|
|
25
|
-
| `block_*`, `comment_*`, `doorbell_*` | the ID with its addressee, outcome, revision or reason
|
|
26
|
-
| `turn_opened`, `turn_taken`, `turn_closed` | executor, taker, outcome
|
|
27
|
-
| `turn_wait_started`, `turn_wait_ended` | `Turn T<n> waits until <until>: <reason>`, `Turn T<n> wait ended: <outcome>`
|
|
11
|
+
| Event | Summary |
|
|
12
|
+
| ------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------- |
|
|
13
|
+
| `session_state_changed` | `Session <id>: <from> → <to>`, plus `, ended (killed)` and the like |
|
|
14
|
+
| `checks_changed` | `Checks on <repo>#<n>: 2 failed: <names>`, else `3/4 green, 1 pending`; then `<names> cancelled, now counts as red`, `<names> cancelled, waiting for a new run` |
|
|
15
|
+
| `head_moved` | `New head <sha7> on <repo>#<n>` |
|
|
16
|
+
| `mergeable_changed`, `pr_state_changed` | `Mergeable on <ref>: <from> → <to>`, `PR <ref>: <from> → <to>` |
|
|
17
|
+
| `ticket_status_changed` | `Ticket status: <from> → <to>` |
|
|
18
|
+
| `review_submitted` | `Review by <reviewer> on <ref>: <state>` |
|
|
19
|
+
| `external_round` | `External change request by <reviewer> on <ref> at <sha7>: a course-check round` |
|
|
20
|
+
| `task_moved` | `Moved <from> → <to>: <reason> (<gates>)` |
|
|
21
|
+
| `task_manually_moved` | `Manually moved <from> → <to>: <reason>`; actor and channel name the operator write |
|
|
22
|
+
| `task_mirror_moved` | `Mirror moved <from> → <to>: <source>`, `(shadow mode)` before `:` when only the shadow column moved; actor `system` |
|
|
23
|
+
| `task_shadow_moved` | `Would move <from> → <to> (shadow mode): <reason> (<gates>)` |
|
|
24
|
+
| `pr_facts_changed`, `session_facts_changed`, `ticket_facts_changed` | `PR <ref>:`, `Session <id>:` or `Ticket <key>:` with up to 3 changes and `+N more`; `first observed` the first time |
|
|
25
|
+
| `block_*`, `comment_*`, `doorbell_*` | the ID with its addressee, outcome, revision or reason |
|
|
26
|
+
| `turn_opened`, `turn_taken`, `turn_closed` | executor, taker, outcome |
|
|
27
|
+
| `turn_wait_started`, `turn_wait_ended` | `Turn T<n> waits until <until>: <reason>`, `Turn T<n> wait ended: <outcome>` |
|
|
28
28
|
|
|
29
29
|
`turn_closed` names the operator as actor when an operator's submit or return
|
|
30
30
|
closed the turn; every other close names `system`.
|
|
31
31
|
|
|
32
32
|
`task_reordered` is journaled but not listed in History.
|
|
33
33
|
|
|
34
|
-
Checks count the required ones, else all but skipped.
|
|
35
|
-
|
|
36
|
-
|
|
34
|
+
Checks count the required ones, else all but skipped. Right of `dev`
|
|
35
|
+
(`checksGate`), a cancelled check among them counts as pending until the second
|
|
36
|
+
complete poll after its sighting turns it red; that poll adds one checks row. A facts row
|
|
37
|
+
leaves out what other rows say (head, checks, PR state, mergeability, reviews,
|
|
38
|
+
ticket status) and update and activity times; with nothing else changed it is
|
|
39
|
+
not shown.
|
|
37
40
|
|
|
38
41
|
Manual move event payloads and `board task <KEY> --why` move text preserve the literal
|
|
39
42
|
reason. History summaries normalize whitespace to one line and display plain text;
|
|
@@ -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
|