spur-board 0.63.4 → 0.63.5
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-CDacbdk2.mjs → chunk-BJMN8jrU.mjs} +1 -1
- package/dist/{chunk-BONq7Qxa.mjs → chunk-BdO94P44.mjs} +2 -1
- package/dist/{chunk-B1XoUsys.mjs → chunk-CNZV8Ua0.mjs} +2 -2
- package/dist/cli.mjs +3 -3
- package/dist/client.mjs +1 -1
- package/dist/daemon.mjs +50 -8
- package/dist/mcp.mjs +3 -3
- package/package.json +1 -1
- package/skills/spur-board/references/how-board-works.md +18 -18
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { $ as errorContextSchema, Z as ERRORS, c as tokenRequestStatusSchema, et as errorEnvelopeSchema, g as renderJsonError, nt as successEnvelopeSchema, o as tokenRequestResultSchema } from "./chunk-
|
|
1
|
+
import { $ as errorContextSchema, Z as ERRORS, c as tokenRequestStatusSchema, et as errorEnvelopeSchema, g as renderJsonError, nt as successEnvelopeSchema, o as tokenRequestResultSchema } from "./chunk-BdO94P44.mjs";
|
|
2
2
|
import { randomUUID } from "node:crypto";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { request } from "node:http";
|
|
@@ -1190,7 +1190,8 @@ const feedbackSchema = z.strictObject({
|
|
|
1190
1190
|
type: z.enum(AUTHOR_TYPES).describe("Whether the author is a user or a bot.")
|
|
1191
1191
|
}).nullable().describe("Who posted it; null for a deleted account."),
|
|
1192
1192
|
postedAt: at$2.describe("When the comment was posted or the review submitted."),
|
|
1193
|
-
state: z.enum(REVIEW_STATES).optional().describe("State of this review; missing for a comment and in snapshots written before it.")
|
|
1193
|
+
state: z.enum(REVIEW_STATES).optional().describe("State of this review; missing for a comment and in snapshots written before it."),
|
|
1194
|
+
statusComment: z.literal(true).optional().describe("True for a status comment of a reviewer service, marked by its last line; it is not external feedback. Missing otherwise.")
|
|
1194
1195
|
});
|
|
1195
1196
|
const prFactsSchema = z.strictObject({
|
|
1196
1197
|
repo: repoSlugSchema.describe("Repository as owner/name."),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ct as configSchema, d as buildCatalogSnapshot, lt as plainHttpAllowed, p as OPERATIONS } from "./chunk-
|
|
2
|
-
import { o as CliError, t as fetchCatalogVersion } from "./chunk-
|
|
1
|
+
import { ct as configSchema, d as buildCatalogSnapshot, lt as plainHttpAllowed, p as OPERATIONS } from "./chunk-BdO94P44.mjs";
|
|
2
|
+
import { o as CliError, t as fetchCatalogVersion } from "./chunk-BJMN8jrU.mjs";
|
|
3
3
|
import { randomUUID } from "node:crypto";
|
|
4
4
|
import { closeSync, constants, fstatSync, lstatSync, mkdirSync, openSync, readFileSync, realpathSync, renameSync, statSync, unlinkSync, writeFileSync } from "node:fs";
|
|
5
5
|
import { homedir } from "node:os";
|
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { K as actorIdSchema, Z as ERRORS, a as requestHashOf, ct as configSchema, f as roleCanUseOperation, nt as successEnvelopeSchema, p as OPERATIONS, pt as SLACK_BOT_SCOPES, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, ut as requiredSecretKeys } from "./chunk-
|
|
1
|
+
import { K as actorIdSchema, Z as ERRORS, a as requestHashOf, ct as configSchema, f as roleCanUseOperation, nt as successEnvelopeSchema, p as OPERATIONS, pt as SLACK_BOT_SCOPES, r as remoteDoctorReportSchema, u as SYSTEMD_SERVICE_SETTINGS, ut as requiredSecretKeys } from "./chunk-BdO94P44.mjs";
|
|
2
2
|
import { t as apiBaseUrl } from "./chunk-DAMwWWmT.mjs";
|
|
3
|
-
import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-
|
|
4
|
-
import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-
|
|
3
|
+
import { a as requestTokenEnrollment, c as renderCliError, i as requestSkillReload, l as escapeTerminalControls, n as fetchTokenStatus, o as CliError, r as requestOperation, s as errorExitCode } from "./chunk-BJMN8jrU.mjs";
|
|
4
|
+
import { a as memoryVerdictCache, c as loadClientConfig, d as resolveDaemonAddress, f as tokenInFolder, i as fileVerdictCache, l as loadEnrollmentConfig, n as cliPackageVersion, o as configFile, s as dataDirectory, t as checkCatalog, u as readConfiguredPort } from "./chunk-CNZV8Ua0.mjs";
|
|
5
5
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
6
6
|
import { accessSync, chmodSync, closeSync, constants, cpSync, existsSync, ftruncateSync, lstatSync, mkdirSync, openSync, readFileSync, readdirSync, readlinkSync, realpathSync, renameSync, rmSync, statSync, unlinkSync, writeFileSync, writeSync } from "node:fs";
|
|
7
7
|
import { homedir, hostname, userInfo } from "node:os";
|
package/dist/client.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as requestTokenEnrollment, i as requestSkillReload, n as fetchTokenStatus, r as requestOperation, t as fetchCatalogVersion } from "./chunk-
|
|
1
|
+
import { a as requestTokenEnrollment, i as requestSkillReload, n as fetchTokenStatus, r as requestOperation, t as fetchCatalogVersion } from "./chunk-BJMN8jrU.mjs";
|
|
2
2
|
export { fetchCatalogVersion, fetchTokenStatus, requestOperation, requestSkillReload, requestTokenEnrollment };
|
package/dist/daemon.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as sessionTransitionSchema, B as prRefSchema, C as userIdSchema, D as batchSchema, E as AdapterError, F as SESSION_HEALTH_STATES, G as REF_NUMBER, H as sessionFactsSchema, I as SESSION_STATUSES, J as errorCodeOf, K as actorIdSchema, L as isExternalAuthor, M as trackerSourceId, N as PR_STATES, O as entityRefSchema, P as REVIEW_STATES, Q as err, R as parseRingMarker, S as messageRefSchema, T as eventPayloadSchemas, U as ticketFactsSchema, V as ringMarker, W as JIRA_PROJECT_KEY, X as parseRef$1, Y as parseActorId, Z as ERRORS, a as requestHashOf, b as inboundEventSchema, c as tokenRequestStatusSchema, ct as configSchema, d as buildCatalogSnapshot, dt as COLUMN_IDS, f as roleCanUseOperation, ft as DISPATCHER_MODES, h as renderHttpProblem, i as TOKEN_REQUEST_LIMITS, it as DEFAULT_LINK, j as sourceCursorSchema, k as prSourceId, l as BOARD_TICK_MS, lt as plainHttpAllowed, m as turnHandedSchema, mt as TASK_HOLDS, n as doctorReportSchema, nt as successEnvelopeSchema, o as tokenRequestResultSchema, ot as DEFAULT_SLACK_COMMAND, p as OPERATIONS, pt as SLACK_BOT_SCOPES, q as encodeActorId, s as tokenRequestSchema, st as RESERVED_PROJECT, t as assertNever, tt as ok, ut as requiredSecretKeys, v as SPACE_IDS, w as EVENT_KINDS, x as interactionRefSchema, y as conversationRefSchema, z as prFactsSchema } from "./chunk-
|
|
1
|
+
import { A as sessionTransitionSchema, B as prRefSchema, C as userIdSchema, D as batchSchema, E as AdapterError, F as SESSION_HEALTH_STATES, G as REF_NUMBER, H as sessionFactsSchema, I as SESSION_STATUSES, J as errorCodeOf, K as actorIdSchema, L as isExternalAuthor, M as trackerSourceId, N as PR_STATES, O as entityRefSchema, P as REVIEW_STATES, Q as err, R as parseRingMarker, S as messageRefSchema, T as eventPayloadSchemas, U as ticketFactsSchema, V as ringMarker, W as JIRA_PROJECT_KEY, X as parseRef$1, Y as parseActorId, Z as ERRORS, a as requestHashOf, b as inboundEventSchema, c as tokenRequestStatusSchema, ct as configSchema, d as buildCatalogSnapshot, dt as COLUMN_IDS, f as roleCanUseOperation, ft as DISPATCHER_MODES, h as renderHttpProblem, i as TOKEN_REQUEST_LIMITS, it as DEFAULT_LINK, j as sourceCursorSchema, k as prSourceId, l as BOARD_TICK_MS, lt as plainHttpAllowed, m as turnHandedSchema, mt as TASK_HOLDS, n as doctorReportSchema, nt as successEnvelopeSchema, o as tokenRequestResultSchema, ot as DEFAULT_SLACK_COMMAND, p as OPERATIONS, pt as SLACK_BOT_SCOPES, q as encodeActorId, s as tokenRequestSchema, st as RESERVED_PROJECT, t as assertNever, tt as ok, ut as requiredSecretKeys, v as SPACE_IDS, w as EVENT_KINDS, x as interactionRefSchema, y as conversationRefSchema, z as prFactsSchema } from "./chunk-BdO94P44.mjs";
|
|
2
2
|
import { t as apiBaseUrl } from "./chunk-DAMwWWmT.mjs";
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -11406,10 +11406,11 @@ async function rerouteDemotedWorkerTurn(trx, input) {
|
|
|
11406
11406
|
reason: "rerouted",
|
|
11407
11407
|
at
|
|
11408
11408
|
});
|
|
11409
|
+
const handed = await carriedFeedback(trx, turn);
|
|
11409
11410
|
await openTurn(trx, {
|
|
11410
11411
|
task,
|
|
11411
11412
|
reason: turn.reason,
|
|
11412
|
-
handed
|
|
11413
|
+
handed,
|
|
11413
11414
|
at,
|
|
11414
11415
|
config
|
|
11415
11416
|
});
|
|
@@ -11558,7 +11559,34 @@ async function recalledFeedback(db, ref) {
|
|
|
11558
11559
|
if (!isRecalled(row)) continue;
|
|
11559
11560
|
for (const entry of handedOn(row, ref)) if (!entries.some((old) => sameHanded(old, entry))) entries.push(entry);
|
|
11560
11561
|
}
|
|
11561
|
-
return entries.sort((left, right) => isNewer(left, right) ? 1 : -1);
|
|
11562
|
+
return (await withoutStatusComments(db, entries)).sort((left, right) => isNewer(left, right) ? 1 : -1);
|
|
11563
|
+
}
|
|
11564
|
+
/** The feedback `turn` handed over, for the turn a reroute opens in its place. */
|
|
11565
|
+
async function carriedFeedback(db, turn) {
|
|
11566
|
+
return withoutStatusComments(db, turnHanded(turn));
|
|
11567
|
+
}
|
|
11568
|
+
/**
|
|
11569
|
+
* `entries` without those their PR's snapshot flags as a reviewer service's status comment
|
|
11570
|
+
* (`statusComment`): a turn may have handed one over before the flag existed. Every path that
|
|
11571
|
+
* hands earlier handed feedback over again reads it through here (`recalledFeedback`,
|
|
11572
|
+
* `carriedFeedback`). An entry whose snapshot is missing or unreadable stays.
|
|
11573
|
+
*/
|
|
11574
|
+
async function withoutStatusComments(db, entries) {
|
|
11575
|
+
const flagged = [];
|
|
11576
|
+
const read = /* @__PURE__ */ new Set();
|
|
11577
|
+
for (const entry of entries) {
|
|
11578
|
+
const key = `${entry.repo.toLowerCase()}#${String(entry.number)}`;
|
|
11579
|
+
if (read.has(key)) continue;
|
|
11580
|
+
read.add(key);
|
|
11581
|
+
const snapshot = await db.selectFrom("pr_snapshot").select("detail").where(sql`lower(repo) = ${entry.repo.toLowerCase()}`).where("number", "=", entry.number).executeTakeFirst();
|
|
11582
|
+
for (const fact of parsePr(snapshot?.detail)?.feedback ?? []) if (fact.statusComment === true) flagged.push({
|
|
11583
|
+
...entry,
|
|
11584
|
+
kind: fact.kind,
|
|
11585
|
+
id: fact.id,
|
|
11586
|
+
postedAt: fact.postedAt
|
|
11587
|
+
});
|
|
11588
|
+
}
|
|
11589
|
+
return entries.filter((entry) => !flagged.some((old) => sameHanded(old, entry)));
|
|
11562
11590
|
}
|
|
11563
11591
|
/** Whether two handed entries are the same feedback on the same PR. */
|
|
11564
11592
|
function sameHanded(left, right) {
|
|
@@ -15394,10 +15422,12 @@ function externalApproval(pr, agentLogin) {
|
|
|
15394
15422
|
* unless a correction or a reroute closed that turn untaken, or once a handling submission
|
|
15395
15423
|
* (`handlingSubmits`) on this PR was made at or after it. The entries such an untaken turn handed
|
|
15396
15424
|
* over come from the turn when a later poll dropped them from the snapshot (`recalledFeedback`).
|
|
15425
|
+
* A reviewer service's status comment (`statusComment`) never counts, and neither a recall nor a
|
|
15426
|
+
* reroute hands one over again (`withoutStatusComments` in `turns.ts`).
|
|
15397
15427
|
*/
|
|
15398
15428
|
async function unhandledFeedback(trx, task, project, pr) {
|
|
15399
15429
|
const approvals = pr.reviews.filter((review) => review.state === "approved");
|
|
15400
|
-
const entries = (pr.feedback ?? []).filter((entry) => isExternalAuthor(entry, project.operatorGithubLogin) && !(entry.kind === "review" && (entry.state === void 0 ? approvals.some((review) => review.reviewer.toLowerCase() === entry.author?.login.toLowerCase() && Date.parse(review.submittedAt) === Date.parse(entry.postedAt)) : entry.state === "approved")));
|
|
15430
|
+
const entries = (pr.feedback ?? []).filter((entry) => isExternalAuthor(entry, project.operatorGithubLogin) && entry.statusComment !== true && !(entry.kind === "review" && (entry.state === void 0 ? approvals.some((review) => review.reviewer.toLowerCase() === entry.author?.login.toLowerCase() && Date.parse(review.submittedAt) === Date.parse(entry.postedAt)) : entry.state === "approved")));
|
|
15401
15431
|
const submitted = (await handlingSubmits(trx, [task.id], [project])).filter((row) => submittedOn(row, pr));
|
|
15402
15432
|
const newest = Math.max(...submitted.map((row) => Date.parse(row.submitted_at)));
|
|
15403
15433
|
const [cursor] = await turnFeedbackCursors(trx, [{
|
|
@@ -15759,7 +15789,7 @@ async function applyOn(trx, task, read, result, ctx) {
|
|
|
15759
15789
|
reason: "rerouted",
|
|
15760
15790
|
at
|
|
15761
15791
|
});
|
|
15762
|
-
const carried = replaced === void 0 ? [] :
|
|
15792
|
+
const carried = replaced === void 0 ? [] : await carriedFeedback(trx, replaced);
|
|
15763
15793
|
const handed = [...carried, ...read.handed.filter((entry) => !carried.some((old) => sameHanded(old, entry)))];
|
|
15764
15794
|
const reason = read.mergedOpen === void 0 || turn.kind === "reroute" ? turnReason(turn, replaced?.reason) : `${turnReason(turn)} (PR ${read.mergedOpen.repo}#${String(read.mergedOpen.number)} merged, ticket still open)`;
|
|
15765
15795
|
await openTurn(trx, {
|
|
@@ -19208,7 +19238,7 @@ function teamScopeDenied(error, query) {
|
|
|
19208
19238
|
}
|
|
19209
19239
|
const REVIEWER_FIELDS = "requestedReviewer { __typename ... on Bot { login } ... on Mannequin { login } ... on User { login } ... on Team { slug } ... on EnterpriseTeam { slug } } asCodeOwner";
|
|
19210
19240
|
const REVIEW_FIELDS = "id author { __typename login } state commit { oid } submittedAt";
|
|
19211
|
-
const COMMENT_FIELDS = "nodes { id author { __typename login } createdAt } pageInfo { hasPreviousPage startCursor }";
|
|
19241
|
+
const COMMENT_FIELDS = "nodes { id author { __typename login } createdAt body } pageInfo { hasPreviousPage startCursor }";
|
|
19212
19242
|
const CLOSING_FIELDS = "nodes { number repository { nameWithOwner } } pageInfo { hasNextPage endCursor }";
|
|
19213
19243
|
const prFields = (number, closing = false) => `id number url title updatedAt mergedAt closedAt state isDraft mergeable mergeStateStatus
|
|
19214
19244
|
author { login } headRefName headRefOid
|
|
@@ -19417,7 +19447,8 @@ const nodes = (node) => z.object({ nodes: z.array(node) });
|
|
|
19417
19447
|
const commentWire = z.object({
|
|
19418
19448
|
id: z.string().min(1),
|
|
19419
19449
|
author: typedActor,
|
|
19420
|
-
createdAt: z.iso.datetime()
|
|
19450
|
+
createdAt: z.iso.datetime(),
|
|
19451
|
+
body: z.string().optional()
|
|
19421
19452
|
});
|
|
19422
19453
|
const loginReviewer = (type) => z.object({
|
|
19423
19454
|
__typename: z.literal(type),
|
|
@@ -19576,6 +19607,16 @@ function feedbackAuthor(wire) {
|
|
|
19576
19607
|
type: wire.__typename === "Bot" ? "bot" : "user"
|
|
19577
19608
|
};
|
|
19578
19609
|
}
|
|
19610
|
+
const STATUS_LINE = new RegExp(`^<!-- (?:${["board-reviewer-progress", "board-reviewer-unavailable"].join("|")}):\\S+ -->$`);
|
|
19611
|
+
/**
|
|
19612
|
+
* Whether a comment body is a reviewer service's status comment: its last non-blank line, with
|
|
19613
|
+
* trailing whitespace trimmed, is exactly one of the `STATUS_MARKERS` markers. A quoted marker,
|
|
19614
|
+
* a marker followed by text or one inside a line does not match; a missing body never does.
|
|
19615
|
+
*/
|
|
19616
|
+
function isStatusComment(body) {
|
|
19617
|
+
const last = body?.trimEnd().split("\n").at(-1);
|
|
19618
|
+
return last !== void 0 && STATUS_LINE.test(last);
|
|
19619
|
+
}
|
|
19579
19620
|
function feedbackOf(reviews, comments, held) {
|
|
19580
19621
|
const entries = /* @__PURE__ */ new Map();
|
|
19581
19622
|
const add = (entry) => {
|
|
@@ -19586,7 +19627,8 @@ function feedbackOf(reviews, comments, held) {
|
|
|
19586
19627
|
kind: "comment",
|
|
19587
19628
|
id: node.id,
|
|
19588
19629
|
author: feedbackAuthor(node.author),
|
|
19589
|
-
postedAt: node.createdAt
|
|
19630
|
+
postedAt: node.createdAt,
|
|
19631
|
+
...isStatusComment(node.body) ? { statusComment: true } : {}
|
|
19590
19632
|
});
|
|
19591
19633
|
for (const node of reviews) {
|
|
19592
19634
|
if (node.submittedAt == null) continue;
|
package/dist/mcp.mjs
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Z as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-
|
|
2
|
-
import { o as CliError, r as requestOperation } from "./chunk-
|
|
3
|
-
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-
|
|
1
|
+
import { Z as ERRORS, _ as renderMcpError, p as OPERATIONS } from "./chunk-BdO94P44.mjs";
|
|
2
|
+
import { o as CliError, r as requestOperation } from "./chunk-BJMN8jrU.mjs";
|
|
3
|
+
import { a as memoryVerdictCache, c as loadClientConfig, r as compareCatalogs, t as checkCatalog } from "./chunk-CNZV8Ua0.mjs";
|
|
4
4
|
import { randomUUID } from "node:crypto";
|
|
5
5
|
import { readFileSync } from "node:fs";
|
|
6
6
|
import { z } from "zod";
|
package/package.json
CHANGED
|
@@ -22,12 +22,10 @@ inspect and submit the head or return findings without pushing.
|
|
|
22
22
|
Facts (head, checks, reviews, comments, ticket, sessions) feed gates. The
|
|
23
23
|
dispatcher has two actions: move the task and open an executor turn (at most one
|
|
24
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.
|
|
25
|
+
rerouting or Done wrap-up. Holds and existing turns can yield neither action.
|
|
27
26
|
|
|
28
27
|
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.
|
|
28
|
+
default is `shadow`: proposed placement only, no turns, doorbells or blocks.
|
|
31
29
|
|
|
32
30
|
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
31
|
column. Taken turns hold until submit, return or a new head. Pending CI, unknown
|
|
@@ -36,13 +34,17 @@ for settled prerequisites; Dev can receive a repair turn for red CI, drafts,
|
|
|
36
34
|
conflicts or unhandled external comments.
|
|
37
35
|
|
|
38
36
|
Dev needs an open non-draft PR, passing checks, no conflict, handled external
|
|
39
|
-
feedback, complete comment history and current-head submit.
|
|
37
|
+
feedback, complete comment history and current-head submit. Feedback excludes
|
|
38
|
+
bots, approvals and `projects[].operatorGithubLogin` (agents' account), so worker
|
|
39
|
+
thread replies never count; others' posts do.
|
|
40
|
+
A status comment whose last line is a hidden `board-reviewer-progress` or
|
|
41
|
+
`board-reviewer-unavailable` marker is not external feedback. Non-skipped checks
|
|
40
42
|
count when none are required. `projects[].reposWithoutCi` waives absent checks
|
|
41
|
-
for listed repos, never failing or skipped required
|
|
43
|
+
for listed repos, never failing or skipped required ones.
|
|
42
44
|
|
|
43
45
|
Review and Product Review need current-head internal review marks, separate from
|
|
44
46
|
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
|
|
47
|
+
from other worker columns. Fixed gate rules have no configuration switch
|
|
46
48
|
beyond enabled columns and the no-CI exception.
|
|
47
49
|
|
|
48
50
|
A Review or Product Review mark lasts across visits on the current head. A visit
|
|
@@ -59,8 +61,8 @@ surface as operator block threads.
|
|
|
59
61
|
A turn `T<number>` assigns a visit. Use keyed `board inbox ack <entries>`.
|
|
60
62
|
Only the acknowledging session may submit or return: keyed
|
|
61
63
|
`board submit <turn> <sha>` accepts the head; keyed
|
|
62
|
-
`board return <turn> <reason>` sends findings to Dev.
|
|
63
|
-
shadow mode, use keyed `board submit <task> <sha>`.
|
|
64
|
+
`board return <turn> <reason>` sends findings to Dev.
|
|
65
|
+
In shadow mode, use keyed `board submit <task> <sha>`.
|
|
64
66
|
Unseen heads answer `pending`: that submit is final; do not resubmit or raise a
|
|
65
67
|
block. It confirms or returns the turn
|
|
66
68
|
(`projects[].dispatcher.submitConfirmMs`).
|
|
@@ -77,9 +79,9 @@ act only on a current turn; reread after `turn_closed`.
|
|
|
77
79
|
|
|
78
80
|
A doorbell expects action: read `board inbox` for the turn, addressed
|
|
79
81
|
block, answer or follow-up. Ordinary task comments do not ring; nor does a block
|
|
80
|
-
tracked by its author role ring itself.
|
|
82
|
+
tracked by its author role ring itself. Rings are separate from moves.
|
|
81
83
|
|
|
82
|
-
Unacknowledged series
|
|
84
|
+
Unacknowledged series repeat, up to three delivered rings;
|
|
83
85
|
acknowledgement stops them. Removal notices and quiet-turn reminders ring once.
|
|
84
86
|
Busy recipients defer delivery; pending delivery or earlier rings in the Spur
|
|
85
87
|
queue defer repeats. Queued rings can exhaust their waiting window.
|
|
@@ -95,8 +97,8 @@ curator questions move to operator.
|
|
|
95
97
|
`projects[].columns[].courseCheck` defaults to 3 counted returns to Dev;
|
|
96
98
|
`courseCheck: 0` disables it. `projects[].columns[].cycleLimit` defaults to 10 and
|
|
97
99
|
takes priority. Executor returns, changes requested and external comments count;
|
|
98
|
-
CI failures, conflicts and drafts alone do not count, nor
|
|
99
|
-
|
|
100
|
+
CI failures, conflicts and drafts alone do not count, nor reopened tickets or
|
|
101
|
+
mode switches.
|
|
100
102
|
|
|
101
103
|
Course checks hold work for direction.
|
|
102
104
|
`projects[].columns[].courseCheckTo`: `operator`, curator or column orchestrator.
|
|
@@ -110,12 +112,11 @@ answer keeps the question, with an intervention item.
|
|
|
110
112
|
|
|
111
113
|
A question (`needs_input`) goes to the column orchestrator, else curator, else
|
|
112
114
|
operator. Routing avoids asking yourself: orchestrators ask the curator; curators
|
|
113
|
-
ask the operator.
|
|
115
|
+
ask the operator.
|
|
114
116
|
|
|
115
117
|
A `code` block goes to the worker; a `dependency` or `external` block stays with
|
|
116
118
|
its author's role. Questions escalate from column orchestrator to curator to
|
|
117
|
-
operator; other blocks escalate straight to the operator.
|
|
118
|
-
a curator orchestrating the column escalates straight to the operator. Use keyed
|
|
119
|
+
operator; other blocks escalate straight to the operator. Use keyed
|
|
119
120
|
`board escalate <block>` if the addressee cannot resolve it.
|
|
120
121
|
|
|
121
122
|
Taskless: all roles, operator only:
|
|
@@ -154,5 +155,4 @@ else project name and role icon (`board` for operator). Without a session,
|
|
|
154
155
|
|
|
155
156
|
One linked PR merging does not by itself finish the task. Done follows the
|
|
156
157
|
ticket: `projects[].tracker.doneStatuses` for Jira; for GitHub, the Issue must be
|
|
157
|
-
closed.
|
|
158
|
-
continues and another PR can be linked.
|
|
158
|
+
closed. If it stays open after merge, link another PR.
|