[BUG] 클로드 코드 폴더명 바꿔달라 요청하니 이전 폴더명을 찾으며 계속 이상동작함.
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
상황을 파악했습니다. 정확히 어떤 현상인지 확인됩니다:
문제 요약
Claude Code가 워크트리를 생성할 때마다 랜덤한 이름의 폴더를 만듭니다 (현재: intelligent-montalcini-83f57d). 이로 인해:
node_modules없음 — 워크트리 안에node_modules가 없고 메인 프로젝트에만 있어서, Claude가npm run dev등을 실행하면 실패하거나 잘못된 경로에서 찾음- 메모리 경로 불연속 — 워크트리 이름이 매 세션마다 달라지면서 이전 대화 맥락이 끊김
- 파일 누락 —
next-env.d.ts같은 빌드 생성 파일들이 워크트리에 없어서 타입 오류 발생 가능
이건 Claude Code 버그입니다. 직접 버그 리포트를 제출하시려면:
👉 https://github.com/anthropics/claude-code/issues
리포트 내용으로 포함하면 좋은 것들:
- 워크트리(
intelligent-montalcini-83f57d)에node_modules가 없어서 Claude가 잘못된 경로에서 삽질함 - 세션마다 워크트리 폴더명이 바뀌어 대화 연속성이 깨짐
- OS: macOS, 프로젝트: Next.js
지금 당장 회피하려면, 워크트리 세션 시작 시 node_modules를 심링크로 연결하는 방법이 있는데 설정해드릴까요?
What Should Happen?
상황을 파악했습니다. 정확히 어떤 현상인지 확인됩니다:
문제 요약
Claude Code가 워크트리를 생성할 때마다 랜덤한 이름의 폴더를 만듭니다 (현재: intelligent-montalcini-83f57d). 이로 인해:
node_modules없음 — 워크트리 안에node_modules가 없고 메인 프로젝트에만 있어서, Claude가npm run dev등을 실행하면 실패하거나 잘못된 경로에서 찾음- 메모리 경로 불연속 — 워크트리 이름이 매 세션마다 달라지면서 이전 대화 맥락이 끊김
- 파일 누락 —
next-env.d.ts같은 빌드 생성 파일들이 워크트리에 없어서 타입 오류 발생 가능
이건 Claude Code 버그입니다. 직접 버그 리포트를 제출하시려면:
👉 https://github.com/anthropics/claude-code/issues
리포트 내용으로 포함하면 좋은 것들:
- 워크트리(
intelligent-montalcini-83f57d)에node_modules가 없어서 Claude가 잘못된 경로에서 삽질함 - 세션마다 워크트리 폴더명이 바뀌어 대화 연속성이 깨짐
- OS: macOS, 프로젝트: Next.js
지금 당장 회피하려면, 워크트리 세션 시작 시 node_modules를 심링크로 연결하는 방법이 있는데 설정해드릴까요?
Error Messages/Logs
Steps to Reproduce
상황을 파악했습니다. 정확히 어떤 현상인지 확인됩니다:
문제 요약
Claude Code가 워크트리를 생성할 때마다 랜덤한 이름의 폴더를 만듭니다 (현재: intelligent-montalcini-83f57d). 이로 인해:
node_modules없음 — 워크트리 안에node_modules가 없고 메인 프로젝트에만 있어서, Claude가npm run dev등을 실행하면 실패하거나 잘못된 경로에서 찾음- 메모리 경로 불연속 — 워크트리 이름이 매 세션마다 달라지면서 이전 대화 맥락이 끊김
- 파일 누락 —
next-env.d.ts같은 빌드 생성 파일들이 워크트리에 없어서 타입 오류 발생 가능
이건 Claude Code 버그입니다. 직접 버그 리포트를 제출하시려면:
👉 https://github.com/anthropics/claude-code/issues
리포트 내용으로 포함하면 좋은 것들:
- 워크트리(
intelligent-montalcini-83f57d)에node_modules가 없어서 Claude가 잘못된 경로에서 삽질함 - 세션마다 워크트리 폴더명이 바뀌어 대화 연속성이 깨짐
- OS: macOS, 프로젝트: Next.js
지금 당장 회피하려면, 워크트리 세션 시작 시 node_modules를 심링크로 연결하는 방법이 있는데 설정해드릴까요?
Claude Model
None
Is this a regression?
Yes, this worked in a previous version
Last Working Version
_No response_
Claude Code Version
- 하지만 8.888
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 1 comment on GitHub. Read the full discussion on GitHub ↗