Repository navigation
Ask before initializing Tracybot in a repository - #145
Open
ranimkhojah wants to merge 1 commit into
Open
ranimkhojah wants to merge 1 commit into
ranimkhojah wants to merge 1 commit into
Conversation
The extension initialized Tracybot in every repository opened in VS Code, adding Git hooks and recording AI prompts without asking. It now asks "Do you want to initialize Tracybot for this project?" with Initialize, Not now and Never for this project; a "never" is remembered inside .git. The Research Mode prompt only follows once the repo is initialized. Repos that are already initialized are not asked again, and a stale script path after an extension update is still repaired silently. A new "Tracybot: Initialize in This Repository" command, plus Initialize buttons in AI Blame and Manage Research Mode, cover repos that were declined or skipped. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
|
LGTM! PS. This is not a regression introduced by this PR, but I found it while testing: when .git is a file rather than a directory (linked worktrees and submodules), the .git/tracybot/... paths don't work. For example, in a linked worktree, clicking "Never for this project" throws ENOTDIR, and an existing config is not detected, this already happens on main. I'll submit a separate PR for that. It doesn't need to block this one. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The extension initialized Tracybot in every repository opened in VS Code, adding Git hooks and recording AI prompts without asking. It now asks "Do you want to initialize Tracybot for this project?" with Initialize, Not now and Never for this project; a "never" is remembered inside .git. The Research Mode prompt only follows once the repo is initialized.
Repos that are already initialized are not asked again, and a stale script path after an extension update is still repaired silently. A new "Tracybot: Initialize in This Repository" command, plus Initialize buttons in AI Blame and Manage Research Mode, cover repos that were declined or skipped.