Issue Description
When a git repository exists as a subdirectory (e.g., git submodule or nested clone) inside the workspace root, the Agent Review panel resolves file paths incorrectly — using the workspace root instead of the git repo root.
Steps to Reproduce
# 1. Create a workspace with a nested git repo (common with git submodules)
mkdir workspace-root
cd workspace-root
git init # or just use a plain folder
git clone https://github.com/some/project.git nested-repo
cd nested-repo
echo “test” >> README.md
git add . && git commit -m “test change”
Expected Behavior
Opens workspace-root/nested-repo/src/main.ts
Actual Behavior
Tries to open workspace-root/src/main.ts → “File not found”
Screenshots / Screen Recordings
Operating System
- OS: Windows 22H2
Current Qoder Version (Menu → About Qoder → Copy)
版本: 1.24.2
VSCode 版本: 1.106.3 (system setup)
提交: e7b4b2e329eb9997104a636dbcab39fcc8a176a2
日期: 2026-08-13T13:03:19.485Z
Electron: 42.2.0
Chromium: 148.0.7778.97
Node.js: 24.15.0
V8: 14.8.178.14-electron.0
OS: Windows_NT x64 10.0.19045

