Skip to content

Bug: Opening Project with Same Name in Different Folder Fails to Switch and AI Agent Modifies Wrong Project #47800

Closed as duplicate

Description

@dcwendao

Description

When I open a project, it currently looks like this:
Image

Image

When I open another project located in a different folder but with the same project name and a different branch, the project doesn't switch; it still displays the original old project, and the AI agent also modifies the old project:

Image Image

Plugins

No response

OpenCode version

No response

Steps to reproduce

No response

Screenshot and/or share link

No response

Operating System

No response

Terminal

No response

Activity

  1. github-actions commented on Sep 7, 2026

    @github-actions
    Contributor

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

    If your issue is distinct from all of the above, please let us know what makes it different so we can keep this open.

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

Metadata

Metadata

Assignees

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