spur-board 0.113.1 → 0.113.2
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-DFqvm5hQ.mjs → chunk-CmspwSGJ.mjs} +2 -2
- package/dist/{chunk-Bw_gFKmQ.mjs → chunk-D8Hzrgjz.mjs} +1 -1
- package/dist/{chunk-5l4Msgb0.mjs → chunk-rTvExhCq.mjs} +1 -1
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +19 -14
- package/dist/mcp.mjs +3 -3
- package/dist/web/assets/{index-Coclyerx.js → index-4vTQ0kWg.js} +1 -1
- package/dist/web/index.html +1 -1
- package/package.json +1 -1
- package/skills/setup/SKILL.md +3 -6
- package/skills/setup/references/access.md +5 -0
- package/skills/setup/references/inspect.md +5 -0
- package/skills/spur-board/SKILL.md +2 -16
- package/skills/spur-board/references/how-board-works-blocks.md +1 -28
- package/skills/spur-board/references/how-board-works-history.md +27 -0
- package/skills/spur-board/references/how-board-works-inbox.md +34 -0
- package/skills/spur-board/references/how-board-works-slack.md +1 -1
- package/skills/spur-board/references/how-board-works-turns.md +1 -27
- package/skills/spur-board/references/how-board-works.md +4 -2
- package/skills/spur-board/references/worker-flow.md +18 -0
package/dist/web/index.html
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
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-
|
|
7
|
+
<script type="module" crossorigin src="/assets/index-4vTQ0kWg.js"></script>
|
|
8
8
|
<link rel="stylesheet" crossorigin href="/assets/index-D3FoHmlk.css">
|
|
9
9
|
</head>
|
|
10
10
|
<body>
|
package/package.json
CHANGED
package/skills/setup/SKILL.md
CHANGED
|
@@ -9,9 +9,8 @@ Ask one question at a time when inspection cannot answer it. Check before writin
|
|
|
9
9
|
|
|
10
10
|
## 1. Inspect
|
|
11
11
|
|
|
12
|
-
- Check
|
|
13
|
-
-
|
|
14
|
-
- Locate `config.yaml` and `secrets.env` under `$XDG_CONFIG_HOME/spur-board/` (default `$HOME/.config/spur-board/`), or under `$BOARD_HOME` when set. Inspect configured fields, required secret _names_ and file modes, package and skill versions, service status, operator access, and product-skill visibility. Never print private file contents.
|
|
12
|
+
- Check prerequisites, Spur and the config files as in [inspection](references/inspect.md).
|
|
13
|
+
- Never print private file contents. Stop with a specific fix for any missing prerequisite.
|
|
15
14
|
- If config exists, run `board doctor --offline`; it checks config only. If the service is reachable, record failed and warning check names from `board doctor --json`.
|
|
16
15
|
|
|
17
16
|
## 2. Install the package
|
|
@@ -31,9 +30,7 @@ Ask one question at a time when inspection cannot answer it. Check before writin
|
|
|
31
30
|
## 4. Start service and grant access
|
|
32
31
|
|
|
33
32
|
- Check `board service status`; if absent, run `board service install`. Ask before enabling user lingering, which keeps the service running after logout.
|
|
34
|
-
-
|
|
35
|
-
- Check installed skill stamps and content. If absent or older, ask before writing skill folders, run `board skills install`, then verify both Claude Code and Codex copies.
|
|
36
|
-
- For a Spur project used by Codex, check `.agents/skills/spur-board/SKILL.md` in a fresh session. If missing, ask before touching the project's main checkout. In that checkout, link the path to the installed product skill, for example `ln -s "$HOME/.codex/skills/spur-board" .agents/skills/spur-board`. Add `/.agents/skills/spur-board` to the Git exclude file resolved by `git rev-parse --git-path info/exclude`. Add `.agents/skills/spur-board` to that project's `symlinks` in `spur.yaml` and reload Spur config. Start a new session and verify the injected SKILL.md resolves.
|
|
33
|
+
- For operator access, skill installs and Codex project links, follow [access and skills](references/access.md).
|
|
37
34
|
|
|
38
35
|
## 5. Finish
|
|
39
36
|
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Operator access and skills
|
|
2
|
+
|
|
3
|
+
- If operator access is unset, ask whether to use a Spur project marked `operator`, without a token, or an outside-Spur session rooted in a chosen folder inside its git worktree if any, never above it. If no valid token exists, run `board token create --name <name> --into <folder>`, then have the operator approve the Slack prompt with its `requestHash`. Check existing agent registration before registering `board mcp`.
|
|
4
|
+
- Check installed skill stamps and content. If absent or older, ask before writing skill folders, run `board skills install`, then verify both Claude Code and Codex copies.
|
|
5
|
+
- For a Spur project used by Codex, check `.agents/skills/spur-board/SKILL.md` in a fresh session. If missing, ask before touching the project's main checkout. In that checkout, link the path to the installed product skill, for example `ln -s "$HOME/.codex/skills/spur-board" .agents/skills/spur-board`. Add `/.agents/skills/spur-board` to the Git exclude file resolved by `git rev-parse --git-path info/exclude`. Add `.agents/skills/spur-board` to that project's `symlinks` in `spur.yaml` and reload Spur config. Start a new session and verify the injected SKILL.md resolves.
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
# Inspect
|
|
2
|
+
|
|
3
|
+
- Check Linux, systemd user services, npm, `flock`, and Node 24.12+ (24.x) or 26.x. Read the PATH and Node executable from a live Spur session and check its version; the interactive shell may use another Node. Stop with a specific fix for any missing prerequisite.
|
|
4
|
+
- Check Spur through its HTTP API, or run its CLI from the home folder. Running it inside a folder with `spur.yaml` can attach that folder to the daemon.
|
|
5
|
+
- Locate `config.yaml` and `secrets.env` under `$XDG_CONFIG_HOME/spur-board/` (default `$HOME/.config/spur-board/`), or under `$BOARD_HOME` when set. Inspect configured fields, required secret _names_ and file modes, package and skill versions, service status, operator access, and product-skill visibility. Never print private file contents.
|
|
@@ -33,25 +33,11 @@ On `turn_closed`, act only on a turn `board inbox` lists. Shadow mode opens no t
|
|
|
33
33
|
|
|
34
34
|
## Worker flow
|
|
35
35
|
|
|
36
|
-
-
|
|
37
|
-
|
|
38
|
-
`board link`. URL from the key: `o/r#12` is `https://github.com/o/r/issues/12`.
|
|
39
|
-
- Blocking: keyed `board ask <task> <text>`; keep its B<number> and wait for the
|
|
40
|
-
doorbell. Update: keyed `board comment <task> <text>`.
|
|
36
|
+
Read [the worker flow](references/worker-flow.md) for session links, asks, updates, "back" code blocks, exit codes and own-session answers.
|
|
37
|
+
|
|
41
38
|
- On doorbell, read `board inbox` and the addressed C<number>@<revision> comment or B<number>
|
|
42
39
|
block. Once handled, ack its revision, ID or ring N<number>-<ring> with keyed
|
|
43
40
|
`board inbox ack <entries>`. Keyed `board answer` handles its block; no ack follows.
|
|
44
|
-
- For a "back" code block to you, read `board task <task>` for the reason, fix it,
|
|
45
|
-
then keyed `board unblock <block> --done <ref>` with commit/PR link.
|
|
46
|
-
- Exit 3: not applied. Ask in your own session; when the Board returns, retry identically.
|
|
47
|
-
- Exit 4: no Board config; report in your session; keep the key.
|
|
48
|
-
- Exit 5 (unknown): retry up to 3 times in a minute, then ask in your own session.
|
|
49
|
-
Reads take no `--key`.
|
|
50
|
-
- An answer in your own session: add one keyed provenance-only task-level comment,
|
|
51
|
-
then keyed `board unblock <block> --withdraw <answer>`; it records the answer and
|
|
52
|
-
replies. Add no other answer comment or reply.
|
|
53
|
-
- Only the asking session may `--withdraw`. A replacement session posts provenance in a
|
|
54
|
-
keyed `board comment` and leaves the block open.
|
|
55
41
|
|
|
56
42
|
## Board commands
|
|
57
43
|
|
|
@@ -48,31 +48,4 @@ A stored target is a known structured HTTP(S) destination, never a generic place
|
|
|
48
48
|
URL extracted from text. Unknown or invalid targets are omitted. Active and handled entries
|
|
49
49
|
carry the same optional `url`; blocks and turns have no synthetic target.
|
|
50
50
|
|
|
51
|
-
|
|
52
|
-
| Kind | Condition | Action | Severity | Clears when | URL |
|
|
53
|
-
| --- | --- | --- | --- | --- | --- |
|
|
54
|
-
| `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 | stored target |
|
|
55
|
-
| `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 | stored target |
|
|
56
|
-
| `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 immediate parent permalink when known |
|
|
57
|
-
| `transport_health` | a chat connection is down | check the Slack app tokens | failure | the connection is back | stored target |
|
|
58
|
-
| `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 | stored target |
|
|
59
|
-
| `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 | stored target |
|
|
60
|
-
| `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 | stored target |
|
|
61
|
-
| `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 | stored target |
|
|
62
|
-
| `inbound_gap` | chat messages may be missing | check the conversation for missed messages | failure | you close the item | stored target |
|
|
63
|
-
| `board_observation` | any other key | check the task, then close the item | attention | the condition ends or you close the item | stored target |
|
|
64
|
-
| `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 |
|
|
65
|
-
| `board_observation` `default-branch:` | the latest check run of a push-triggered workflow on a linked repo's default-branch head finished without success (failed, cancelled, timed out), or a commit status there failed; scheduled, manual and other runs and check runs outside workflows never count, and branch protection is not read. The text names the repo, the first red commit, the check and the run; each poll that reads it red again 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 |
|
|
66
|
-
| `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 | stored target |
|
|
67
|
-
| `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 | stored target |
|
|
68
|
-
| `board_observation` `operator-block:` | a block waits for you | not listed: shown as its block | attention | the block closes | stored target |
|
|
69
|
-
| `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 |
|
|
70
|
-
| `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 | stored target |
|
|
71
|
-
| `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 | stored target |
|
|
72
|
-
| `worker_ended` | an agent holding the current open non-Done turn ended, with any end reason and regardless of PRs or links; also a killed worker without a PR | start a new worker for the task, or archive the task | attention | the turn closes, its holder changes, the task leaves the column visit or is archived; for a worker without a turn, the health flag ends | stored target |
|
|
73
|
-
| `turn` | a turn is yours | listed as its `T…` entry | attention | the turn closes | absent |
|
|
74
|
-
| `anomaly` | a live session or turn of the task is stuck, or a worker completed without a PR 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 or its block closes | stored target |
|
|
75
|
-
| `cycle_limit` | the task reached its column's cycle limit | not listed: shown as its block | attention | its block closes | stored target |
|
|
76
|
-
| `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 | stored target |
|
|
77
|
-
| `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 | stored target |
|
|
78
|
-
<!-- prettier-ignore-end -->
|
|
51
|
+
[Operator inbox items](how-board-works-inbox.md) lists each item kind, its action, severity, when it clears and its URL.
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Task history
|
|
2
|
+
|
|
3
|
+
## Task history
|
|
4
|
+
|
|
5
|
+
`board task history <task>` lists the task's journal events oldest first by
|
|
6
|
+
time; events at one time keep journal order. Each names who acted and its channel
|
|
7
|
+
(`via`): `web` or `slack` where the daemon received the write, `cli` or `mcp` as
|
|
8
|
+
the client reported it; scheduled work and older clients have none. The summary
|
|
9
|
+
says what changed:
|
|
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
|
+
| `task_moved` | `Moved <from> → <to>: <reason> (<gates>)` |
|
|
20
|
+
| `task_shadow_moved` | `Would move <from> → <to> (shadow mode): <reason> (<gates>)` |
|
|
21
|
+
| `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 |
|
|
22
|
+
| `block_*`, `comment_*`, `doorbell_*` | the ID with its addressee, outcome, revision or reason |
|
|
23
|
+
| `turn_opened`, `turn_taken`, `turn_closed` | executor, taker, outcome |
|
|
24
|
+
|
|
25
|
+
Checks count the required ones, else all but skipped. A facts row leaves out what
|
|
26
|
+
other rows say (head, checks, PR state, mergeability, reviews, ticket status) and
|
|
27
|
+
update and activity times; with nothing else changed it is not shown.
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
# Operator inbox items
|
|
2
|
+
|
|
3
|
+
Kinds of [operator inbox](how-board-works-blocks.md#operator-inbox) entries, what to do about each and when it clears.
|
|
4
|
+
|
|
5
|
+
## Item kinds
|
|
6
|
+
|
|
7
|
+
<!-- prettier-ignore-start -->
|
|
8
|
+
| Kind | Condition | Action | Severity | Clears when | URL |
|
|
9
|
+
| --- | --- | --- | --- | --- | --- |
|
|
10
|
+
| `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 | stored target |
|
|
11
|
+
| `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 | stored target |
|
|
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 immediate parent permalink when known |
|
|
13
|
+
| `transport_health` | a chat connection is down | check the Slack app tokens | failure | the connection is back | stored target |
|
|
14
|
+
| `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 | stored target |
|
|
15
|
+
| `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 | stored target |
|
|
16
|
+
| `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 | stored target |
|
|
17
|
+
| `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 | stored target |
|
|
18
|
+
| `inbound_gap` | chat messages may be missing | check the conversation for missed messages | failure | you close the item | stored target |
|
|
19
|
+
| `board_observation` | any other key | check the task, then close the item | attention | the condition ends or you close the item | stored target |
|
|
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
|
+
| `board_observation` `default-branch:` | the latest check run of a push-triggered workflow on a linked repo's default-branch head finished without success (failed, cancelled, timed out), or a commit status there failed; scheduled, manual and other runs and check runs outside workflows never count, and branch protection is not read. The text names the repo, the first red commit, the check and the run; each poll that reads it red again 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
|
+
| `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 | stored target |
|
|
23
|
+
| `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 | stored target |
|
|
24
|
+
| `board_observation` `operator-block:` | a block waits for you | not listed: shown as its block | attention | the block closes | stored target |
|
|
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
|
+
| `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 | stored target |
|
|
27
|
+
| `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; for a vanished worker also when the ticket is done | stored target |
|
|
28
|
+
| `worker_ended` | an agent holding the current open non-Done turn ended, with any end reason and regardless of PRs or links; also a killed worker without a PR whose ticket is not done; each new item posts a feed line with Close; each complete Spur poll moves its fact time | start a new worker for the task, or archive the task | attention | the turn closes, its holder changes, the task leaves the column visit or is archived; for a worker without a turn, the health flag ends or the ticket is done | stored target |
|
|
29
|
+
| `turn` | a turn is yours | listed as its `T…` entry | attention | the turn closes | absent |
|
|
30
|
+
| `anomaly` | a live session or turn of the task is stuck, or a worker completed without a PR, 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 |
|
|
31
|
+
| `cycle_limit` | the task reached its column's cycle limit | not listed: shown as its block | attention | its block closes | stored target |
|
|
32
|
+
| `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 | stored target |
|
|
33
|
+
| `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 | stored target |
|
|
34
|
+
<!-- prettier-ignore-end -->
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
## Slack now
|
|
4
4
|
|
|
5
5
|
`slack.channels.feed`: curator answers and operator items,
|
|
6
|
-
except delivery/health
|
|
6
|
+
except delivery/health items and blocks.
|
|
7
7
|
`slack.channels.orchestrators`: block threads addressed to the operator by
|
|
8
8
|
others. Answer in the existing block thread. A later reply on an answered
|
|
9
9
|
block is a follow-up, the same as `board followup`.
|
|
@@ -23,7 +23,7 @@ show `returned`: who, from, the turn, the `code` block and the verbatim reason.
|
|
|
23
23
|
Closed turns receive no further Board sends; Obsolete queued rings are dropped;
|
|
24
24
|
a message already accepted by Spur cannot be retracted. Check `board inbox` and
|
|
25
25
|
act only on a current turn; reread after `turn_closed`.
|
|
26
|
-
[Task history](#task-history) lists journal events `turn_opened`,
|
|
26
|
+
[Task history](how-board-works-history.md#task-history) lists journal events `turn_opened`,
|
|
27
27
|
`turn_taken` and `turn_closed`: executor, taker, outcome.
|
|
28
28
|
|
|
29
29
|
Open-turn executors in `needs_input`, `error`, `rate_limited` or `stopped` raise
|
|
@@ -77,29 +77,3 @@ resets the course count and reaches the worker as a task comment. Only the
|
|
|
77
77
|
operator can resolve the separate cycle limit and reset its count. With no live
|
|
78
78
|
session it falls back to the operator; a live conductor that does not
|
|
79
79
|
answer keeps the question.
|
|
80
|
-
|
|
81
|
-
## Task history
|
|
82
|
-
|
|
83
|
-
`board task history <task>` lists the task's journal events oldest first by
|
|
84
|
-
time; events at one time keep journal order. Each names who acted and its channel
|
|
85
|
-
(`via`): `web` or `slack` where the daemon received the write, `cli` or `mcp` as
|
|
86
|
-
the client reported it; scheduled work and older clients have none. The summary
|
|
87
|
-
says what changed:
|
|
88
|
-
|
|
89
|
-
| Event | Summary |
|
|
90
|
-
| ------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
91
|
-
| `session_state_changed` | `Session <id>: <from> → <to>`, plus `, ended (killed)` and the like |
|
|
92
|
-
| `checks_changed` | `Checks on <repo>#<n>: 2 failed: <names>`, else `3/4 green, 1 pending` |
|
|
93
|
-
| `head_moved` | `New head <sha7> on <repo>#<n>` |
|
|
94
|
-
| `mergeable_changed`, `pr_state_changed` | `Mergeable on <ref>: <from> → <to>`, `PR <ref>: <from> → <to>` |
|
|
95
|
-
| `ticket_status_changed` | `Ticket status: <from> → <to>` |
|
|
96
|
-
| `review_submitted` | `Review by <reviewer> on <ref>: <state>` |
|
|
97
|
-
| `task_moved` | `Moved <from> → <to>: <reason> (<gates>)` |
|
|
98
|
-
| `task_shadow_moved` | `Would move <from> → <to> (shadow mode): <reason> (<gates>)` |
|
|
99
|
-
| `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 |
|
|
100
|
-
| `block_*`, `comment_*`, `doorbell_*` | the ID with its addressee, outcome, revision or reason |
|
|
101
|
-
| `turn_opened`, `turn_taken`, `turn_closed` | executor, taker, outcome |
|
|
102
|
-
|
|
103
|
-
Checks count the required ones, else all but skipped. A facts row leaves out what
|
|
104
|
-
other rows say (head, checks, PR state, mergeability, reviews, ticket status) and
|
|
105
|
-
update and activity times; with nothing else changed it is not shown.
|
|
@@ -3,8 +3,10 @@
|
|
|
3
3
|
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
|
-
- [Turns and delivery](how-board-works-turns.md): acknowledge work, submit or return, handle doorbells and repeated returns
|
|
7
|
-
- [
|
|
6
|
+
- [Turns and delivery](how-board-works-turns.md): acknowledge work, submit or return, handle doorbells and repeated returns.
|
|
7
|
+
- [Task history](how-board-works-history.md): read the journal events of a task.
|
|
8
|
+
- [Blocks and escalation](how-board-works-blocks.md): route a question or escalate a block, and read the operator inbox.
|
|
9
|
+
- [Operator inbox items](how-board-works-inbox.md): what to do about each item kind and when it clears.
|
|
8
10
|
- [Slack conversations](how-board-works-slack.md): choose a channel, address an agent and answer in a thread.
|
|
9
11
|
- [Done follows the ticket](how-board-works-done.md): check when a task is finished.
|
|
10
12
|
- [Browser access and web shell](how-board-works-web.md): the web listener and its checks, what the [web UI](web-ui.md) reads and how it stays live.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
# Worker flow
|
|
2
|
+
|
|
3
|
+
- If `board task <task>` lists no worker link for your session, run
|
|
4
|
+
`spur slots --session "$SPUR_SESSION" --link board-worker=<issue URL>` or ask the operator for
|
|
5
|
+
`board link`. URL from the key: `o/r#12` is `https://github.com/o/r/issues/12`.
|
|
6
|
+
- Blocking: keyed `board ask <task> <text>`; keep its B<number> and wait for the
|
|
7
|
+
doorbell. Update: keyed `board comment <task> <text>`.
|
|
8
|
+
- For a "back" code block to you, read `board task <task>` for the reason, fix it,
|
|
9
|
+
then keyed `board unblock <block> --done <ref>` with commit/PR link.
|
|
10
|
+
- Exit 3: not applied. Ask in your own session; when the Board returns, retry identically.
|
|
11
|
+
- Exit 4: no Board config; report in your session; keep the key.
|
|
12
|
+
- Exit 5 (unknown): retry up to 3 times in a minute, then ask in your own session.
|
|
13
|
+
Reads take no `--key`.
|
|
14
|
+
- An answer in your own session: add one keyed provenance-only task-level comment,
|
|
15
|
+
then keyed `board unblock <block> --withdraw <answer>`; it records the answer and
|
|
16
|
+
replies. Add no other answer comment or reply.
|
|
17
|
+
- Only the asking session may `--withdraw`. A replacement session posts provenance in a
|
|
18
|
+
keyed `board comment` and leaves the block open.
|