test(plan-mode-no-op): require prose evidence for the prose-fallback members so a spinner-frame judge verdict cannot end the run as asked

This commit is contained in:
garrytan committed 2026-09-30 23:42:14 +00:00
1 parent a23eefc044
commit 57493c1e1e
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') {