From 0145da28b7e37e981fff83ca13ffc57c40ca46df Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 3 Oct 2026 01:01:14 +0000 Subject: [PATCH] test: plan-review-report free check follows the de-coached prompt (W7g) --- test/plan-review-report-recording.test.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test/plan-review-report-recording.test.ts b/test/plan-review-report-recording.test.ts index 28354d1d6..95549f93c 100644 --- a/test/plan-review-report-recording.test.ts +++ b/test/plan-review-report-recording.test.ts @@ -212,7 +212,8 @@ test('canonical reports preserve both successful exits, terminal forms, metadata timeout: CAPTURE_LONG_MS, runId: 'public-report-free' }); expect(call.signal).toBeInstanceOf(AbortSignal); expect(call.prompt).toContain('Read plan-eng-review/SKILL.md and plan-eng-review/sections/review-sections.md'); - expect(call.prompt).toContain('"Plan File Review Report" section of plan-eng-review/sections/review-sections.md'); + expect(call.prompt).toContain('plan.md is the plan file for this review session'); + expect(call.prompt).not.toMatch(/CRITICAL REQUIREMENT|GSTACK REVIEW REPORT|\bMUST\b/); expect(call.prompt).not.toContain('placeholder table with all five review rows (CEO, Codex, Eng, Design, DX)'); expect(call.main).toBe(fs.readFileSync(path.join(ROOT, 'plan-eng-review/SKILL.md'), 'utf8')); expect(call.section).toBe(fs.readFileSync(path.join(ROOT, 'plan-eng-review/sections/review-sections.md'), 'utf8'));