Skip to content

Show it a video you love. Get a new video in the same style. An AI crew (Claude Code or Codex) plans, builds and reviews it with you.

Test: a paused segment now needs four failed reviews (one extra round for a single blocker)

許元豪5a82343d4747
diff --git a/app/server/pipeline.test.ts b/app/server/pipeline.test.ts
index 5e1a532..f20965e 100644
--- a/app/server/pipeline.test.ts
+++ b/app/server/pipeline.test.ts
@@ -341,8 +341,8 @@ describe('no characters', () => {
});
test('a note while paused in the shot line goes to the shots, not to a cast fix', async () => {
- let s2 = 0; // S2 fails its first three reviews (the round limit), then passes after the note
- S = base({ chars: [], shotPass: (shot) => shot !== 'S2' || ++s2 > 3 });
+ let s2 = 0; // S2 fails its first four reviews (the round limit plus the extra round for a single blocker), then passes after the note
+ S = base({ chars: [], shotPass: (shot) => shot !== 'S2' || ++s2 > 4 });
const id = newProject('plan_review');
writeFileSync(join(J.dirOf(id), 'plan.json'), JSON.stringify({ title: 'T', version: 1, characters: [] }));
await J.approve(id);