← Back to wkappbot-core
wkappbot-core ★☆☆

# Ask anon AI tab: preserve on failure

AskCommands.ChatGpt and AskCommands.Claude must gate cdp.TryCloseAnonymousTabAsync() on ok=true. On ask failure (ok=false), the anonymous AI tab MUST stay open so the user can log in or inspect the failed page. Gemini's AskCommands.Gemini.cs uses inverted convention (if (!ok)) for a different reason and is intentionally untouched.

user/developer
ask cdp chrome anon-tab

## Steps

1. Gate TryCloseAnonymousTabAsync on ok=true in...
2. Never close the anon tab when ok=false -- us...
3. AskCommands.Gemini.cs keeps its 'if (!ok)' c...
4. Verified 2026-05-18: ev-tab-anon-close-failu...