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(runners): invalidate newline callback aliases consistently [C7]
Corey Olsondeaff3a4a43f
diff --git a/src/module-imports.js b/src/module-imports.jsindex 806a4b9c..5809b53e 100644--- a/src/module-imports.js+++ b/src/module-imports.js@@ -331,8 +331,9 @@ function cpuBindings(source, moduleExports, callable = false, literalCache) {const aliasPasses = names.size;for (let pass = 0; pass < aliasPasses; pass++) {let removed = false;- for (const match of code.matchAll(/\bconst\s+([A-Za-z_$][\w$]*)\s*=\s*([A-Za-z_$][\w$]*)\s*;/gu)) {- if (names.has(match[1]) && !names.has(match[2])) { names.delete(match[1]); removed = true; }+ for (const match of code.matchAll(/\bconst\s+([A-Za-z_$][\w$]*)\s*=\s*([^;\n]+)/gu)) {+ const alias = /^([A-Za-z_$][\w$]*)\s*$/u.exec(match[2].trim())?.[1];+ if (alias && names.has(match[1]) && !names.has(alias)) { names.delete(match[1]); removed = true; }}if (!removed) break;}