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): separate pairing storage notices [H5,H15]
Corey Olsond2f6a7b9110a
diff --git a/relay/browser-client.js b/relay/browser-client.jsindex 9e016955..20644548 100644--- a/relay/browser-client.js+++ b/relay/browser-client.js@@ -106,7 +106,6 @@ export async function createTransport({ onUpdate = () => {} } = {}) {let failureBoard = null;let accessLost = false;let persistenceRequest = null;- let persistenceWarning = false;rememberPairing();let pair = takePairing() ?? stored(sessionStorage, PENDING, null);if (pair && (!BOARD.test(pair.board ?? '') || typeof pair.key !== 'string')) pair = null;@@ -139,19 +138,21 @@ export async function createTransport({ onUpdate = () => {} } = {}) {paragraph.textContent = text;element.append(paragraph);}- if (persistenceWarning) {- const paragraph = document.createElement('p');- paragraph.id = 'pairing-storage-notice';- paragraph.textContent = 'This browser may remove your pairing. Add Pullboard to your Home Screen to help keep it.';- element.append(paragraph);- }}/** Ask once after pairing, retaining one refusal line through later board refreshes. */function keepPairingStorage() {persistenceRequest ??= requestPairingPersistence().then(kept => {- persistenceWarning = !kept;- notice();+ const current = document.getElementById('pairing-storage-notice');+ if (kept) { current?.remove(); return; }+ const target = document.getElementById('relay-notice');+ if (!target || accessLost) return;+ const paragraph = current ?? document.createElement('p');+ paragraph.id = 'pairing-storage-notice';+ paragraph.className = 'card-panel';+ paragraph.setAttribute('role', 'status');+ paragraph.textContent = 'This browser may remove your pairing. Add Pullboard to your Home Screen to help keep it.';+ if (!current) target.insertAdjacentElement('afterend', paragraph);});}