diff --git a/test/helpers/claude-pty-runner.ts b/test/helpers/claude-pty-runner.ts index 9025448d..3b56fb07 100644 --- a/test/helpers/claude-pty-runner.ts +++ b/test/helpers/claude-pty-runner.ts @@ -138,6 +138,19 @@ export function isPlanReadyVisible(visible: string): boolean { return /ready to execute|Would you like to proceed/i.test(visible); } +/** + * Detect the AUTO_DECIDE preamble template firing. The model prints + * "Auto-decided