CommandCodeAI / CommandCodeAI/command-code
learn-taste: support non-standard Claude Code config paths (e.g. CLAUDE_CONFIG_DIR)
還沒有人認領這個 Issue。
- 主要語言
- 沒有語言資料
- 星號
- 4k
- 分支
- 350
- PR 合併指標
- 30 天內沒有已合併 PR
描述
Context: Some projects use a shared Claude Code config directory at a non-standard path (e.g. ~/Developer/Work/Busie/.claude/) instead of the default ~/.claude/.
Problem: The learn-taste command hardcodes session discovery to ~/.claude/projects/. For Busie's fe-main project, this meant only 11 sessions were found in the standard location, while 33 sessions existed at ~/Developer/Work/Busie/.claude/projects/-Users-jasonschulz-Developer-Work-Busie-fe-main/.
Workaround applied: Symlinked the non-standard sessions into the standard location:
ln -sf ~/Developer/Work/Busie/.claude/projects/-Users-jasonschulz-Developer-Work-Busie-fe-main/* ~/.claude/projects/-Users-jasonschulz-Developer-Work-Busie-fe-main/
Suggested fix: Add support for discovering sessions from non-standard Claude Code config directories. Options:
- Detect
CLAUDE_CONFIG_DIRenvironment variable if set - Add a
--claude-config-dirflag tolearn-taste - Scan for
.claude/projects/relative to the project root (e.g.../../.claude/projects/for monorepo sub-projects)
This would make taste learning work out-of-the-box for teams using shared or project-scoped Claude Code configurations.
貢獻指南
這個儲存庫沒有索引到貢獻指南
從這裡開始
- 先讀完整個 Issue,再讀專案的貢獻指南。
- 在 Issue 下留言說明你要接手 —— 這能避免兩個人做同樣的事。
- Fork 儲存庫,在一個分支上完成修改。
- 送出 Pull Request,並在描述裡引用這個 Issue 編號。
研究方向
從 learn-taste 命令的工作階段探索邏輯入手,追蹤它目前如何選取 ~/.claude/projects/。將其行為與 CLAUDE_CONFIG_DIR、--claude-config-dir 旗標以及相對於專案的 .claude/projects/ 路徑進行比較;當無需符號連結替代方案即可找到來自受支援之非標準位置的工作階段時,即視為完成。
由索引模型根據 Issue 內容生成。
評估
- 領域
- cli
- Issue 類型
- 功能
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 冷清
- 描述清晰度
- 基本清楚
- 新手友好度
- 48/100