Skip to content

Diffity Tour Step Links Broken Of Referenced Code Files Outside of Repo Root #17

Description

@Sayvai

I noticed a bug when using /diffity-tour skill, whereby when i stepped through a tour which surfaced results across files that are not just from the repo root from which the Claude Code session started, the body of the page will of course fail to load source code of the file outside of the repo root path.

  • main-repo/src/server.ts
    • a current example of a working relative path to the "main-repo" only
  • main-repo//users/repo/other-repo/src/server.ts
    • an example of broken file path to a source code file located in some "other-repo" that is outside of the "main-repo"

For context, in Claude Code, we can add as many "other" repo working directories through Claude Code /add-dir command (or in settings.local.json via permissions.additionalDirectories config property), so that Claude Code can lookup and cross-reference files across related git projects to the agent sessions' main project repo.

I think we should set paths as absolute file paths when cross-referencing files in other project repos.

Activity

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions