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(core): isolate source deletion from test input changes [V4,C7]
Corey Olson30b4144a6509
diff --git a/test/submit-gate.test.js b/test/submit-gate.test.jsindex d9fec685..2334b29e 100644--- a/test/submit-gate.test.js+++ b/test/submit-gate.test.js@@ -532,9 +532,11 @@ test('a source change selects the tests that scan sources [C7,B3]', (t) => {const removed = commitAll(box, 'test(core): remove source declaration [G1]');assert.deepEqual(selectAffectedTests(box.root, { base: commit, commit: removed, changed: ['src/new.js'] }).files,readers, 'old declarations retain readers across removal');+ put(box.root, 'test/scanner.test.js', sourceInput + "import 'node:fs';\n");+ const deletionBase = commitAll(box, 'test(core): restore scanner declaration [G1]');box.git('rm', 'src/a.js');const deleted = commitAll(box, 'refactor(core): remove source input [G1]');- assert.deepEqual(selectAffectedTests(box.root, { base: commit, commit: deleted }).files,+ assert.deepEqual(selectAffectedTests(box.root, { base: deletionBase, commit: deleted }).files,['test/a.test.js', ...readers].sort(), 'source deletion retains old importers and scanners');const repository = resolve(import.meta.dirname, '..');