fix(shared): discover global rules at ~/Cline/Rules (#13614)
The VS Code Rules tab resolves the Documents folder via 'xdg-user-dir DOCUMENTS', which prints bare $HOME when no user-dirs config exists (WSL/headless installs), so it reads and writes global rules at ~/Cline/Rules. The SDK's rule search paths only covered ~/Documents/Cline/Rules, so those rules never reached the system prompt. Add the missing path to the search list. Fixes #13542 Co-authored-by: Saoud Rizwan <saoudrizwan@users.noreply.github.com>
S
Saoud Rizwan committed
691fcb6b67f0b4e38b5f2f6cbece695b3e92afd3
Parent: c97e4af
Committed by GitHub <noreply@github.com>
on 8/27/2026, 9:44:25 PM