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
refactor(relay): keep relay.js within its line cap [H5,H17]
Corey Olson55ff3442b5e5
diff --git a/src/relay.js b/src/relay.jsindex 712b18d6..139a0ffd 100644--- a/src/relay.js+++ b/src/relay.js@@ -421,11 +421,8 @@ async function rawRequest(state, path, { method = 'GET', body, allowMissing = faif (storage) error.storage = storage;throw error;}- if (document.version !== 1) {- const error = new Refused('RELAY_VERSION', 'the relay API version is unsupported; upgrade Pullboard before syncing');- if (Number.isSafeInteger(document.version)) error.relayVersion = document.version;- throw error;- }+ if (document.version !== 1) throw Object.assign(new Refused('RELAY_VERSION', 'the relay API version is unsupported; upgrade Pullboard before syncing'),+ Number.isSafeInteger(document.version) ? { relayVersion: document.version } : {});return document;} finally { finishPhase(); }}