From b711c566f70dc58188cbb415284d5c555ca3b168 Mon Sep 17 00:00:00 2001 From: garrytan Date: Sat, 31 Oct 2026 19:35:44 +0000 Subject: [PATCH] test: the generated Codex plan-review invocation prints OUTSIDE_USAGE (#2948) Co-authored-by: capy-ai[bot] <230910855+capy-ai[bot]@users.noreply.github.com> --- test/run-in-background-guidance.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/run-in-background-guidance.test.ts b/test/run-in-background-guidance.test.ts index 5851cb6ea..8475a2661 100644 --- a/test/run-in-background-guidance.test.ts +++ b/test/run-in-background-guidance.test.ts @@ -107,8 +107,8 @@ exec ${quote(Bun.which('cat')!)} "$@" const findings = (id: string) => `${id}: current findings\nNo issues found.\nRecommendation: fix ${id} because this is the current finding.\n`; // INV-1: the verdict-form validator prints its verdict before the completed status. - const unavailable = (id: string) => `${findings(id)}VERDICT: unavailable\nFINDINGS: none\nREASON: execution_failed\n`; - const completed = (id: string) => `${findings(id)}VERDICT: clean\nFINDINGS: none\nOUTSIDE_STATUS: completed provider=codex host=claude\n`; + const unavailable = (id: string) => `${findings(id)}VERDICT: unavailable\nFINDINGS: none\nOUTSIDE_USAGE: unknown\nREASON: execution_failed\n`; + const completed = (id: string) => `${findings(id)}VERDICT: clean\nFINDINGS: none\nOUTSIDE_USAGE: unknown\nOUTSIDE_STATUS: completed provider=codex host=claude\n`; test('fresh shells retain the current stderr and clean its exact temporary file', () => { const f = fixture();