From 16ec68cd47d2c56c02ade47ed9cf9da18bcb1347 Mon Sep 17 00:00:00 2001 From: garrytan Date: Tue, 3 Nov 2026 04:03:57 +0000 Subject: [PATCH] test: ship-control-flow expects the platform NEXT in the repeat decision Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/ship-control-flow.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/ship-control-flow.test.ts b/test/ship-control-flow.test.ts index b6da27c93..ced811b60 100644 --- a/test/ship-control-flow.test.ts +++ b/test/ship-control-flow.test.ts @@ -43,7 +43,7 @@ describe('ship source controller', () => { test('the review plan drives the repeat, the fix-check binds under its own skill, and Step 11.5 accepts a fix-check or a planned adversarial skip', () => { const decide = review.slice(review.indexOf('### Decide whether to repeat Step 9'), review.indexOf('**Required-probe parent gate:**')); for (const flag of ['--fixed-blocking', '--fixed-below', '--blocking-open', '--touched-gate', '--critical-found', '--adversarial-ran', '--reviewed-numbers ']) expect(decide).toContain(flag); - expect(decide).toContain('its `NEXT:` alone picks the next decision: `stop` 2, `full` 3, `fix-check` 3.5, `done` 4.'); + expect(decide).toContain('its `NEXT:` alone picks the next decision: `stop` 2, `full` 3, `fix-check` 3.5, `done` 4, `platform` 4.'); expect(decide).toContain('`gstack-review-log --start review-fix-check` token'); expect(decide).toContain('`"skill":"review-fix-check"` with `--finish `'); expect(compact(read('ship/sections/adversarial.md.tmpl'))).toContain("Step 9's last full-pass plan governs this step");