GitHub issue #15622 in cline/cline, created 2026-11-09 by nshchepotev and titled "Feature/Bug: Hardcoded Global Documents path prevents multi-profile isolation and causes excessive polling calls in Customize tab", reports that Cline stores global Rules, Workflows, Hooks, and McpServers under a hardcoded Documents path, so multiple VS Code instances running with different --user-data-dir share the same global rules directory and proper sandbox isolation for different projects and environments is prevented. It also reports that getDocumentsPath() is called continuously during Customize-tab UI polling without memoization, and proposes storing global data under the VS Code extension global storage context and memoizing the resolved path.
Verbatim Excerpts from Cited Records
“Currently, Cline uses a hardcoded system path via `getDocumentsPath()` (pointing to `%USERPROFILE%\Documents\Cline\Rules`) to store global Rules, Workflows, Hooks, and McpServers.”
·
cline/cline (issue 15622 opening body, Describe the bug / feature request section)
·
2026-11-09T20:09:15Z
·GitHub Issue ↗
“When running multiple instances of VS Code with different `--user-data-dir` (or in VS Code Portable mode), all instances share the exact same global rules directory.”
·
cline/cline (issue 15622 opening body, Describe the bug / feature request section)
·
2026-11-09T20:09:15Z
·GitHub Issue ↗
“It prevents proper sandbox isolation for different projects/environments.”
·
cline/cline (issue 15622 opening body, Describe the bug / feature request section)
·
2026-11-09T20:09:15Z
·GitHub Issue ↗
“Instead of using the global system `Documents` folder, global data should ideally be stored inside the current VS Code extension global storage context (`context.globalStorageUri.fsPath`), which naturally honors the `--user-data-dir` or `--extensions-dir` parameters provided to VS Code.”
·
cline/cline (issue 15622 opening body, Proposed Solution section)
·
2026-11-09T20:09:15Z
·GitHub Issue ↗
Counter-record: Issue remains open as of 2026-12-02 (last updated 2026-12-02T20:25:19Z) and carries the "VS Code" label. 2 comments read in total. linear-code[bot] (2026-11-09) linked Linear issue CLINE-3764. sanjay-senthilkumar01 (2026-12-02) agreed that storing Rules, Workflows, Hooks and MCP config under `context.globalStorageUri` is the right fix because that path already follows `--user-data-dir` and portable VS Code, suggested a one-time migration with a backup so existing rules are not silently lost, and noted that memoizing `getDocumentsPath()` alone would not give isolation if the memoized path is still the shared one. No maintainer fix or not-planned decision appears in the surveyed thread. The claim documents only the original report, not a verified current state.
Falsification probe: If GitHub issue #15622 is closed as fixed, as a duplicate, or as not planned, if the author edits the opening body so the quoted sentences no longer match verbatim, or if the author posts a retraction of the report, this claim drops to Withdrawn.
Audit verification: Verified 100% continuous verbatim substring against official GitHub REST API by
scripts/verify_claim_verbatim.py.