(projectRoot = process.cwd())
| 227 | } |
| 228 | |
| 229 | function readAppArtifacts(projectRoot = process.cwd()) { |
| 230 | const filePath = path.join(planningDir(path.resolve(projectRoot), 'artifacts'), 'codex-app-evidence.jsonl'); |
| 231 | if (!fs.existsSync(filePath)) return []; |
| 232 | return fs.readFileSync(filePath, 'utf8') |
| 233 | .split(/\r?\n/) |
| 234 | .filter(Boolean) |
| 235 | .map((line) => JSON.parse(line)); |
| 236 | } |
| 237 | |
| 238 | function verifyAppArtifacts(options = {}) { |
| 239 | const projectRoot = path.resolve(options.projectRoot || process.cwd()); |
no test coverage detected