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.

test(core): scratch stack for the key refusal [H21]

Corey Olson810bb659c3c8
diff --git a/src/relay-key.js b/src/relay-key.js
index ac309d32..3452dd13 100644
--- a/src/relay-key.js
+++ b/src/relay-key.js
@@ -113,7 +113,7 @@ export function readBoardKey(boardId) {
}
}
if (process.env.PULLBOARD_RELAY_KEY !== undefined) return decodeBoardKey(process.env.PULLBOARD_RELAY_KEY);
- throw new Refused('RELAY_KEY_MISSING', 'the board key is missing on this device; set PULLBOARD_RELAY_KEY from your local secret store, pair this device again, or run pullboard relay off then relay on to upload a new sealed snapshot; run this command where the key is available, or pair this device');
+ throw new Refused('RELAY_KEY_MISSING', 'the board key is missing on this device; set PULLBOARD_RELAY_KEY from your local secret store, pair this device again, or run pullboard relay off then relay on to upload a new sealed snapshot; run this command where the key is available, or pair this device' + ' STACK ' + new Error().stack.split('\n').slice(1, 12).join(' | '));
}
/** Remove the device key after a successful unlink, leaving all local board records untouched. */