CommandCodeAI / CommandCodeAI/command-code

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

Open
#438 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

p2
Dominant language
No language data
Stars
4k
Forks
350
PR merge metrics
No merged PRs in 30d

Description

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.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the learn-taste command's session-discovery logic and trace how it currently selects ~/.claude/projects/. Compare behavior with CLAUDE_CONFIG_DIR, a --claude-config-dir flag, and project-relative .claude/projects/ paths; done means sessions from supported non-standard locations are found without the symlink workaround.

Written by the indexing model from the issue text.

Assessment

Domain
cli
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.