const { spawnSync } = require('node:child_process'); const path = require('node:path'); for (const file of ['bank-engine.cjs', 'unified-bank.cjs', 'runner-browser.cjs', 'verify.cjs', 'attempt-policy.cjs', 'diagnostic-logger.cjs', 'learning-engine.cjs', 'lease-recovery.cjs', 'course-map-navigation.cjs', 'course-entry-workflow.cjs', 'quiz-adapter.cjs', 'exam-controller.cjs', 'panel-tabs.cjs', 'assistant.cjs', 'exam-assistant.cjs', 'panel-drag.cjs', 'workflow.cjs', 'video-workflow.cjs', 'video-exam-workflow.cjs', 'diagnostics-workflow.cjs']) { const result = spawnSync(process.execPath, [path.join(__dirname, file)], { stdio: 'inherit' }); if (result.status !== 0) process.exit(result.status || 1); }