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(gate): retain default test imports in conservative discovery [C7]
Corey Olsonf8bbf3066211
diff --git a/src/module-imports.js b/src/module-imports.jsindex 7be52acc..40e450ea 100644--- a/src/module-imports.js+++ b/src/module-imports.js@@ -230,6 +230,10 @@ function unreadableTestOptions(source) {const code = lex(source).code;const names = new Set(['test', 'it', 'describe']);for (const match of source.matchAll(/\bimport\s+([^;'"]+?)\s+from\s*(['"])node:test\2/gu)) {+ const defaultBinding = /^\s*([A-Za-z_$][\w$]*)(?:\s*,|\s*$)/u.exec(match[1]);+ if (defaultBinding) names.add(defaultBinding[1]);+ const namespace = /^\s*\*\s+as\s+([A-Za-z_$][\w$]*)/u.exec(match[1]);+ if (namespace) names.add(namespace[1]);const bindings = match[1].replace(/[{}*]/gu, ' ').split(',');for (const binding of bindings) {const [original, alias] = binding.trim().split(/\s+as\s+/u);