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: the merge hint in commit-msg refusals

Corey Olson10840fb41238
diff --git a/test/hooks.test.js b/test/hooks.test.js
index a9081c0a..9753b0a1 100644
--- a/test/hooks.test.js
+++ b/test/hooks.test.js
@@ -75,3 +75,8 @@ test('secrets are named by kind and place, never echoed', () => {
assert.deepEqual(found, ['Anthropic key at config/settings.js:2', 'env-style secret at config/settings.js:3']);
assert.ok(found.every((entry) => !entry.includes('abcdefghij')));
});
+
+test('a refused merge message points to the message git writes, which is exempt [C4]', () => {
+ assert.match(check('merge: include store date validation')[0], /For a merge, keep the message git writes, which is exempt: git merge --no-edit/);
+ assert.deepEqual(check("Merge branch 'store/1'"), []);
+});