All hallucination drills
errors-reliabilityFree sample
The last step of a CI tool prints a JSON report for the next pipeline stage to parse. An assistant finished it with an explicit exit, noting that process.exit flushes pending stream writes before the process terminates.
const report = buildReport(results);
process.stdout.write(JSON.stringify(report));
process.exit(0);