Skip to content

Autonomous development for real products. Governed agents build from specs you approve, follow the rules you set, and nothing merges until another agent proves it. Your decisions, judgement and taste are the bar that work must clear. Declare your vision and let agents build it.

chore: merge trunk into clone board joining [E1,E12,E17]

Corey Olson9ddb405d97da
diff --cc src/board.js
index 694689a0,1080d847..148e0b5d
--- a/src/board.js
+++ b/src/board.js
@@@ -1,4 -1,5 +1,6 @@@
+export { readBoardMembers, setBoardMembers } from './board-members.js';
+ import { heartbeatSeat } from './seat-presence.js';
+ import * as itemDecisions from './item-decision-queue.js';
import * as activityDeliveryStore from './activity-delivery-store.js';
import { requireFactKind } from './item-notes.js';
import { activityNewsFlag } from './activity-news.js';
diff --cc src/help.js
index be7e85aa,b5a64276..95599b4b
--- a/src/help.js
+++ b/src/help.js
@@@ -54,12 -54,11 +54,12 @@@ Set u
behind the session secret in its printed address
pullboard mcp MCP tools over stdio for this worktree's agent, started by its MCP client:
board status, show, shout and capture an idea; a person's move is refused
- pullboard relay [status|on|off|pair|join <code>] [--url <address>] link, inspect or unlink this board's sealed relay
+ pullboard relay [status|on|off|pair|join <code>] [--url <address>] [--name <computer>] link, inspect or unlink this board's sealed relay
on signs in through GitHub; the address defaults to https://app.pullboard.dev
pair prints a one-use machine code; join stores it in another clone
+ pullboard relay members set <login> [<login> ...] | clear publish an approver-signed membership list
pullboard relay pair --new-browser sign in and pair one more browser; existing browsers stay paired
- pullboard relay on --all [--url <address>] link every registered project after one sign-in; pair the phone once
+ pullboard relay on --all [--url <address>] [--name <computer>] link every registered project after one sign-in; pair the phone once
keep this command open until pairing finishes; later projects link on registration
pullboard relay devices [--verbose] paired phones and joined computers by name, with paired date, last seen and boards
--verbose adds each id and phone key fingerprint
diff --cc src/relay-device-poll.js
index 00000000,00000000..7712c0d6
new file mode 100644
--- /dev/null
+++ b/src/relay-device-poll.js
@@@ -1,0 -1,0 +1,24 @@@
++/** Bounded cancellation-aware device polling keeps relay orchestration within its module cap [C9,E12]. */
++import { Refused } from './refused.js';
++
++/** Throw a named refusal when the caller has cancelled the in-progress device sign-in. */
++export function cancellationOutcome(signal) {
++ if (signal?.aborted) throw new Refused('OAUTH_CANCELLED', 'GitHub device sign-in was cancelled; no board was linked');
++}
++
++/** Wait for one bounded device-flow poll interval and wake promptly on caller cancellation. */
++export function waitForDevicePoll(seconds, signal) {
++ cancellationOutcome(signal);
++ return new Promise((resolve, reject) => {
++ const finish = (error) => {
++ clearTimeout(timer);
++ signal?.removeEventListener('abort', cancel);
++ if (error) reject(error); else resolve();
++ };
++ const cancel = () => finish(new Refused('OAUTH_CANCELLED', 'GitHub device sign-in was cancelled; no board was linked'));
++ const timer = setTimeout(() => finish(), Math.max(1, seconds) * 1000);
++ signal?.addEventListener('abort', cancel, { once: true });
++ if (signal?.aborted) cancel();
++ });
++}
++
diff --cc src/relay.js
index a2e691a4,53417cd0..08b30e8c
--- a/src/relay.js
+++ b/src/relay.js
@@@ -1,10 -1,11 +1,15 @@@
++import {
++ cancellationOutcome,
++ waitForDevicePoll,
++} from './relay-device-poll.js';
import {
formatSnapshotLimit,
reportedSnapshotSize,
snapshotSize,
} from './relay-snapshot-size.js';
-export { formatSnapshotLimit };
+export { formatSnapshotLimit, originRepository };
import { beginCommandPhase } from './command-phase.js';
+ import { deliverPersonEnrollments } from './relay-person-enrollment.js';
import { recordedMoveRefusal } from './recorded-move.js';
import {
publishExcludedBoards,
@@@ -1486,27 -1489,27 +1492,6 @@@ export async function relayRecover(root
/** Read the local link and lag without opening a network connection or revealing its relay token. */
export function relayStatus(root) { return summary(root, loadLink(linkFile(root))); }
--/** Throw a named refusal when the caller has cancelled the in-progress device sign-in. */
--function cancellationOutcome(signal) {
-- if (signal?.aborted) throw new Refused('OAUTH_CANCELLED', 'GitHub device sign-in was cancelled; no board was linked');
--}
--
--/** Wait for one bounded device-flow poll interval and wake promptly on caller cancellation. */
--function waitForDevicePoll(seconds, signal) {
-- cancellationOutcome(signal);
-- return new Promise((resolve, reject) => {
-- const finish = (error) => {
-- clearTimeout(timer);
-- signal?.removeEventListener('abort', cancel);
-- if (error) reject(error); else resolve();
-- };
-- const cancel = () => finish(new Refused('OAUTH_CANCELLED', 'GitHub device sign-in was cancelled; no board was linked'));
-- const timer = setTimeout(() => finish(), Math.max(1, seconds) * 1000);
-- signal?.addEventListener('abort', cancel, { once: true });
-- if (signal?.aborted) cancel();
-- });
--}
--
/** Cancel one device ticket without the already-aborted caller signal. */
async function cancelDeviceFlow(url, ticket, io) {
let result;
diff --cc test/move-registry-baseline.json
index 4f1ba7d5,d3c29c35..434cf0d7
--- a/test/move-registry-baseline.json
+++ b/test/move-registry-baseline.json
@@@ -65,7 -65,8 +65,9 @@@
"recordPublishFinding",
"actOnActivity",
"recordActivityDelivery",
+ "decideSpecRevisions",
- "recordRowVerification"
++ "recordRowVerification",
+ "setBoardMembers"
],
"itemIdFirstArgument": [
"signBar",
@@@ -651,13 -652,21 +653,29 @@@
null,
null
],
+ "decideSpecRevisions": [
+ null,
+ "first",
+ null,
+ null,
+ null,
+ null
+ ],
+ "recordRowVerification": [
+ null,
+ "first",
+ null,
+ null,
+ null,
+ null
++ ],
+ "setBoardMembers": [
+ null,
+ "first",
+ null,
+ null,
+ null,
+ null
]
},
"floorCases": [
@@@ -6986,9 -6995,42 +7004,45 @@@
"BAD_ACTIVITY_RECEIPT": "read your own inbox again and use its exact interrupt ids",
"ACTIVITY_NOT_DELIVERED": "read your own inbox before marking its interrupt acted on",
"STALE_ACTIVITY_RECEIPT": "read inbox again; the claim changed before delivery was recorded",
+ "BOARD_REFERENCE": "use an immutable board ID or one exact qualified name from the authorized project inventory",
+ "BOARD_LINK_FORMAT": "use the exact bounded version 1 board-link, approval, announcement or sealed envelope contract",
+ "BOARD_LINK_AUTH": "configure each board\u2019s established signer authority and the per-link sealing capability; never use an unsigned or full-board-key fallback",
+ "BOARD_LINK_CONFLICT": "refresh the current link and retain exact retry bytes; use a new generation or correlation ID for changed content",
+ "BOARD_LINK_CYCLE": "remove the directed parent-link cycle before obtaining fresh bilateral consent",
+ "BOARD_LINK_DISCLOSURE": "send only the consenting child\u2019s states, counts or no entries under its signed disclosure mode",
+ "BOARD_LINK_INACTIVE": "use a current non-revoked bilateral link generation for the exact source and receiving boards",
+ "BOARD_LINK_TRANSPORT": "read the exact durable delivery receipt or use the last nonnegative incoming cursor through the authenticated relay",
+ "BOARD_LINK_REPLAY": "send a newer source position; retry an existing delivery with its original correlation ID and sealed bytes",
+ "BAD_NEWS": "send news from the coordinator or person to all, without item, decision, request or answer",
+ "FACT_INDEX_NOT_READY": "have the owning main checkout open this board once, then retry the original fact operation",
+ "GIT_SYNC_LINKED": "use pullboard sync for a Git-shared board, or keep the existing relay linked; do not enable a second move order",
+ "GIT_SYNC_LOCAL_CHANGED": "run pullboard export to preserve local moves, then ask the coordinator to reconcile the local and remote prefixes before syncing",
+ "GIT_SYNC_LOG": "restore the append-only refs/pullboard/board history on origin before running pullboard sync",
+ "GIT_SYNC_REMOTE": "restore read/write access to origin, then retry the original command or run pullboard sync; keep its pending sealed move",
+ "RUNNER_REQUIRED_FOR_ZERO_CAPACITY": "restore positive gateSlots and browserSlots with pullboard settings before removing the last registered runner",
+ "SPEC_REVISION": "refresh Needs you and decide the exact pending proposal",
+ "SHOUT_SPACES": "rewrite the shout with spaces between words, then send it again",
+ "DECISION_HANDOFF_BINDING": "use the exact versioned handoff, namespaced source decision and original option set",
+ "DECISION_HANDOFF_AUTH": "obtain authority for this exact question, answer or source query",
+ "DECISION_HANDOFF_CONFLICT": "use the recorded answer or create a new source decision",
+ "ITEM_OFFER": "refresh the offer using its exact permitted fields and canonical source and destination references",
+ "OFFER_AUTHORITY": "obtain the source or destination authority for this exact offer action on its actual board",
+ "OFFER_CONFLICT": "use the original offer and recorded disposition, or create a new offer id for different content",
+ "ITEM_RECEIPT": "obtain the exact minimal source receipt and verify its item, commit and verifier/verdict through the established trust port",
+ "PERSON_VAULT_AUTH": "use the original credential or saved recovery key with the pinned public root, account and revision; restore an unaltered vault copy if its ciphertext changed",
+ "NO_TEST_FILE": "name each test file by its path from the checkout root, then run pullboard test again",
+ "NO_TEST_RUNNER": "set affectedTests in pullboard.json to the command that runs named test files, then run pullboard test again",
+ "TEST_SNAPSHOT": "commit the work, then run pullboard test again",
+ "MILESTONE_LIMIT": "remove or swap an unstarted item, or edit the milestone with --limit <n>|none",
+ "BAD_COMPUTER_NAME": "retry relay on or relay join with --name containing 1 to 80 characters and no control characters or path separators",
+ "BLUEPRINT_RULE_UNCHECKED": "add a checked starter item that cites the must rule named in the message, then run pullboard blueprint add <file> again",
+ "ROW_VERIFY": "pullboard spec show <id>, then pullboard spec verify <id> accepted --reason \"why\"",
+ "ROW_VERIFY_PROVENANCE": "draft the row through pullboard spec draft and join normally before verifying it",
+ "ROW_VERIFY_PENDING": "ask the coordinator to run pullboard spec apply before recording a verifier verdict",
- "ROW_VERIFY_SELF": "ask an outside-parent verifier to run pullboard spec verify"
++ "ROW_VERIFY_SELF": "ask an outside-parent verifier to run pullboard spec verify",
+ "BOARD_MEMBERS_INVALID": "ask a committed approver to publish a complete signed board member list",
+ "BOARD_MEMBERS_REVISION": "read the current member revision, then sign a new list",
+ "RELAY_NOT_MEMBER": "ask a committed approver to publish the board member list with pullboard relay members set <login>, then retry relay on"
},
"replay": {
"initial": {