| 27 | } |
| 28 | |
| 29 | function initGit(projectRoot) { |
| 30 | childProcess.execFileSync('git', ['init'], { cwd: projectRoot, stdio: 'ignore' }); |
| 31 | childProcess.execFileSync('git', ['checkout', '-b', 'codex/test-ready'], { cwd: projectRoot, stdio: 'ignore' }); |
| 32 | childProcess.execFileSync('git', ['config', 'user.email', 'test@example.com'], { cwd: projectRoot, stdio: 'ignore' }); |
| 33 | childProcess.execFileSync('git', ['config', 'user.name', 'Test User'], { cwd: projectRoot, stdio: 'ignore' }); |
| 34 | } |
| 35 | |
| 36 | function initPlanning(projectRoot) { |
| 37 | fs.mkdirSync(path.join(projectRoot, '.planning', 'telemetry'), { recursive: true }); |