mirror of
https://github.com/garrytan/gstack.git
synced 2026-10-04 10:26:52 +02:00
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:
1 parent
878092dd0d
commit
1137cba7ac
1 file changed
+5
-1
@@ -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);
|
// that shape CONTRACTUAL ("use exactly this shape" in the template);
|
||||||
// native AskUserQuestion could render terse option labels that a
|
// native AskUserQuestion could render terse option labels that a
|
||||||
// correct run would fail on (red-team finding).
|
// 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'
|
...(skillName === 'plan-ceo-review'
|
||||||
? {}
|
? {}
|
||||||
: { extraArgs: ['--disallowedTools', 'AskUserQuestion'] }),
|
: { extraArgs: ['--disallowedTools', 'AskUserQuestion'], requireProseEvidence: true }),
|
||||||
});
|
});
|
||||||
|
|
||||||
if (obs.outcome === 'silent_write' || obs.outcome === 'exited' || obs.outcome === 'timeout') {
|
if (obs.outcome === 'silent_write' || obs.outcome === 'exited' || obs.outcome === 'timeout') {
|
||||||
|
|||||||
Reference in new issue
Block a user