fix: skip no-research nyquist artifact gating (closes #980)

This commit is contained in:
Frank
2026-03-15 09:08:57 -07:00
committed by GitHub
parent 944df19926
commit 63823c2e8a
3 changed files with 44 additions and 3 deletions

View File

@@ -291,6 +291,17 @@ describe('config-set command', () => {
const result = runGsdTools('config-set', tmpDir);
assert.strictEqual(result.success, false);
});
test('rejects known invalid nyquist alias keys with a suggestion', () => {
const result = runGsdTools('config-set workflow.nyquist_validation_enabled false', tmpDir);
assert.strictEqual(result.success, false);
assert.match(result.error, /Unknown config key: workflow\.nyquist_validation_enabled/);
assert.match(result.error, /workflow\.nyquist_validation/);
const config = readConfig(tmpDir);
assert.strictEqual(config.workflow.nyquist_validation_enabled, undefined);
assert.strictEqual(config.workflow.nyquist_validation, true);
});
});
// ─── config-get ──────────────────────────────────────────────────────────────