Skip to content

fix(claudecode): support home-relative work directories - #257

Open
wcy-wcy1 wants to merge 1 commit into
MiniMax-AI-Dev:mainfrom
wcy-wcy1:fix/claude-home-workdir
Open

fix(claudecode): support home-relative work directories#257
wcy-wcy1 wants to merge 1 commit into
MiniMax-AI-Dev:mainfrom
wcy-wcy1:fix/claude-home-workdir

Conversation

@wcy-wcy1

Copy link
Copy Markdown

Summary

  • expand ~/... work directories before Claude Code creates or uses the directory
  • add a regression test for home-relative workspace paths

Boundary

This change is confined to the Claude Code daemon adapter's working-directory resolution. It aligns that adapter with the repository-wide contract that user-supplied working directories may be absolute or home-relative; it does not change server-side routing or persisted state.

Testing

  • Not run locally: this machine does not have the Go toolchain installed, so make check and the targeted Go test could not be executed.
  • git diff --check passed.

@wcy-wcy1 wcy-wcy1 closed this Aug 21, 2026
@wcy-wcy1
wcy-wcy1 deleted the fix/claude-home-workdir branch August 21, 2026 15:05
@wcy-wcy1
wcy-wcy1 restored the fix/claude-home-workdir branch August 21, 2026 15:07
@wcy-wcy1 wcy-wcy1 reopened this Aug 21, 2026
@wcy-wcy1
wcy-wcy1 marked this pull request as ready for review August 21, 2026 17:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants