You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: File watcher scans full user profile incl. Phone Link CrossDevice mount, triggering mass on-demand downloads from linked phone (Windows) #37789
I searched existing issues and did not find a duplicate.
I included enough detail to reproduce or investigate the problem.
Area
apps/desktop
Steps to reproduce
Link an Android phone via Phone Link so that C:\Users\<user>\CrossDevice\<phone>\storage\ exists.
Start T3 Code with the session location set to C:\Users\<user>.
Windows shows an "automatic file downloads" notification naming T3 Code; the phone shows an active transfer.
%USERPROFILE%\.local\share\opencode\log\opencode.log shows watcher entries with ignores=0 (see Logs below).
Expected behavior
Starting or restarting T3 Code should not trigger downloads from a linked phone. The watcher should skip Cloud Files/FOD reparse-point subtrees, and/or the default session location should be a project folder rather than the profile root, and/or the settings should offer path exclusions.
Suggested fixes
Detect and skip Cloud Files/FOD reparse-point subtrees (OneDrive, CrossDevice) in the watcher.
Expose watcher ignore paths in the settings UI (mapped to watcher.ignore).
Warn when the workspace contains known on-demand mounts.
Actual behavior
The full profile is enumerated, including ~4,256 placeholder entries under CrossDevice\<phone>\storage. fsutil reparsepoint query shows these are FOD reparse points (tag "FeRp"), not local files. Each restart repeats the transfer, which costs phone battery and mobile data.
Impact
Minor bug or occasional failure
Version or commit
T3 Code 0.1.9 (Beta)
Environment
Windows 11 Home 10.0.26300, ARM64, opencode 2.3.0, Plugins: none (MCP: t3-code)
Activity