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(hooks): reject malformed metadata previews [C7]
Corey Olson3808c9b91b1c
diff --git a/test/commit-metadata.test.js b/test/commit-metadata.test.jsindex 42d51860..6daa16de 100644--- a/test/commit-metadata.test.js+++ b/test/commit-metadata.test.js@@ -59,9 +59,12 @@ test('typed rows must be the complete frozen set in board order [C7]', () => {});test('an abbreviated header preview must count the actual frozen remainder [C7]', () => {- const result = hook(claimed(), 'test: wrong preview [G1,+2]\n');- assert.notEqual(result.code, 0);- assert.match(result.err, /preview/u);+ const box = claimed();+ for (const preview of ['G1,+0', 'G1,+text', 'G1,+1,G2', 'G1,+2']) {+ const result = hook(box, `test: wrong preview [${preview}]\n`);+ assert.notEqual(result.code, 0, preview);+ assert.match(result.err, /preview/u);+ }});test('reserved, duplicate and non-final Pullboard trailers are refused [C7]', () => {