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): explain the lock read safety ceiling [C7,B3]

Corey Olsonde0a6fc0da66
diff --git a/test/land.test.js b/test/land.test.js
index d7d5e399..9a2296e8 100644
--- a/test/land.test.js
+++ b/test/land.test.js
@@ -651,7 +651,7 @@ async (t) => {
let timeoutTimer;
const timeoutResult = await Promise.race([
timeout.hook.closed,
- new Promise((_, reject) => { timeoutTimer = setTimeout(() => reject(new Error('hook read exceeded the stated 10s busy timeout')), 15_000); }),
+ new Promise((_, reject) => { timeoutTimer = setTimeout(() => reject(new Error('hook read exceeded the stated 10s busy timeout')), 15_000); }), // budget: hang ceiling derived from the declared 10s SQLite wait plus 5s for child startup and scheduling.
]).finally(() => clearTimeout(timeoutTimer));
assert.equal(timeoutResult.error, null, `the timeout hook child spawned: ${timeoutResult.error?.message ?? ''}`);
assert.equal(timeoutResult.code, 1, timeout.hook.stderrText);