also looking at this
fix: report skipped gates as skipped, and honour ai.majorUpgrades.maxAttempts
#1433
9 files
+257
-8
| @@ -43,7 +43,9 @@ const VERDICT_SCHEMA = { | ||
| 43 | 43 | |
| 44 | 44 | /** A gate that could not run, reported as neutral rather than as a pass. */ |
| 45 | 45 | function neutral(name: string, summary: string): GateResult { |
| 46 | return { name, mode: 'warning', passed: true, summary, detail: 'This check did not run.' } | |
| 46 | // `passed: true` so a skipped gate never blocks; `neutral: true` so it is | |
| 47 | // never rendered, counted or titled as though it had run and found nothing. | |
| 48 | return { name, mode: 'warning', passed: true, neutral: true, summary, detail: 'This check did not run.' } | |
| 47 | 49 | } |
| 48 | 50 | |
| 49 | 51 | /** |