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.

fix: compose outside actor transport and recovery [V3,H16]

Corey Olson038275402c58
diff --git a/src/intake-github.js b/src/intake-github.js
index 1f4d2349..b96d1e58 100644
--- a/src/intake-github.js
+++ b/src/intake-github.js
@@ -24,7 +24,8 @@ export function githubSource(root, url) {
const prefix = `repos/${source.repository}`;
const data = read(root, `${prefix}/${source.kind === 'pull-request' ? 'pulls' : 'issues'}/${source.number}`);
const comments = read(root, `${prefix}/issues/${source.number}/comments?per_page=100`);
- const replies = Array.isArray(comments) ? comments : [];
+ const reviews = source.kind === 'pull-request' ? read(root, `${prefix}/pulls/${source.number}/reviews?per_page=100`) : [];
+ const replies = [...(Array.isArray(comments) ? comments : []), ...(Array.isArray(reviews) ? reviews : [])];
const common = { ...source, url, title: String(data.title ?? ''), author: data.user?.login, state: data.state,
maintainerReplied: replies.some(comment => ['OWNER', 'MEMBER', 'COLLABORATOR'].includes(comment.author_association)), updatedAt: data.updated_at };
if (source.kind === 'issue') return common;
diff --git a/src/next-step-words.js b/src/next-step-words.js
index cb930781..b7effbfa 100644
--- a/src/next-step-words.js
+++ b/src/next-step-words.js
@@ -56,6 +56,20 @@ export function personRequestGuidance(message, { caller, leading = false } = {})
/** @type {Readonly<Record<string, string>>} */
export const NEXT_STEPS = Object.freeze({
+ OUTSIDE_URL: 'use a GitHub issue or pull request URL with owner/repository and its positive number',
+ OUTSIDE_FETCH: 'restore read-only gh API and Git fetch access, then intake the exact source again',
+ OUTSIDE_SOURCE: 'fetch the exact GitHub source metadata and its immutable commit/tree before intake',
+ OUTSIDE_HEAD_CHANGED: 'ask the coordinator to reopen the old outside submission before intaking its new exact head',
+ OUTSIDE_OWNER_APPROVAL: 'the owner runs pullboard intake approve <id> from the person terminal or view',
+ OUTSIDE_SANDBOX_REQUIRED: 'read the exact PR diff, then run pullboard verify <id> accept --sandbox with the configured container provider',
+ SANDBOX_PROVIDER_REQUIRED: 'commit sandbox.provider docker with an absolute executable, explicit Unix endpoint and pinned minimum/current images in trusted main pullboard.json',
+ SANDBOX_IMAGE_REQUIRED: 'preload the exact configured digest in the configured Docker daemon; verification does not pull automatically',
+ SANDBOX_RUNTIME: 'correct the pinned official image so its actual Linux Node environment matches the configured minimum/current role',
+ SANDBOX_EXPORT: 'restore Git access to the exact recorded commit and independent private export before verifying',
+ SANDBOX_EXECUTION: 'restore the Docker daemon and inspect the named owned container before another verification',
+ SANDBOX_CLEANUP_REQUIRED: 'restore Docker and remove the exact named owned container before another verification',
+ SANDBOX_CHECK_REQUIRED: 'set a trusted full gate and frozen causal criterion before intake',
+
ACCOUNT_STORAGE_LIMIT: 'remove an unneeded relay copy through the approved phone flow, or ask the relay operator to increase the account quota; uploads resume when space is available',
BAD_PAGE: 'retry the saved upload with a current linked CLI; send only its original bounded encrypted objects',
BAD_PAGE_PATH: 'refresh the board on the phone, then follow the encrypted references from its new read pin',
diff --git a/test/relay-credential.test.js b/test/relay-credential.test.js
index 3ed5d009..da517332 100644
--- a/test/relay-credential.test.js
+++ b/test/relay-credential.test.js
@@ -19,6 +19,8 @@ test('every current operation selects its native actor credential without a seco
let kind = 'agent';
if (operation === 'register') { args = [{ lane: box.lane, path: '/private/credential-enrollment' }]; kind = 'machine'; }
if (operation === 'ensureCoordinator') { args = [box.root]; kind = 'machine'; }
+ if (operation === 'intakeOutside') args = [{ agentId: actor }];
+ if (operation === 'approveOutside') { args = [999999, { agentId: 'person' }]; kind = 'person'; }
if (operation === 'addItem') args = [{ by: actor, lane: box.lane, title: 'credential actor fixture' }];
if (operation === 'shout') args = [{ from: actor, to: 'all', text: 'credential actor fixture', lanes: [box.lane] }];
if (operation === 'release') args = [999999, actor];