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(policy): expose typed submit refusal [V4]
Corey Olson87085a24180a
diff --git a/test/e2e-policy.test.js b/test/e2e-policy.test.jsindex 02635538..264d41e4 100644--- a/test/e2e-policy.test.js+++ b/test/e2e-policy.test.js@@ -310,7 +310,8 @@ test("a dependency's own verified dependency admits its files [N16,V4]", () => {const targetChange = commitFile(box, design, 'design/target.txt', 'target bytes\n', 'feat(design): target fixture [G1]');assert.equal(targetChange.status, 0, targetChange.stderr || targetChange.failure || 'target commit');const submitted = box.run(design, 'submit', String(designItem), '--json');- assert.equal(submitted.code, 0, submitted.err || submitted.out);+ const submitFailure = submitted.out ? JSON.parse(submitted.out).error?.code : submitted.err;+ assert.equal(submitted.code, 0, submitFailure);const targetCommit = box.git(design, 'rev-parse', 'HEAD');const target = JSON.parse(box.run(design, 'show', String(designItem), '--json').out);assert.equal(JSON.parse(box.run(box.repo, 'show', String(webItem), '--json').out).item_commit, webCommit);