Skip to content

Same repository opened via WSL path vs. native Windows path is tracked as two unrelated projects #18

Description

@TSP0wni3

Summary
When the same physical repository is available both as a native Windows folder (e.g. C:\repos\<name>) and as a WSL path (wsl.localhost/<Distro>/home/<user>/src/<name>), hoosage registers them as two completely separate projects with different IDs, instead of recognizing them as the same codebase.

Why this happens
Project identity is derived from a hash of the full workspace URI (per the project's own documentation on project attribution). A native file:// URI and a vscode-remote://wsl+... URI for the same on-disk content necessarily hash differently.

Impact

  • Usage/cost history for a single project gets split across two entries in the dashboard, undercounting real per-project cost and making comparisons misleading.
  • Users switching between opening a repo natively vs. via WSL (e.g. for different tooling needs) will see fragmented, confusing history.

Suggested improvement

  • At minimum, document this limitation prominently in the dashboard UI (not only in the README) when two projects with a similar folder name are detected.
  • Consider an optional "merge projects" action so users can manually combine history for projects they know are the same repository accessed through different roots.

Activity

  1. wakemeup0 commented on Sep 28, 2026

    @wakemeup0
    Contributor

    Implemented and published as #44. This adds opt-in shared-folder aggregation using the same private group ID configured on both hosts; project identities and collection remain host-local, and only validated usage metadata is exchanged. WSL still needs to collect its own Chat spans before they can be synced.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions