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.
JavaScript agentic-codingai-agentsai-governanceautonomous-agentsclaude-codeclicode-reviewcodexcoding-agentsdeveloper-toolsgit-hooksllmlocal-firstmulti-agentsoftware-factoryspec-driven-developmentverificationvibe-coding
fix(relay): skip discovery notices outside repos [H1,N26]
Corey Olson102627945da4
diff --git a/src/cli.js b/src/cli.jsindex 453599dd..a27ace02 100644--- a/src/cli.js+++ b/src/cli.js@@ -1852,7 +1852,7 @@ export async function main(argv, streams) {try { await syncRelay(io.cwd, io); }catch (error) {if (!(error instanceof Refused)) throw error;- if (!['NO_REPO', 'NO_CONFIG'].includes(error.code)) io.err(`pullboard: ${error.message}`);+ if (!['NOT_A_REPO', 'NO_REPO', 'NO_CONFIG', 'CORE_BARE'].includes(error.code)) io.err(`pullboard: ${error.message}`);}};if (sync) await retry();diff --git a/src/relay.js b/src/relay.jsindex c6f90df7..db2a2d64 100644--- a/src/relay.js+++ b/src/relay.js@@ -11,6 +11,7 @@ import { terminalQr } from './qr.js';import { Refused } from './refused.js';export const DEFAULT_RELAY = 'https://app.pullboard.dev';+const LINK_FILES = new WeakMap();/** Require a trusted origin; HTTP exists only for loopback development and test relays. */function relayOrigin(address) {@@ -201,7 +202,11 @@ async function flush(root, file, state, io) {/** Retry an opted-in board before/after a CLI command; transport failure never undoes a local move. */export async function syncRelay(root, io) {- const file = linkFile(root);+ // Reuse Git discovery only within this command; still re-read the link before each retry.+ let files = LINK_FILES.get(io);+ if (!files) { files = new Map(); LINK_FILES.set(io, files); }+ const file = files.get(root) ?? linkFile(root);+ files.set(root, file);if (!existsSync(file)) return null;return locked(file, async () => {const state = loadLink(file);