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
fix(land): a waived file path may hold spaces or any language [B3,R3]
Corey Olson9ddf8448201a
diff --git a/src/board.js b/src/board.jsindex e247f747..8675a0c1 100644--- a/src/board.js+++ b/src/board.js@@ -2721,11 +2721,13 @@ export function landingWaivers(board) {}/**- * Name what a waiver argument is: a test file path, or a test's name. A path has no spaces and a- * source extension; anything else is a name. Earlier waivers carry no kind and are read the same way.+ * Name what a waiver argument is: a test file path, or a test's name. A path is a directory and a+ * file with an extension (spaces and any language allowed), or one spaceless file name with an+ * extension; anything else is a name. Earlier waivers carry no kind and are read the same way.+ * Guessing wrong only narrows a waiver, since each kind matches one field of a failure.*/export function landingWaiverKind(test) {- return /^[^\s]+\.(?:[cm]?[jt]sx?|py)$/u.test(test) ? 'file' : 'name';+ return /^[^\r\n]*\/[^/\r\n]*[^/\s.]\.[A-Za-z0-9]+$/u.test(test) || /^[^\s/]+\.[A-Za-z0-9]+$/u.test(test) ? 'file' : 'name';}/**diff --git a/test/land.test.js b/test/land.test.jsindex f1d17ee3..ff44ee65 100644--- a/test/land.test.js+++ b/test/land.test.js@@ -722,6 +722,8 @@ test("a person's waiver lets a submit and a landing gate through only the waivedstore.recordLandingWaiver(board, { agentId: 'person', channel: 'terminal', id: 'name-waiver', test: 'keeps a named behavior', until: '2099-01-01', reason: 'named fixture' });assert.equal(store.landingWaiverFor(board, { file: FILES[3], name: 'keeps a named behavior' })?.kind, 'name');assert.equal(store.landingWaiverFor(board, { file: 'keeps a named behavior', name: 'another behavior' }), null, 'a name waiver covers only that name');+ assert.deepEqual(['test/my check.test.js', 'tests/check.rb', 'web/land-1.test.js', 'check.py', 'keeps a named behavior', 'parses a/b in the header'].map(store.landingWaiverKind),+ ['file', 'file', 'file', 'file', 'name', 'name'], 'paths with spaces or other languages stay file waivers');});assert.equal(commitFile(box, box.repo, FILES[2], `RED NAME:${FILES[0]}\n`, 'chore: install a test named like the waived file').status, 0);const spoofed = box.run(box.repo, 'gate', '--landing');