Skip to content

fix(privacy): show file lists relative to the workspace, never by home path or user name - #407

Open
Sanjay Singh (san360) wants to merge 10 commits into
mainfrom
san360-fix-file-list-path-privacy
Open

Sanjay Singh (san360) wants to merge 10 commits into
mainfrom
san360-fix-file-list-path-privacy

Conversation

@san360

@san360 Sanjay Singh (san360) commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

Patterns' Hot files (and the Busiest Copilot Files list under Explore more) and Context Health's Top Referenced Files showed full local paths, including the home folder and the user name. They now show:

  • a file inside its workspace folder relative to it: src/app.ts;
  • any other file from ~ for the home folder: ~/notes/todo.md;
  • other accounts' home folder names and the account name (remote/WSL homes, a folder named after the account) as …: /home/…/proj/a.ts.

Same-named files are told apart by their relative path (src/a/index.ts, src/b/index.ts). When different files of two workspaces share a relative path in Context Health's per-harness list, the workspace's name goes in front (api/src/app.ts, web/src/app.ts); labels that are still equal get a number, as #405 does for workspaces.

How

  • One browser-safe helper in src/core/display-path.ts (fileDisplayPath, rankFiles), reusing the existing shortenHomePath / hideAccountName from feat(loading): redesign the loading screen (card, details drawer, ready state) #393. Both lists go through rankFiles, which also counts a file once per request, and once whichever workspace logged it, whether it was logged relative, absolute, as a \\?\ long path, a file URI (with or without a host) or VS Code's /c:/… URI path. The Hot files used to count folder/file (the last two segments), which merged different files and, for Windows paths, kept the whole path.
  • Editor chats keep their workspace folder only in the parse result's source index, not on the session. The Analyzer now takes an optional session → folder map (workspaceRootsOf(parseResult.sessionSourceIndex)) from the panel, the canvas host and the summary export command, and passes it to the warm-up worker, which precomputes Context Health.
  • No cache change: labels are derived at analysis time, the parse output is unchanged.

Scope (decided by the user)

  • In scope: these two file lists, their tooltips/data-tip/aria-label, and the same lists in the @aicoach chat tools and the summary export. The chat tools and the export don't include either list today (checked on real data, see below), so nothing changes there.
  • Out of scope, separate follow-ups: quoted prompt text, and paths sent to the page but not shown.

Relation to #405

#405 (workspace names) and this PR both build on display-path.ts from #393 and need two of #405's helpers: Windows long-path (\\?\) handling and hiding other accounts' home folder names. This PR copies those exact lines (stripLongPathPrefix, the decodeFileUri change, accountName, otherHomeAccount, hideOtherHomeAccount) rather than stacking on #405, so either can merge first:

  • the shared lines merge cleanly;
  • two small textual conflicts remain: adjacent imports in src/canvas/host.ts, and both PRs appending new functions at the end of display-path.ts. Resolution is "keep both" in each.
  • Verified locally: merging fix(privacy): name workspaces by folder, never by path or user name #405's branch into this one with that resolution typechecks and passes the unit suites (4178 tests in src/core, src/canvas, src/webview and the fixture tests).

Workspace names on the Patterns cards and in the chat tools are #405's scope and are not changed here.

Real data (read-only)

Canvas host over this machine's real logs (fake HOME with junctions to the real dot-folders, real USERPROFILE), calling getProjectOverview and getConfigHealth for every filter the page offers (unfiltered, each of 420 workspaces, each of 5 harnesses: 426 calls each). Count of distinct labels that contain the home path or the user name:

List main this PR
Hot files 432 of 644 0 of 486
Top Referenced Files 1277 of 1588 0 of 1010
@aicoach chat tools: these lists not included not included
Summary export (JSON, Markdown): these lists not included not included

After the change, 70% of the hot files (341 of 486) and 69% of the referenced files (695 of 1010) on this machine are shown relative to their workspace; the ~/ ones are files outside any workspace (session plans, skills, other checkouts). Fewer distinct labels than on main because the same file logged in different forms now counts once.

