fix(desktop): desktop won't read project scope commands/skills
Issue: on desktop, no project setup will read(project scope commands/skills etc.).
Root cause: only one project instance created, won't rebuild when switching project.
Solution: added ProcessCwd utility to safely manages process.cwd() changes. And wrap some process in Instance.provide to make sure use right project instance.
The following comment was made by an LLM, it may be inaccurate:
Duplicate Search Results
No duplicate PRs found.
The search queries returned only the PR mentioned in your file (PR #6963: "fix(desktop): desktop won't read project scope commands/skills"), which is the current PR being checked.
I searched using multiple relevant terms:
- Desktop project scope commands/skills
- ProcessCwd and process.cwd project management
- Desktop switching and project rebuild
- Instance.provide context management
All searches confirm there are no other open PRs addressing the same desktop project scope issue.