You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Explicit empty --path falls back to the whole repository #2016
Anthropic (Claude) is configured; this --preview reproduction does not call the provider.
Bug Description
An explicitly empty --path is treated as if the flag were omitted. ocr scan then previews the whole repository, and --output can overwrite an existing file. Whitespace-only and comma-only selectors behave the same way.
Steps to Reproduce
In a Git repository with two committed Go files, run:
On the reported version, the command exits 0 and replaces the file with a preview containing both files.
Expected Behavior
Reject an explicitly empty selector with an error before writing the output file. Omitting --path should continue to scan the whole repository.
AI/LLM Disclosure
OpenAI Codex (GPT-6) assisted with the investigation and related code change. Claude Sonnet 5 completed the repository-required OCR review; it found no issues in the production file.
Activity