spur-board 0.63.2 → 0.63.4
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/daemon.mjs +68 -17
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works.md +119 -108
package/dist/daemon.mjs
CHANGED
|
@@ -9858,9 +9858,12 @@ async function registerBlockNotification(trx, block, at) {
|
|
|
9858
9858
|
}
|
|
9859
9859
|
/**
|
|
9860
9860
|
* Register an agent executor's turn. Core opens a turn, so no session authored it: the worker
|
|
9861
|
-
* or column orchestrator the board selects is rung.
|
|
9861
|
+
* or column orchestrator the board selects is rung. A turn opened by the operation of the
|
|
9862
|
+
* session it would ring first rings only after `doorbells.firstRetryMs`, so an ack in that time
|
|
9863
|
+
* sends nothing.
|
|
9862
9864
|
*/
|
|
9863
|
-
async function registerTurnNotification(trx, turn, at) {
|
|
9865
|
+
async function registerTurnNotification(trx, turn, at, opts) {
|
|
9866
|
+
const nextAt = await heldForOpener(trx, turn, opts) ? new Date(at.getTime() + opts.config.doorbells.firstRetryMs) : at;
|
|
9864
9867
|
await trx.insertInto("notification").values({
|
|
9865
9868
|
source_key: `turn:${String(turn.id)}:${turn.role}`,
|
|
9866
9869
|
kind: "turn",
|
|
@@ -9872,13 +9875,25 @@ async function registerTurnNotification(trx, turn, at) {
|
|
|
9872
9875
|
role: turn.role,
|
|
9873
9876
|
author_session: null,
|
|
9874
9877
|
recipient_session: null,
|
|
9875
|
-
next_at:
|
|
9878
|
+
next_at: nextAt.toISOString(),
|
|
9876
9879
|
last_outbox_id: null,
|
|
9877
9880
|
acked_at: null,
|
|
9878
9881
|
exhausted_at: null,
|
|
9879
9882
|
created_at: at.toISOString()
|
|
9880
9883
|
}).onConflict((oc) => oc.column("source_key").doNothing()).execute();
|
|
9881
9884
|
}
|
|
9885
|
+
/** Whether the opener is the agent session the turn would ring now. */
|
|
9886
|
+
async function heldForOpener(trx, turn, opts) {
|
|
9887
|
+
const opener = opts.opener === void 0 ? void 0 : parseActorId(opts.opener);
|
|
9888
|
+
if (opener?.actor !== "agent") return false;
|
|
9889
|
+
return (await selectNotificationRecipient(trx, {
|
|
9890
|
+
task_id: turn.task_id,
|
|
9891
|
+
role: turn.role,
|
|
9892
|
+
author_session: null,
|
|
9893
|
+
kind: "turn",
|
|
9894
|
+
block_id: null
|
|
9895
|
+
}, opts.config))?.id === opener.actorRef.session;
|
|
9896
|
+
}
|
|
9882
9897
|
/**
|
|
9883
9898
|
* The key of the reminder to `session` about a turn it took at `takenAt`. The take time names the
|
|
9884
9899
|
* ownership episode, so a session that loses the turn and takes it again gets a new reminder.
|
|
@@ -11281,7 +11296,7 @@ async function turnNotification(trx, turnId) {
|
|
|
11281
11296
|
* An agent executor gets a ringing notification, the operator one `turn` item.
|
|
11282
11297
|
*/
|
|
11283
11298
|
async function openTurn(trx, input) {
|
|
11284
|
-
const { task, reason, handed, at, config } = input;
|
|
11299
|
+
const { task, reason, handed, at, config, opener } = input;
|
|
11285
11300
|
const unclosed = await trx.selectFrom("turn").selectAll().where("task_id", "=", task.id).where("closed_at", "is", null).executeTakeFirst();
|
|
11286
11301
|
if (unclosed?.column === task.column && unclosed.epoch === task.column_epoch) return unclosed;
|
|
11287
11302
|
if (unclosed !== void 0) await closeTurns(trx, {
|
|
@@ -11319,7 +11334,10 @@ async function openTurn(trx, input) {
|
|
|
11319
11334
|
blockId: null,
|
|
11320
11335
|
at
|
|
11321
11336
|
});
|
|
11322
|
-
else await registerTurnNotification(trx, turn, at
|
|
11337
|
+
else await registerTurnNotification(trx, turn, at, {
|
|
11338
|
+
config,
|
|
11339
|
+
opener
|
|
11340
|
+
});
|
|
11323
11341
|
return turn;
|
|
11324
11342
|
}
|
|
11325
11343
|
/**
|
|
@@ -11735,6 +11753,31 @@ function atAddressee(target, role) {
|
|
|
11735
11753
|
}
|
|
11736
11754
|
};
|
|
11737
11755
|
}
|
|
11756
|
+
/** Advances open questions whose persisted author now holds their stored addressee role. */
|
|
11757
|
+
async function reconcileQuestionAddressees(trx, config, at) {
|
|
11758
|
+
const blocks = await trx.selectFrom("block").selectAll().where("type", "=", "needs_input").where("state", "=", "open").where("task_id", "is not", null).where("addressee_spur_project", "is", null).execute();
|
|
11759
|
+
for (const block of blocks) {
|
|
11760
|
+
if (parseActorId(block.author)?.actor !== "agent" || block.addressee_role !== "curator" && !block.addressee_role.startsWith("orchestrator:")) continue;
|
|
11761
|
+
const subject = await blockSubject(trx, block);
|
|
11762
|
+
const { task } = subject;
|
|
11763
|
+
if (task === null || task.membership === "archived") continue;
|
|
11764
|
+
const target = await subjectTarget(trx, subject, block);
|
|
11765
|
+
if (!holdsBlock(config, block.author, target)) continue;
|
|
11766
|
+
const next = escalateBlock(current$1(block), curatorProject(config, subject.project) !== null, (role) => holdsBlock(config, block.author, atAddressee(target, role)));
|
|
11767
|
+
if (!next.changed) continue;
|
|
11768
|
+
await moveBlockToAddressee(trx, {
|
|
11769
|
+
task,
|
|
11770
|
+
block,
|
|
11771
|
+
to: next.addressee,
|
|
11772
|
+
reason: "asker_is_addressee",
|
|
11773
|
+
ctx: {
|
|
11774
|
+
actor: "system",
|
|
11775
|
+
at
|
|
11776
|
+
},
|
|
11777
|
+
config
|
|
11778
|
+
});
|
|
11779
|
+
}
|
|
11780
|
+
}
|
|
11738
11781
|
function wroteBlock(config, actor, target) {
|
|
11739
11782
|
return authorize([{ grant: "block-author" }], actor, {
|
|
11740
11783
|
config,
|
|
@@ -15724,7 +15767,8 @@ async function applyOn(trx, task, read, result, ctx) {
|
|
|
15724
15767
|
reason: handedBack === void 0 ? reason : `${reason} (submit of ${handedBack.sha.slice(0, 7)}: ${handedBack.failure})`,
|
|
15725
15768
|
handed: current.column === "dev" ? handed : [],
|
|
15726
15769
|
at,
|
|
15727
|
-
config
|
|
15770
|
+
config,
|
|
15771
|
+
opener: ctx.actor
|
|
15728
15772
|
});
|
|
15729
15773
|
}
|
|
15730
15774
|
/**
|
|
@@ -15922,9 +15966,14 @@ const EVENT_SUMMARIES = {
|
|
|
15922
15966
|
token_expired: "Token expired",
|
|
15923
15967
|
token_revoked: "Token revoked"
|
|
15924
15968
|
};
|
|
15925
|
-
function
|
|
15926
|
-
if (kind !== "link_added" && kind !== "link_removed") return null;
|
|
15969
|
+
function linkOrEscalationSummary(kind, payloadText) {
|
|
15970
|
+
if (kind !== "link_added" && kind !== "link_removed" && kind !== "block_escalated") return null;
|
|
15927
15971
|
try {
|
|
15972
|
+
if (kind === "block_escalated") {
|
|
15973
|
+
const payload = eventPayloadSchemas[kind].safeParse(JSON.parse(payloadText));
|
|
15974
|
+
if (!payload.success || payload.data.reason !== "asker_is_addressee") return null;
|
|
15975
|
+
return `Block ${payload.data.block} escalated from ${payload.data.from} to ${payload.data.to}: ${payload.data.reason}`;
|
|
15976
|
+
}
|
|
15928
15977
|
const payload = eventPayloadSchemas[kind].safeParse(JSON.parse(payloadText));
|
|
15929
15978
|
if (!payload.success) return null;
|
|
15930
15979
|
const target = payload.data.entity === "pr" ? `${payload.data.repo}#${String(payload.data.pr)}` : payload.data.entity === "session" ? payload.data.session : payload.data.ticket;
|
|
@@ -16116,7 +16165,7 @@ function createTaskQueries(deps) {
|
|
|
16116
16165
|
at: row.at,
|
|
16117
16166
|
kind,
|
|
16118
16167
|
actor: eventActor(row),
|
|
16119
|
-
summary:
|
|
16168
|
+
summary: linkOrEscalationSummary(kind, row.payload) ?? shadowSummary(kind, row.payload) ?? submitSummary(kind, row.payload) ?? EVENT_SUMMARIES[kind]
|
|
16120
16169
|
}];
|
|
16121
16170
|
});
|
|
16122
16171
|
return {
|
|
@@ -16426,13 +16475,14 @@ const CONFIRMATION = {
|
|
|
16426
16475
|
function createTurnMutations(deps) {
|
|
16427
16476
|
const { config, prPoller, completeSince } = deps;
|
|
16428
16477
|
/** Dispatches the task after the command's change and returns its fresh row. */
|
|
16429
|
-
async function dispatched(trx,
|
|
16430
|
-
await dispatchTasks(trx, [
|
|
16478
|
+
async function dispatched(trx, id, at, actor) {
|
|
16479
|
+
await dispatchTasks(trx, [id], {
|
|
16431
16480
|
config,
|
|
16432
16481
|
at: new Date(at),
|
|
16433
|
-
complete: completeSince
|
|
16482
|
+
complete: completeSince,
|
|
16483
|
+
actor
|
|
16434
16484
|
});
|
|
16435
|
-
return taskById(trx,
|
|
16485
|
+
return taskById(trx, id);
|
|
16436
16486
|
}
|
|
16437
16487
|
async function submitShadow(trx, input, ctx) {
|
|
16438
16488
|
const task = await shadowTask(trx, input.turn, config);
|
|
@@ -16452,7 +16502,7 @@ function createTurnMutations(deps) {
|
|
|
16452
16502
|
...CONFIRMATION[confirmed]
|
|
16453
16503
|
}, ctx.actor);
|
|
16454
16504
|
return {
|
|
16455
|
-
task: taskView(await dispatched(trx, task.id, ctx.at)),
|
|
16505
|
+
task: taskView(await dispatched(trx, task.id, ctx.at, ctx.actor)),
|
|
16456
16506
|
turn: null,
|
|
16457
16507
|
sha: input.sha,
|
|
16458
16508
|
status: "confirmed"
|
|
@@ -16495,7 +16545,7 @@ function createTurnMutations(deps) {
|
|
|
16495
16545
|
...CONFIRMATION[confirmed]
|
|
16496
16546
|
}, ctx.actor);
|
|
16497
16547
|
return {
|
|
16498
|
-
task: taskView(await dispatched(trx, task.id, ctx.at)),
|
|
16548
|
+
task: taskView(await dispatched(trx, task.id, ctx.at, ctx.actor)),
|
|
16499
16549
|
turn: input.turn,
|
|
16500
16550
|
sha: input.sha,
|
|
16501
16551
|
status: confirmed === "pending" ? "pending" : "confirmed"
|
|
@@ -16519,7 +16569,7 @@ function createTurnMutations(deps) {
|
|
|
16519
16569
|
turn: turnLabel(turn.id),
|
|
16520
16570
|
block: `B${String(block.id)}`
|
|
16521
16571
|
});
|
|
16522
|
-
const moved = await dispatched(trx, task.id, ctx.at);
|
|
16572
|
+
const moved = await dispatched(trx, task.id, ctx.at, ctx.actor);
|
|
16523
16573
|
return {
|
|
16524
16574
|
task: taskView(moved),
|
|
16525
16575
|
block: blockView(block, taskSubject(moved))
|
|
@@ -16549,7 +16599,7 @@ function createTurnMutations(deps) {
|
|
|
16549
16599
|
reason: input.reason,
|
|
16550
16600
|
config
|
|
16551
16601
|
});
|
|
16552
|
-
const settled = await dispatched(trx, task.id, ctx.at);
|
|
16602
|
+
const settled = await dispatched(trx, task.id, ctx.at, ctx.actor);
|
|
16553
16603
|
return {
|
|
16554
16604
|
task: taskView(settled),
|
|
16555
16605
|
from: corrected.from,
|
|
@@ -17694,6 +17744,7 @@ async function tickBoard(deps) {
|
|
|
17694
17744
|
at
|
|
17695
17745
|
});
|
|
17696
17746
|
}
|
|
17747
|
+
await reconcileQuestionAddressees(trx, config, at);
|
|
17697
17748
|
await dispatchJournaled(trx, {
|
|
17698
17749
|
config,
|
|
17699
17750
|
at: new Date(now),
|
package/package.json
CHANGED
|
@@ -1,147 +1,158 @@
|
|
|
1
1
|
# How the Board works
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
last moves behind the task's position.
|
|
3
|
+
`board task <task> --why`: gates, holds, waits, turn and moves.
|
|
5
4
|
|
|
6
5
|
## Columns and executors
|
|
7
6
|
|
|
8
|
-
|
|
7
|
+
Order: `todo`, `ready-for-dev`, `dev`, `review`, `product-review`,
|
|
9
8
|
`external-review`, `qa`, `ready-to-merge`, `done`.
|
|
10
|
-
`projects[].columns[].enabled` false
|
|
11
|
-
|
|
9
|
+
`projects[].columns[].enabled` false or an omitted optional column skips its gate;
|
|
10
|
+
To Do, Dev and Done stay enabled.
|
|
12
11
|
|
|
13
|
-
Each column has one executor
|
|
14
|
-
`none`
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
head and submit it or return it with findings; they do not push to that branch.
|
|
12
|
+
Each column has one executor: `projects[].columns[].orchestrator` selects
|
|
13
|
+
`none` (live worker, else operator), `operator`, or a project with role
|
|
14
|
+
`orchestrator` or `curator`. The worker owns the code and branch; other executors
|
|
15
|
+
inspect and submit the head or return findings without pushing.
|
|
18
16
|
|
|
19
|
-
`projects[].spurProjects[].role`
|
|
20
|
-
`
|
|
21
|
-
`orchestrator` project role is planned, not available; today column assignment
|
|
22
|
-
uses the configured Spur project name rather than that role value.
|
|
17
|
+
`projects[].spurProjects[].role` accepts `worker`, `operator`, `curator` and
|
|
18
|
+
`orchestrator`. Curators check direction; orchestrators execute columns, never as workers.
|
|
23
19
|
|
|
24
20
|
## Gates and placement
|
|
25
21
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
for
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
22
|
+
Facts (head, checks, reviews, comments, ticket, sessions) feed gates. The
|
|
23
|
+
dispatcher has two actions: move the task and open an executor turn (at most one
|
|
24
|
+
per evaluation). Turns follow unmet entry gates, actionable post-submit failures,
|
|
25
|
+
rerouting or Done wrap-up. Holds and existing turns can yield neither action;
|
|
26
|
+
facts need not cause handoffs.
|
|
27
|
+
|
|
28
|
+
Moves, turns and course checks require `projects[].dispatcher.mode: on`. The
|
|
29
|
+
default is `shadow`: proposed placement only, no turns, doorbells or blocks;
|
|
30
|
+
submit by task key.
|
|
31
|
+
|
|
32
|
+
Gates are cumulative: each column checks its enabled gate and those to its left. At a turn boundary, broken gates return work to the leftmost failing
|
|
33
|
+
column. Taken turns hold until submit, return or a new head. Pending CI, unknown
|
|
34
|
+
mergeability and incomplete comment history are waits. Downstream handoff waits
|
|
35
|
+
for settled prerequisites; Dev can receive a repair turn for red CI, drafts,
|
|
36
|
+
conflicts or unhandled external comments.
|
|
37
|
+
|
|
38
|
+
Dev needs an open non-draft PR, passing checks, no conflict, handled external
|
|
39
|
+
feedback, complete comment history and current-head submit. Non-skipped checks
|
|
40
|
+
count when none are required. `projects[].reposWithoutCi` waives absent checks
|
|
41
|
+
for listed repos, never failing or skipped required checks.
|
|
42
|
+
|
|
43
|
+
Review and Product Review need current-head internal review marks, separate from
|
|
44
|
+
External Review's external approval. QA needs a current-head submission; Ready to Merge waits for merge. Executor `none` may reuse same-head worker submissions
|
|
45
|
+
from another worker column. Fixed gate rules have no configuration switch
|
|
46
|
+
beyond enabled columns and the no-CI exception.
|
|
47
|
+
|
|
48
|
+
A Review or Product Review mark lasts across visits on the current head. A visit
|
|
49
|
+
submission belongs to one column visit; moving left clears submissions there and
|
|
50
|
+
to its right. New heads invalidate internal Review and Product Review marks,
|
|
51
|
+
even if an old head returns.
|
|
52
|
+
|
|
53
|
+
Derived anomalies include a PR closed without merge with no open PR, or a closed
|
|
54
|
+
ticket with live work and no merged PR. `board status` lists them; they can also
|
|
55
|
+
surface as operator block threads.
|
|
54
56
|
|
|
55
57
|
## Turns and delivery
|
|
56
58
|
|
|
57
|
-
A turn `T<number>`
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
`board return <turn> <reason>` sends findings
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
59
|
+
A turn `T<number>` assigns a visit. Use keyed `board inbox ack <entries>`.
|
|
60
|
+
Only the acknowledging session may submit or return: keyed
|
|
61
|
+
`board submit <turn> <sha>` accepts the head; keyed
|
|
62
|
+
`board return <turn> <reason>` sends findings to Dev. Submit after pushing. In
|
|
63
|
+
shadow mode, use keyed `board submit <task> <sha>`.
|
|
64
|
+
Unseen heads answer `pending`: that submit is final; do not resubmit or raise a
|
|
65
|
+
block. It confirms or returns the turn
|
|
64
66
|
(`projects[].dispatcher.submitConfirmMs`).
|
|
65
67
|
|
|
66
|
-
A new head closes taken turns outside Dev;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
item and Slack thread for a turn, which closes when the task leaves the column.
|
|
68
|
+
A new head closes taken turns outside Dev; taken Dev turns survive pushes.
|
|
69
|
+
Untaken turns allow returns for CI, drafts, conflicts or external comments.
|
|
70
|
+
Operator turns get one inbox item and Slack thread until the task leaves.
|
|
70
71
|
|
|
71
|
-
Closed turns receive no further Board sends. Obsolete queued rings are dropped
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
Closed turns receive no further Board sends. Obsolete queued rings are dropped;
|
|
73
|
+
a message already accepted by Spur cannot be retracted. Check `board inbox` and
|
|
74
|
+
act only on a current turn; reread after `turn_closed`.
|
|
74
75
|
|
|
75
|
-
##
|
|
76
|
+
## Doorbells
|
|
77
|
+
|
|
78
|
+
A doorbell expects action: read `board inbox` for the turn, addressed
|
|
79
|
+
block, answer or follow-up. Ordinary task comments do not ring; nor does a block
|
|
80
|
+
tracked by its author role ring itself. Notifications are separate from moves.
|
|
81
|
+
|
|
82
|
+
Unacknowledged series normally repeat, up to three delivered rings;
|
|
83
|
+
acknowledgement stops them. Removal notices and quiet-turn reminders ring once.
|
|
84
|
+
Busy recipients defer delivery; pending delivery or earlier rings in the Spur
|
|
85
|
+
queue defer repeats. Queued rings can exhaust their waiting window.
|
|
76
86
|
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
switching dispatcher mode does not count as a return.
|
|
87
|
+
Most notices await recipients; taskless worker, orchestrator and operator-agent
|
|
88
|
+
answers end without a live asking session. Curator and course-check orchestrator
|
|
89
|
+
questions fall back to operator. Operator conversations await their project.
|
|
90
|
+
Exhaustion alerts the operator, except removals and quiet-turn reminders;
|
|
91
|
+
curator questions move to operator.
|
|
83
92
|
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
`projects[].
|
|
88
|
-
|
|
89
|
-
|
|
93
|
+
## Course checks and cycle limits
|
|
94
|
+
|
|
95
|
+
`projects[].columns[].courseCheck` defaults to 3 counted returns to Dev;
|
|
96
|
+
`courseCheck: 0` disables it. `projects[].columns[].cycleLimit` defaults to 10 and
|
|
97
|
+
takes priority. Executor returns, changes requested and external comments count;
|
|
98
|
+
CI failures, conflicts and drafts alone do not count, nor ticket reopening or
|
|
99
|
+
dispatcher mode changes.
|
|
90
100
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
101
|
+
Course checks hold work for direction.
|
|
102
|
+
`projects[].columns[].courseCheckTo`: `operator`, curator or column orchestrator.
|
|
103
|
+
Default: curator (`projects[].spurProjects[].role`), else operator. An answer
|
|
104
|
+
resets the course count and reaches the worker as a task comment. Only the
|
|
105
|
+
operator can resolve the separate cycle limit and reset its count. With no live
|
|
106
|
+
session the question falls back to the operator; a live conductor that does not
|
|
107
|
+
answer keeps the question, with an intervention item.
|
|
94
108
|
|
|
95
109
|
## Blocks and escalation
|
|
96
110
|
|
|
97
|
-
A question (`needs_input`) goes to the column
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
`
|
|
111
|
+
A question (`needs_input`) goes to the column orchestrator, else curator, else
|
|
112
|
+
operator. Routing avoids asking yourself: orchestrators ask the curator; curators
|
|
113
|
+
ask the operator. An `operator` column asks the operator.
|
|
114
|
+
|
|
115
|
+
A `code` block goes to the worker; a `dependency` or `external` block stays with
|
|
116
|
+
its author's role. Questions escalate from column orchestrator to curator to
|
|
117
|
+
operator; other blocks escalate straight to the operator. Skip your own project:
|
|
118
|
+
a curator orchestrating the column escalates straight to the operator. Use keyed
|
|
119
|
+
`board escalate <block>` if the addressee cannot resolve it.
|
|
102
120
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
holds: a curator that also orchestrates the column escalates its column's
|
|
108
|
-
question straight to the operator. Use keyed `board escalate <block>`
|
|
109
|
-
when the current addressee cannot resolve it.
|
|
121
|
+
Taskless: all roles, operator only:
|
|
122
|
+
`board project ask <project> <text> --to operator --key <key>`.
|
|
123
|
+
Project `needs_input` blocks get Slack threads except operator-agent asks;
|
|
124
|
+
operator: `board inbox`, keyed `board answer`. Answers reach a current curator session; other roles use the asking session.
|
|
110
125
|
|
|
111
|
-
|
|
112
|
-
`
|
|
113
|
-
ID). Role addresses follow the current session filling the role.
|
|
126
|
+
Routing: `projects[].columns[].orchestrator`, `projects[].spurProjects[].role`,
|
|
127
|
+
`operator.slack` (Slack user ID). Roles follow the current session.
|
|
114
128
|
|
|
115
129
|
## Slack now
|
|
116
130
|
|
|
117
|
-
`slack.channels.feed` carries
|
|
118
|
-
|
|
131
|
+
`slack.channels.feed` carries curator answers and operator items,
|
|
132
|
+
except those elsewhere and delivery problems.
|
|
119
133
|
`slack.channels.orchestrators` carries block threads addressed to the operator by
|
|
120
|
-
|
|
134
|
+
others. Answer in the existing block thread.
|
|
121
135
|
|
|
122
136
|
## Slack addressing
|
|
123
137
|
|
|
124
|
-
|
|
138
|
+
With `projects[].spurProjects[].shortName`, a new operator message in
|
|
125
139
|
`slack.channels.orchestrators` starts a conversation. A leading registered
|
|
126
|
-
`@shortName` selects that Spur project and is stripped. With an
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
`projects[].spurProjects[].displayName` and `icon`, else the project name and
|
|
138
|
-
role icon (`board` for operator roles). With no live session,
|
|
140
|
+
`@shortName` selects that Spur project and is stripped. With an absent or unknown
|
|
141
|
+
leading name, `slack.defaultAddressee` receives the complete text, retaining any
|
|
142
|
+
unknown prefix; without it the Board replies once with the valid prefixes.
|
|
143
|
+
Middle mentions or Slack `<@U…>` address nobody; unknown names cause no lookup
|
|
144
|
+
error. The operator checks short-name collisions with workspace names.
|
|
145
|
+
A task key after the prefix attaches it.
|
|
146
|
+
|
|
147
|
+
The addressee gets the block ID, reads `board inbox`, replies with
|
|
148
|
+
`board answer`. Each operator thread message rings again; `close` or ✅ in the
|
|
149
|
+
thread closes it. Replies use `projects[].spurProjects[].displayName` and `icon`,
|
|
150
|
+
else project name and role icon (`board` for operator). Without a session,
|
|
139
151
|
`board status` lists it as waiting.
|
|
140
152
|
|
|
141
153
|
## Done follows the ticket
|
|
142
154
|
|
|
143
|
-
One linked PR merging does not by itself finish the task. Done follows
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
confirmation; if the ticket remains open once that confirmation settles, work
|
|
155
|
+
One linked PR merging does not by itself finish the task. Done follows the
|
|
156
|
+
ticket: `projects[].tracker.doneStatuses` for Jira; for GitHub, the Issue must be
|
|
157
|
+
closed. After merge, wait for tracker confirmation; if it settles open, work
|
|
147
158
|
continues and another PR can be linked.
|