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.

Merge remote-tracking branch 'origin/main' into core/758-claude

Corey Olson15ab8ef3bb97
diff --cc src/relay-phone.js
index dc7dff90,963ccecc..6b1bff73
--- a/src/relay-phone.js
+++ b/src/relay-phone.js
@@@ -17,20 -13,10 +17,20 @@@ export function approvalPhone(state, {
return device;
}
+/**
+ * The words the phone shows for a request: this computer's host name and, given its folder, the board's own name.
+ * Why sealed with the intent: the relay never sees them, and the board key's MAC stops it changing them.
+ */
+export function proposalNames(root) {
+ if (!root) return { computer: hostname() };
+ const project = repoInfo(root).root;
+ return { computer: hostname(), board: listApiProjects().find(entry => entry.root === project)?.name ?? basename(project) };
+}
+
/** Build a sealed immutable proposal; only new-board link replies can have a durable private key. */
-export async function phoneProposal(state, action, target, { board = state.board, command, link = false } = {}) {
+export async function phoneProposal(state, action, target, { board = state.board, command, link = false, root } = {}) {
if (!/^pm_[A-Za-z0-9_-]{43}$/u.test(state.token ?? '')) throw new Refused('RELAY_SESSION', 'Run pullboard relay on --all to replace the old person session with board machine credentials.');
- const phone = approvalPhone(state);
+ const phone = approvalPhone(state, { exclude: action === 'revoke-device' ? target : undefined });
const reply = await createApprovalReply({ link });
const context = approvalContext({ id: randomUUID(), account: state.account, publisher: state.board, board,
device: phone.deviceId, action, target, machine: state.machine,