OpenCodeReview Version
v1.6.6
Operating System
macOS (Apple Silicon)
Installation Method
npm (global)
LLM Provider
Anthropic (Claude)
Bug Description
When I run ocr review... in a monorepo project.
My workspace isn't the project root.
/project # monorepo root
/.git
/subproject1 # working dir
/subproject2
So the /project is git repo, but ocr often spawned in the /project/subproject1
Then, I see many errors from the review process like:
✘ file_read failed: file "src/models/request_meta.py" not found: git show HEAD:src/models/request_meta.py: exit status 128: fatal:
path 'subproject1/src/models/request_meta.py' exists, but not 'src/models/request_meta.py'
I think it can handle with this situation, but with many extra indirect LLM calls.
Steps to Reproduce
Run ocr review in any subdirectory of the repository.
Expected Behavior
file_read should respect the project structure even the process spawend in a subdirectory.
Logs / Error Output
Additional Context
No response
OpenCodeReview Version
v1.6.6
Operating System
macOS (Apple Silicon)
Installation Method
npm (global)
LLM Provider
Anthropic (Claude)
Bug Description
When I run
ocr review...in a monorepo project.My workspace isn't the project root.
So the
/projectis git repo, butocroften spawned in the/project/subproject1Then, I see many errors from the review process like:
I think it can handle with this situation, but with many extra indirect LLM calls.
Steps to Reproduce
Run
ocr reviewin any subdirectory of the repository.Expected Behavior
file_readshould respect the project structure even the process spawend in a subdirectory.Logs / Error Output
Additional Context
No response