From d5498f657288e5e8f6a20a462e88facc45f090fe Mon Sep 17 00:00:00 2001 From: Wickedness Date: Thu, 9 Jul 2026 14:24:27 +0900 Subject: [PATCH] Check next sortie checklist detail consistency --- scripts/verify-flow.mjs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/verify-flow.mjs b/scripts/verify-flow.mjs index 780c86f..e315c08 100644 --- a/scripts/verify-flow.mjs +++ b/scripts/verify-flow.mjs @@ -9599,6 +9599,9 @@ function assertSortieTacticalRoster(state, requiredUnitIds) { if (state.sortieChecklistSummary.complete && state.sortieChecklistSummary.nextIncompleteLabel !== null) { throw new Error(`Expected complete sortie checklist summary to clear next incomplete item: ${JSON.stringify(state.sortieChecklistSummary)}`); } + if (state.sortieChecklistSummary.complete && state.sortieChecklistSummary.nextIncompleteDetail !== null) { + throw new Error(`Expected complete sortie checklist summary to clear next incomplete detail: ${JSON.stringify(state.sortieChecklistSummary)}`); + } if (!state.sortieChecklistSummary.complete && !state.sortieChecklistSummary.nextIncompleteLabel) { throw new Error(`Expected incomplete sortie checklist summary to expose next incomplete item: ${JSON.stringify(state.sortieChecklistSummary)}`); }