Skip to content

Find the repository somebody points at - #8

Merged
migsilva89 merged 1 commit into
mainfrom
fix-chosen-folder-is-a-project
Aug 30, 2026
Merged

migsilva89 merged 1 commit into
mainfrom
fix-chosen-folder-is-a-project

Conversation

@migsilva89

Copy link
Copy Markdown
Owner

Reported on Reddit after installing 0.3.4: a person gave Loadout their project directory — a checkout with a .git and an .opencode in it — and was told "No repositories found in here". They then tried to choose the .opencode inside it, which is hidden and cannot be selected in the panel. There was no way to say "this folder is the project".

The search treated a chosen folder as a place to look inside, never as an answer. That rule exists for a real shape: ~/Projects with a .claude of its own at the top read as one project and hid ninety.

So the rule is now split by marker:

  • a chosen folder with a .git is that project — what is nested in a checkout is its submodules and packages, not other projects;
  • a chosen folder with only a .claude still means look inside, and is taken as the project only when nothing turned up under it.

Nested behaviour, depth, node_modules, and de-duplication are unchanged. The picker, Settings and the welcome sheet now say a repository itself is a valid answer, since nothing on screen did.

Four tests cover it: pointing at a repository, pointing at one that contains submodules, house instructions losing to what is inside them, and an ordinary empty folder still finding nothing. Full suite: 303 passing.

Choosing a project folder — one with a .git in it — answered "no repositories
found in here". The chosen folder was only ever a place to look inside, and the
.git that proves it is a repository is hidden, so the picker would not let it be
chosen either: there was no way to say "this one".

A chosen folder under git is now that project. A chosen folder with only a
.claude still means look inside — that is ~/Projects with house instructions at
the top, which once read as a single project and hid ninety — and becomes the
project only when nothing turned up under it.

The picker and Settings now say a repository itself is a valid answer.
@migsilva89
migsilva89 merged commit 4e90614 into main Aug 30, 2026
2 checks passed
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.

1 participant