Stabilize early objective QA gate

This commit is contained in:
2026-07-06 12:30:43 +09:00
parent c0ce65d018
commit bc42a4dfbc
2 changed files with 21 additions and 16 deletions

View File

@@ -61,6 +61,11 @@ console.log(
`QA repeat summary: runs=${aggregate.runs.length} battles=${aggregate.battleCount} processFailures=${aggregate.summary.runsWithProcessFailures} objectiveMisses=${aggregate.summary.totalMissedObjectives}`
);
if (aggregate.summary.runsWithProcessFailures > 0 || aggregate.summary.totalMissedObjectives > 0) {
console.error('QA repeat failed: process failures or missed objectives were detected.');
process.exitCode = 1;
}
function buildAggregateReport(reports) {
const missedObjectiveCounts = new Map();
const battleOutcomes = new Map();