test(plan-mode-no-op): require prose evidence before a waiting verdict ends eng/design runs (carried byte-identical from #3002)

With the prose fallback forced, the gate renders as a lettered menu; a judge
'waiting' verdict on a spinner-only frame ended the run as 'asked' before the
menu rendered, so the scope-gate check failed on unchanged behavior.
This commit is contained in:
garrytan committed 2026-09-30 23:49:53 +00:00
1 parent 878092dd0d
commit 1137cba7ac
1 file changed
+5 -1
+5 -1
View File
@@ -70,9 +70,13 @@ describeE2E('plan-mode-info no-op outside plan mode (gate regression)', () => {
// that shape CONTRACTUAL ("use exactly this shape" in the template);
// native AskUserQuestion could render terse option labels that a
// correct run would fail on (red-team finding).
// requireProseEvidence: with the prose fallback forced, the gate
// renders as a lettered menu, so a judge 'waiting' verdict on a
// spinner-only frame must not end the run as 'asked' before that
// menu has rendered.
...(skillName === 'plan-ceo-review'
? {}
: { extraArgs: ['--disallowedTools', 'AskUserQuestion'] }),
: { extraArgs: ['--disallowedTools', 'AskUserQuestion'], requireProseEvidence: true }),
});
if (obs.outcome === 'silent_write' || obs.outcome === 'exited' || obs.outcome === 'timeout') {