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.

docs(board): explain failed-open cleanup [C7]

Corey Olsonea471921fef4
diff --git a/src/board-read-open.js b/src/board-read-open.js
index 2a84273a..5b1c08c6 100644
--- a/src/board-read-open.js
+++ b/src/board-read-open.js
@@ -39,7 +39,7 @@ export function openBoardReadOnly(file) {
db.exec(`PRAGMA busy_timeout = ${BOARD_BUSY_TIMEOUT_MS}`);
return db;
} catch (error) {
- try { db?.close(); } catch {}
+ try { db?.close(); } catch { /* Preserve the opening error if cleanup also fails. */ }
throw boardBusyError(file, startedAt, error);
}
}