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(settings): isolate inventory machine reads in fixture [O5,O6]
Corey Olsona3f0c7b27b86
diff --git a/test/line-settings.test.js b/test/line-settings.test.jsindex d2039642..ced5c715 100644--- a/test/line-settings.test.js+++ b/test/line-settings.test.js@@ -58,7 +58,14 @@ test('the settings inventory exposes board line values and defaults without audiboard = store.openBoard(join(box.repo, '.git', 'pullboard', 'board.sqlite'));store.setLineSetting(board, change({ key: 'wipPerReviewer', value: 2 }));const before = store.events(board).length;- const rows = settingsInventory([{ root: box.repo }]).settings.filter(row => row.scope === 'board' && row.key.startsWith('line.'));+ const previous = Object.fromEntries(['PULLBOARD_HOME', 'PULLBOARD_MACHINE_HOME'].map(key => [key, process.env[key]]));+ let rows;+ try {+ for (const key of Object.keys(previous)) process.env[key] = box.env[key];+ rows = settingsInventory([{ root: box.repo }]).settings.filter(row => row.scope === 'board' && row.key.startsWith('line.'));+ } finally {+ for (const [key, value] of Object.entries(previous)) { if (value === undefined) delete process.env[key]; else process.env[key] = value; }+ }assert.equal(rows.length, 6);assert.deepEqual(rows.find(row => row.key === 'line.wipPerReviewer'), { key: 'line.wipPerReviewer', scope: 'board',board: store.boardId(board), root: box.repo, value: 2, default: false,