From 2f7f967189253bd9631cb06266fe4bac9e102440 Mon Sep 17 00:00:00 2001 From: Sehoon Shon Date: Mon, 30 Mar 2026 23:17:36 -0400 Subject: [PATCH] test(integration): fix plan mode write denial test false positive (#24299) --- integration-tests/plan-mode.test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/integration-tests/plan-mode.test.ts b/integration-tests/plan-mode.test.ts index 5a1c91e4e1..2467b6027e 100644 --- a/integration-tests/plan-mode.test.ts +++ b/integration-tests/plan-mode.test.ts @@ -113,7 +113,7 @@ describe('Plan Mode', () => { ).toBe(true); }); - it.skip('should deny write_file to non-plans directory in plan mode', async () => { + it('should deny write_file to non-plans directory in plan mode', async () => { const plansDir = '.gemini/tmp/foo/123/plans'; const testName = 'should deny write_file to non-plans directory in plan mode'; @@ -135,7 +135,7 @@ describe('Plan Mode', () => { await rig.run({ approvalMode: 'plan', - args: 'Create a file called hello.txt in the current directory.', + args: 'Attempt to create a file named "hello.txt" in the current directory. Do not create a plan file, try to write hello.txt directly.', }); const toolLogs = rig.readToolLogs();