Support Custom $CLAUDE_CONFIG_DIR
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 88/100
Research direction
Start in src/ucode/agents/claude.py at the hardcoded config-directory lines referenced in the issue, and inspect how that path is used for Claude configuration and validation. Done means CLAUDE_CONFIG_DIR is honored when set and the existing ~/.claude path remains the fallback.
Written by the indexing model from the issue text.
Description
Summary
ucode hardcodes the Claude config directory to ~/.claude and ignores the
CLAUDE_CONFIG_DIR environment variable that Claude Code itself supports:
Impact
I keep two Claude accounts on the same machine — a personal one in ~/.claude
and a work one in ~/.claude-work — and set CLAUDE_CONFIG_DIR automatically
based on the directory I'm in. Because ucode always reads and writes
~/.claude, its Claude configuration and validation steps fail whenever I'm
working under the work account.
Proposed fix
Resolve the config directory from the environment, falling back to the current
default:
CLAUDE_CONFIG_DIR = Path(os.environ.get("CLAUDE_CONFIG_DIR", Path.home() / ".claude"))
This matches Claude Code's own behavior and is backward compatible for anyone
who doesn't set the variable.
- Dominant language
- Python
- Stars
- 97
- Forks
- 75
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 193
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from databricks/unity-gateway
-
feat(codex): support amazon_bedrock Model Provider Services that expose OpenAI-compatible models Open
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
databricks/unity-gateway#454 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
databricks/unity-gateway#391 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
databricks/unity-gateway#286 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 78/100
databricks/unity-gateway#141 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
databricks/unity-gateway#735 ·
All issues in databricks/unity-gateway
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100