what is the default codebase path ? #6812

Closed
opened 2026-02-16 18:05:20 -05:00 by yindo · 5 comments
Owner

Originally created by @icoco on GitHub (Jan 19, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Question

I launch OpenCode desktop app , open a project that locate in path like /abc/xyz/123

I notice that it seem let the root path: "/" as codebase, I meaning not base the current project "/abc/xyz/123 "
a little confuse...

Image

it scan whole disk ??

Originally created by @icoco on GitHub (Jan 19, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Question I launch OpenCode desktop app , open a project that locate in path like /abc/xyz/123 I notice that it seem let the root path: "/" as codebase, I meaning not base the current project "/abc/xyz/123 " a little confuse... ![Image](https://github.com/user-attachments/assets/25a40714-46ff-4f0a-bfe6-988bdbd4630d) it scan whole disk ??
yindo added the web label 2026-02-16 18:05:20 -05:00
yindo closed this issue 2026-02-16 18:05:20 -05:00
Author
Owner

@github-actions[bot] commented on GitHub (Jan 19, 2026):

This issue might be a duplicate of existing issues. Please check:

  • #841: Lock session to current directory - User experienced OpenCode scanning beyond the intended project path
  • #6741: ripgrep config file search scans entire home directory - Directly related to disk scanning concerns
  • #2585: Massive memory use on opening opencode when there is a very large file - Related to unintended directory scanning
  • #3176: Why is OpenCode massively abusing git? - Related to path boundary issues

Feel free to ignore if none of these address your specific case.

@github-actions[bot] commented on GitHub (Jan 19, 2026): This issue might be a duplicate of existing issues. Please check: - #841: Lock session to current directory - User experienced OpenCode scanning beyond the intended project path - #6741: ripgrep config file search scans entire home directory - Directly related to disk scanning concerns - #2585: Massive memory use on opening opencode when there is a very large file - Related to unintended directory scanning - #3176: Why is OpenCode massively abusing git? - Related to path boundary issues Feel free to ignore if none of these address your specific case.
Author
Owner

@icoco commented on GitHub (Jan 19, 2026):

Image

why

@icoco commented on GitHub (Jan 19, 2026): ![Image](https://github.com/user-attachments/assets/34656294-22a5-432a-98f3-cfc32374e367) why
Author
Owner

@icoco commented on GitHub (Jan 19, 2026):

list root ???

@icoco commented on GitHub (Jan 19, 2026): list root ???
Author
Owner

@ualtinok commented on GitHub (Jan 26, 2026):

Duplicate of:
https://github.com/anomalyco/opencode/issues/7143
and
https://github.com/anomalyco/opencode/issues/9077

@ualtinok commented on GitHub (Jan 26, 2026): Duplicate of: https://github.com/anomalyco/opencode/issues/7143 and https://github.com/anomalyco/opencode/issues/9077
Author
Owner

@icoco commented on GitHub (Jan 26, 2026):

impossible question

@icoco commented on GitHub (Jan 26, 2026): impossible question
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#6812