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(gate): cover computed template CPU declarations [C7]
Corey Olson57512a0cdc54
diff --git a/test/cpu-load-tests.test.js b/test/cpu-load-tests.test.jsindex 2a5cd2b2..5bde3678 100644--- a/test/cpu-load-tests.test.js+++ b/test/cpu-load-tests.test.js@@ -86,3 +86,23 @@ test('a doubly escaped textual key stays ordinary local-first work [C7]', asyncassert.equal(local.executor?.liveLease, true);assert.equal(local.executor?.runnerExecution, false);});+++test('a constant computed template CPU-load key uses its registered runner [C7]', async () => {+ const box = cpuLoadFixture(e2e, { declaration: '{ [`cpuLoad`]: true }' });+ const remote = await box.runGate();+ assert.equal(remote.result.status, 0, remote.result.context);+ assert.equal(box.requestsMade().length, 1, 'a constant computed template key declares the same CPU-load option');+ assert.equal(remote.executor?.runnerExecution, true);+ assert.notEqual(remote.executor?.cwd, box.repo);+});++test('CPU-load syntax inside literal template text stays ordinary local-first work [C7]', async () => {+ const box = cpuLoadFixture(e2e, { declaration: '{ example: `cpuLoad: true` }' });+ const local = await box.runGate();+ assert.equal(local.result.status, 0, local.result.context);+ assert.equal(box.requestsMade().length, 0, 'template text is an example, not an executable CPU-load option');+ assert.equal(local.executor?.cwd, box.repo);+ assert.equal(local.executor?.liveLease, true);+ assert.equal(local.executor?.runnerExecution, false);+});