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
test(proof): respect readable shout boundary [C7,H16]
Corey Olson817ccd36189e
diff --git a/test/show.test.js b/test/show.test.jsindex c822606b..3337ca1c 100644--- a/test/show.test.js+++ b/test/show.test.js@@ -85,13 +85,17 @@ test('the board stamps every proof receipt and show prints the chain [C7,H16]',assert.equal(plain.code, 0, plain.err);for (const receipt of shown.proofReceipts) assert.ok(plain.out.includes(receipt.id), 'plain show cites receipt ids');const before = board.db.prepare('SELECT count(*) AS n FROM shout').get().n;- const long = box.run(box.web, 'shout', 'coordinator', 'x'.repeat(401), '--json');+ const longText = Array(67).fill('proof').join(' ');+ assert.equal(longText.length, 401, 'the readable message crosses the exact length boundary');+ const long = box.run(box.web, 'shout', 'coordinator', longText, '--json');assert.equal(long.code, 1, long.out);const refusal = JSON.parse(long.out).error;assert.equal(refusal.code, 'SHOUT_TOO_LONG');assert.match(`${refusal.message} ${refusal.next}`, /receipt|pullboard show/u);assert.equal(board.db.prepare('SELECT count(*) AS n FROM shout').get().n, before);- proofDocument(box.run(box.web, 'shout', 'coordinator', 'x'.repeat(400), '--json'));+ const unspaced = box.run(box.web, 'shout', 'coordinator', 'x'.repeat(401), '--json');+ assert.equal(JSON.parse(unspaced.out).error.code, 'SHOUT_SPACES', 'the accepted readability rule remains enforced');+ proofDocument(box.run(box.web, 'shout', 'coordinator', longText.slice(0, 400), '--json'));});/** A family emoji: five code points, eight UTF-16 units, one character to a reader. */