t3code icon indicating copy to clipboard operation
t3code copied to clipboard

Incognito browser visits persist in normal project history

Open voltcrash opened this issue 4 weeks ago • 0 comments

Incognito browser address-bar visits are saved in a project's normal Recently used history and survive quitting/relaunching the desktop client. Settings say Incognito data is cleared when the app closes.

Reproduction on upstream ac8dce0cc3abd8a337f2d806b5082a6834b9b81a (the affected source is unchanged on current main edc37c96c810d42761ab510c6a3e9d0a741547dc):

  1. Open a project's browser in Incognito and enter a unique local HTTP URL.
  2. Open a Default tab and enter a separate regular control URL.
  3. Open another empty Default tab and inspect Recently used.
  4. Quit/relaunch Electron with the same isolated server home and Electron user-data profile, and inspect Recently used again.

Observed: both Incognito and regular URLs appear in normal Recently used and persisted t3code:browser-history:v1, including after native process restart. Expected: only the regular URL enters normal project history.

Verified in real dev Electron with native bridge, non-headless WebContents guest and CDP webview target; no mock bridge or streamed-browser substitution. Before and after restart, the baseline has both synthetic URLs and the focused fix retains only regular. The restart checks verify a new browser identity, unchanged app origin, and a retained localStorage sentinel. All four pre/post results pass.

Baseline after restart, fixed after restart, all PNGs and JSON transcripts.

The same persistent-history boundary also accepts an Incognito page's title for a same-URL regular entry. Four fail-before store regression rows cover visit queue exclusion and title filtering with either settle timing. Native card-click and title-update interactions were not manually exercised; the native reproduction above covers address-bar/history/restart behavior.

Scope is one obvious persistent-history privacy defect, restoring established Incognito behavior. No new setting/workflow, cleanup of old entries without profile provenance, other URL metadata cleanup, or cookie/session lifetime changes.

Reported and implemented with GPT-6.1 Sol (xhigh) in the Codex harness through T3 Code.

voltcrash avatar Nov 02 '26 16:11 voltcrash