Conversation
Stop the ClaudeCode grep helper from shell-quoting user patterns into a command string so paths with spaces and real grep errors are handled predictably. Ultraworked with [Sisyphus](https://github.com/code-yeongyu/oh-my-opencode) Co-authored-by: Sisyphus <clio-agent@sisyphuslabs.ai>
|
Follow-up note: I revalidated the PR-relevant |
|
Quick sync from my side: this branch is still clean locally and unchanged relative to its fork tracking branch ( Current state I rechecked today:
If this looks good on your end, it seems ready for review/merge. |
|
Closing this stale radar lane to keep the authored-PR queue current. I refreshed/revalidated the branch recently, but there has still been no maintainer response on this thread, so I am closing it for now instead of letting it sit indefinitely. If maintainers want this change later, I can reopen or resend it on a fresh branch. |
Summary
agent-claudecode.pywith an argv-style subprocess callreturncode == 1no-match caseValidation
python3 -m unittest tests.test_agent.AgentClaudeCodeRegressionTests.test_grep_returns_no_matches_on_exit_code_one tests.test_agent.AgentClaudeCodeRegressionTests.test_grep_surfaces_real_grep_errorsNotes
#4and#5; it only touches the ClaudeCode grep helper path and its new tests