CommandCodeAI / CommandCodeAI/command-code

learn-taste: support non-standard Claude Code config paths (e.g. CLAUDE_CONFIG_DIR)

オープン
#438 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

p2
主要言語
言語のデータがありません
スター
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_DIR environment variable if set
  • Add a --claude-config-dir flag to learn-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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

調査の方向性

learn-taste コマンドのセッション検出ロジックから始め、現在どのように ~/.claude/projects/ を選択しているかを追跡します。CLAUDE_CONFIG_DIR、--claude-config-dir フラグ、プロジェクト相対の .claude/projects/ パスでの動作と比較します。サポートされている非標準の場所にあるセッションが、シンボリックリンクによる回避策なしで見つかれば完了です。

索引モデルが issue の本文から書いたものです。

評価

領域
cli
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
静か
明瞭さ
おおむね明確
初心者へのやさしさ
48/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。