Related Issues

Follow-up to #393. Relates to #405.

Validation

At head 8f90c6b (after 8 Copilot review rounds; see the round comments).

Command Result
npm run check passed: typecheck, lint 488 warnings, 0 errors (main: 489), spellcheck 0 issues, knip, lockfile-lint, 199 files / 4296 tests. One run timed out in scripts/build-changelog.test.mjs (git clone under load); it passes alone (6/6) and isn't touched here
npm run build passed
npm run package passed (1.79 MB)
npm run check-size passed (dist/extension.js 1.87 MB of 2 MB)
E2E_PORT=<free port> npm run test:e2e 252 passed, 8 failed, 7 skipped on a loaded machine; the failed specs (context-mgmt, output-races, token-types) pass alone (56/56). On the same machine main's full suite also had 2 random timeouts. CI's e2e passed on 1705986
npm run test:vscode -- --vsix ai-engineer-coach-0.1.0.vsix empty 1, families 3, populated 10 passing (Windows); VS Code compatibility CI passed on Linux, Windows and macOS × minimum, latest, insiders

Failing first:

  • Unit tests (src/core/display-path-files.test.ts, plus cases in analyzer-patterns, analyzer-config, analyzer warm-up and tests/vscode/fixtures.test.ts) fail without the source changes and pass with them. Cases: inside/outside the workspace, Windows and POSIX, case rules (including case-sensitive WSL shares), \\?\ and \\?\UNC\ paths, file URIs with and without a host, VS Code URI paths, remote URIs (decoded), ./.. (not above a drive or share), prefix traps (/home/dev team, dev (old)), a workspace opened on or above the home folders, other accounts' homes (Linux, macOS, Windows, WSL mounts, shares, remotes), an account named home, counting once per request and once across workspaces, and label clashes.
  • e2e (tests/e2e/file-paths.spec.ts): builds both RPC payloads with the real analyzer for files under the test process's home, renders both panels, and checks text, title, data-tip and aria-label for the home path and user name. Both tests fail on main's analyzer.
  • VSIX: the synthetic VS Code chats attach their source file (#file) in the correction turn and log uri.path decoded, as VS Code does. The populated suite checks that every hot and referenced file is src/<session>/<file> and that neither panel shows the home folder. Against a VSIX packaged from main: both checks fail.

Checklist

  • npm run check passes (typecheck + lint + spellcheck + knip + tests)
  • Changes are covered by tests (if applicable)
  • Documentation updated (if applicable)
  • User-visible changes are described in a changelog.d/<PR number>.md fragment

Sanjay Singh (san360) and others added 2 commits December 1, 2026 13:09
…e path or user name

Patterns' Hot files and Context Health's Top Referenced Files showed full
local paths, including the home folder and the user name. Both lists now
go through one browser-safe helper in display-path.ts (rankFiles): a file
inside its workspace folder is shown relative to it (src/app.ts), any
other file from ~, with account names hidden. Files are counted by where
they are, so relative, absolute, long-path and file-URI forms count once.

Editor chats keep their workspace folder only in the parse result's
source index, so the Analyzer (and the warm-up worker that precomputes
Context Health) now receives a session-to-folder map.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
…elative file labels

VS Code logs uri.path decoded; the fixture wrote the percent-encoded form, so a
temp folder's ~ became %7E and no longer matched the workspace folder. The VSIX
checks now require every hot and referenced file to be src/<session>/<file>.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@github-actions

github-actions Bot commented Dec 1, 2026

Copy link
Copy Markdown

⚠️ Deprecation Warning: The deny-licenses option is deprecated for possible removal in the next major release. For more information, see issue 997.

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Unresolved path-handling defects expose account names, split identical files into separate entries, and inflate reference counts and Context Health percentages.

4 open issues
What changed in this PR

This PR extends the existing path-privacy helpers to Patterns and Context Health file lists, showing workspace-relative paths and redacting home folders and account names.

Changes:

  • Centralizes file-path normalization, ranking, and label disambiguation.
  • Passes editor-chat workspace roots through the analyzer and warm-up worker.
  • Adds unit, browser, and packaged-extension coverage, plus documentation and a changelog entry.
File Description
tests/​vscode/​suite/​populated.spec.ts Checks relative file labels and home-path privacy in the packaged extension.
tests/​vscode/​fixtures.ts Adds file references and decoded URI paths to fixtures.
tests/​vscode/​fixtures.test.ts Verifies analyzer file labels from parsed fixtures.
tests/​vscode/​dashboard.ts Adds helpers for inspecting labels and displayed attributes.
tests/​e2e/​harness.html Allows analyzer-built file-list data in browser tests.
tests/​e2e/​file-paths.spec.ts Tests file labels and privacy across both panels.
src/​webview/​panel.ts Supplies editor-chat workspace roots to the analyzer.
src/​extension.ts Supplies workspace roots during summary export.
src/​core/​warm-up-worker.ts Uses workspace roots when computing analytics.
src/​core/​warm-up-worker-protocol.ts Carries and validates the workspace-root map.
src/​core/​display-path.ts Adds file normalization, private labels, and shared ranking.
src/​core/​display-path-files.test.ts Covers path formats, redaction, counting, and label collisions.
src/​core/​analyzer.ts Distributes workspace roots to analyzers and warm-up.
src/​core/​analyzer.test.ts Checks workspace-root forwarding to the worker.
src/​core/​analyzer-patterns.ts Uses shared ranking for Hot files.
src/​core/​analyzer-patterns.test.ts Tests relative Hot files labels and editor-chat roots.
src/​core/​analyzer-config.ts Uses shared ranking for referenced files.
src/​core/​analyzer-config.test.ts Tests relative referenced-file labels and counts.
src/​core/​analyzer-base.ts Associates file occurrences with workspace context.
src/​canvas/​host.ts Supplies workspace roots in the canvas host.
docs/​content/​measure/​patterns.md Documents Hot files path labels.
docs/​content/​improve/​context-health.md Documents referenced-file labels and disambiguation.
changelog.d/​407.md Records the file-list privacy and counting changes.

Review effort: Balanced

Comment thread src/core/display-path.ts Resolved
Comment thread src/core/display-path.ts Resolved
Comment thread src/core/display-path.ts Resolved
Comment thread src/core/display-path.ts Resolved
…ounted and shared homes

Review round 1 on #407:
- A file referenced from its own workspace and from another counted twice: files
  are now keyed by their absolute path when known (a relative path is resolved
  against the session's folder) and labelled inside a workspace folder when one of
  their sessions had them there. Same-named checkouts are no longer folded.
- Two spellings of one file in one request counted twice: rankFiles takes each
  request's files and counts a file once per request.
- file://host/... URIs lost their host: now read as //host/... so they match
  their UNC workspace folder; file://localhost/... is local.
- Other accounts under /mnt/<drive>/Users and on a share named Users or home are
  hidden (…).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 1 (21a2f85)

Item Verdict Fix Failing-first test
Other accounts under /mnt/<drive>/Users and on a Users/home share valid hidden as … "hides other accounts in a WSL mount…"
file://host/… URIs lose their host valid read as //host/…; localhost is local "keeps the host of a file URI…"
Same file from its own and another workspace counted twice valid keyed by absolute path when known; labelled inside a workspace when a session had it there; same-named-checkout folding removed "counts a file once when another workspace references it…"
Two spellings in one request counted twice valid counted once per request "counts a file once per request…"

npm run check: passed (lint 488 warnings, main 489; 4286 tests). e2e file-paths.spec.ts + patterns.spec.ts: 8 passed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Path normalization merges distinct case-sensitive WSL files, while relative labels and workspace disambiguation prefixes can expose other users’ account names.

No open issues 🎉

3 previously missed issues

In code that hasn't changed since last review

Medium severity Preserve case for WSL UNC file paths

src/​core/​display-path.ts:167

Case-folding every UNC path merges distinct files on WSL's case-sensitive filesystem. For example, //wsl.localhost/Ubuntu/home/dev/repo/Foo.ts and .../foo.ts produce the same key here, so rankFiles combines their counts (or drops one within a request), whereas the previous referenced-file ranking kept them separate. Preserve the Linux path's case for wsl.localhost/wsl$ shares while normalizing the host/share prefix.

Medium severity Redact account names in ancestor-workspace paths

src/​core/​display-path.ts:196

The relative-path branch skips other-account redaction: with local home /Users/dev, workspace /Users, and file /Users/alice/proj/a.ts, both lists display alice/proj/a.ts. The same leak occurs for workspaces opened above Linux or WSL-mounted home directories. Redact the account-bearing absolute path before extracting the relative label, keep the counting key unchanged, and add tests for these ancestor-workspace cases.

Medium severity Sanitize workspace roots in disambiguation labels

src/​core/​display-path.ts:237

With local home C:\Users\dev, files named src/app.ts in workspaces rooted at /home/alice and /home/bob get labels alice/src/app.ts and bob/src/app.ts when their workspace names are alice and bob. Sanitizing only the bare workspace name loses the home-folder context, exposing those accounts in Context Health's text and tooltip/accessibility attributes. Preserve the workspace root through LocatedFile, use it to sanitize the disambiguation prefix, and number remaining collisions.

4 resolved since last review

Review effort: Balanced

…SL path case

Review round 2 on #407:
- A workspace opened above the home folders (/home, /Users, C:\) showed another
  account in the relative label: accounts are hidden in the whole path, then the
  relative part is taken.
- The name put in front of clashing labels came from the bare workspace name
  (alice): it now comes from the workspace folder, so another account's home
  shows as ….
- WSL shares hold case-sensitive Linux files: only their host and distribution
  are compared without case.
- VSIX check reads the Top Referenced Files list from the page instead of the
  screen, which a small window cut off below the fold (Windows and macOS CI).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 2 (7dd06ff). The round had no inline threads; these three came from the review body ("previously missed").

Item Verdict Fix Failing-first test
WSL shares compared without case merge Foo.ts and foo.ts valid on //wsl.localhost/<distro> and //wsl$/<distro> only host and distribution ignore case; other shares and drives still do "keeps the case of files on a WSL share…"
Workspace opened above the homes (/Users, /home, C:\) shows alice/proj/a.ts valid accounts are hidden in the whole path, then the relative part is taken: …/proj/a.ts, Users/…/a.ts "hides other accounts below a workspace opened above the home folders"
Prefix for clashing labels from the bare workspace name (alice/src/app.ts) valid prefix comes from the workspace folder when known: …/src/app.ts, …/src/app.ts (2) "names clashing files by their workspace folder…"

Also fixed: VS Code compatibility failed on Windows and macOS (Ubuntu passed). The CI screenshot shows the breakdown opened but below the fold of the small window, and Selenium's getText() reads only visible text. The check now reads the list's data-tip labels from the page and drops a redundant click on the already-active Context Quality tab.

Gates: npm run check passed (lint 488, main 489; 4289 tests). npm run test:vscode -- --vsix … 1 + 3 + 10 passing (Windows). Full e2e locally: 257 passed, 3 failed with 30 s timeouts in unrelated pages (dashboard navigation, loading, context-mgmt keyboard table); they pass 12/12 alone, and main's full suite on the same machine also had 2 random timeouts (256 passed), so this machine is loaded; CI is the reference.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Path redaction still exposes other users’ account names when the local account is named home and in mounted Windows home paths accessed through WSL or URI forms, affecting both file lists.

No open issues 🎉

2 previously missed issues

In code that hasn't changed since last review

Medium severity Redact account names in WSL-mounted Windows home paths

src/​core/​display-path.ts:196

Mounted Windows homes still expose another account when logged through WSL UNC paths, file URIs, or remote URIs: both file://wsl.localhost/Ubuntu/mnt/c/Users/alice/notes.md and vscode-remote://wsl+Ubuntu/mnt/c/Users/alice/notes.md retain alice when the local account is dev. These labels reach both file lists, including Context Health's tooltip and accessible label. Recognize /mnt/<drive> after a WSL host/distribution or URI authority, and add regression cases for these forms.

Medium severity Redact structural home paths before replacing the account name

src/​core/​display-path.ts:201

For a local account named home (home = /home/home), this order turns /home/alice/project/a.ts into /…/alice/project/a.ts: hideAccountName removes the structural home segment before hideOtherHomeAccount can recognize it. Both file lists therefore still expose alice. Apply the structural home-folder redactions before replacing occurrences of the local account name.

Review effort: Balanced

…s behind WSL and URIs

Review round 3 on #407:
- /mnt/<drive>/Users/<name> behind a WSL share or a remote URI kept the name.
- An account named home hid the /home/ segment before other accounts' homes were
  found there; home folders are now hidden first.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 3 (46de0a3). No inline threads; two items from the review body ("previously missed").

Item Verdict Fix Failing-first test
/mnt/c/Users/alice behind a WSL share or vscode-remote:// URI keeps alice valid the mounted-home rule also applies after a WSL share or a URI authority "hides other accounts in a mounted Windows home reached through WSL or a remote URI"
Local account named home hides /home/ before other accounts are found there valid home folders are hidden first, then the account name (which, for an account named home, also hides the home folder: /…/…/project/a.ts) "hides other accounts when the local account is named home"

Note for #405: its workspaceDisplayLabels applies hideAccountName before hideOtherHomeAccount too, so the same home-account ordering case applies to workspace hover paths there.

Gates: npm run check passed (lint 488, main 489; 4291 tests); e2e file-paths, patterns, prompt-cache specs: 28 passed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human review is needed because remote-URI edge cases can expose other users’ account names and incorrectly determine file identity or workspace membership.

No open issues 🎉

Review effort: Balanced

Review round 4 on #407 flagged remote-URI edge cases. Remote URIs were kept
verbatim, so a percent-encoded account name escaped the home-folder rules, and
encoded, differently cased or dot-segment spellings of one file counted apart
and didn't match their workspace folder. Their scheme and host are now lower
case and their path decoded and resolved like any other path.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 4 (head before this: 46de0a3). The review had no threads and no listed items; its overview said remote-URI edge cases can expose account names and mis-determine file identity or workspace membership. How I read it: remote URIs (vscode-remote://…) were kept verbatim, so

  • a percent-encoded name (/home/al%69ce) or host (ssh-remote%2Bbox) escaped the home-folder rules;
  • encoded, differently cased (scheme/host) or ./.. spellings of one file counted apart and didn't match their workspace folder.

Fix: remote URIs now get a lower-case scheme and host and a decoded, resolved path, like other paths. Failing-first tests: "reads remote URIs decoded, so encoded names are hidden and folders match" and "counts one remote file once however its URI is spelled". Real data on this machine has no remote URIs in either list, so the figures in the description don't change.

Gates: npm run check passed (lint 488, main 489; 4293 tests); e2e file-paths + patterns: 8 passed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

UNC parent-path resolution incorrectly allows .. to escape the share root, causing workspace files to appear external and splitting request counts across equivalent path spellings.

1 open issue

Review effort: Balanced

Comment thread src/core/display-path.ts Resolved
Review round 5 on #407: for a workspace on \\\\server\\share, ../a.ts resolved to
//server/a.ts and looked external. A share, like a drive, is now the floor for
parent segments.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 5 (64c7509)

Item Verdict Fix Failing-first test
.. from a \\server\share workspace escapes the share valid the share, like a drive, is the floor for .. "does not climb above a share, as Windows does not"

Gates: npm run check passed (lint 488, main 489; 4294 tests); e2e file-paths.spec.ts: 2 passed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because remote Windows and authority-stripped WSL paths can bypass home-directory redaction and expose account names.

No open issues 🎉

1 resolved since last review

Review effort: Balanced

…host-less WSL paths

Review round 6 on #407 (overview only): vscode-remote://box/c:/Users/<name> and
/wsl.localhost/<distro>/home/<name> (a WSL file URI whose host ended up in the
path) kept the account name. One regex now lists every place another home
folder can start that hideOtherHomeAccount doesn't look.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 6 (head before this: 64c7509). No threads or listed items; the overview said remote Windows paths and WSL paths without their host can bypass home redaction. How I read it, and the fix in the new head:

Form Before After
vscode-remote://box/c:/Users/alice/a.ts alice shown …/c:/Users/…/a.ts
/wsl.localhost/Ubuntu/home/alice/a.ts (a WSL file URI with its host in the path) alice shown /wsl.localhost/Ubuntu/home/…/a.ts
file:///wsl$/Ubuntu/mnt/c/Users/alice/a.ts alice shown /wsl$/Ubuntu/mnt/c/Users/…/a.ts

Failing-first test: "hides other accounts on a remote Windows drive and on a WSL path without its host". The places another home folder can start are now one documented regex, rather than one rule per review round.

Gates: npm run check passed (lint 488, main 489; 4295 tests).

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because path-label numbering can still produce duplicate labels for distinct files, making Context Health entries indistinguishable.

No open issues 🎉

Review effort: Balanced

Review round 7 on #407 (overview only): a file named like a numbered label
(x (2)) could still share a label with a numbered one.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@san360

Copy link
Copy Markdown
Contributor Author

Review round 7 (head before this: 1705986). No threads or listed items; the overview noted that numbering could still give two files the same label. Read as: a file literally named like a numbered label (api/src/a.ts (2)) next to two clashing src/a.ts got the same api/src/a.ts (2). Fix in 8f90c6b: a label is numbered until no shown label has it (… (3)). Failing-first test: "numbers clashing labels past a file that is already named like a number". Cosmetic; no privacy impact.

Gates: npm run check passed apart from scripts/build-changelog.test.mjs timing out on a git clone under load (passes alone, 6/6; untouched by this PR); lint 488 (main 489); e2e file-paths.spec.ts 2 passed.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Human assessment is needed because whitespace normalization can merge distinct POSIX files while assigning different counting keys to native and URI aliases of the same file.

No open issues 🎉

Review effort: Balanced

@san360

Copy link
Copy Markdown
Contributor Author

Review round 8 (8f90c6b): no threads and no listed items. The overview mentions that trimming whitespace could merge a POSIX file whose name ends in a space with its trimmed twin, and that some native/URI spellings might count apart. Declined for this PR: it is a counting nuance for file names with leading or trailing spaces, with no effect on what is hidden, and rounds 4–8 have each raised a narrower path-normalization edge without a concrete case. Stopping the review loop here; happy to pick up a concrete repro in a follow-up.

All CI checks on 8f90c6b: CodeQL, Dependency Review and VS Code compatibility (Linux, Windows, macOS × minimum, latest, insiders) passed; CI running.

@san360
Sanjay Singh (san360) marked this pull request as ready for review December 1, 2026 15:42
Sanjay Singh (san360) added a commit that referenced this pull request Dec 1, 2026
…before the account (review)

- Copilot app worktree folders are named `<handle>-<words>`, so the signed-in
  GitHub handle reached workspace names: Patterns cards, the sidebar list and
  the @aicoach context, credits and code tools. Folder names drop a leading
  signed-in handle (the rule branch names already follow, scrubBranch) in
  every parser, Top workspaces labels and hover paths, and the Current filter
  name. CACHE_VERSION 36.
- workspaceDisplayLabels hides other accounts' home folders before the account
  name, so an account named `home` can't expose `/home/<other>` (as in #407).
- A label is numbered until no shown label has it (`web`, `web (2)`, `web`).

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sanjay Singh (san360) added a commit that referenced this pull request Dec 1, 2026
…(review)

A WSL mount (/mnt/c/Users/<x>, also behind a WSL share or a remote URI), a host-less WSL path, a share named home or Users, and a remote's Windows drive are recognized as other accounts' homes, as in the file lists (#407): hidden in hover paths, and such a home folder is named ~.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants