claude-code - 💡(How to fix) Fix [Feature Request] Persistent session names and colors with settings.json defaults [1 comments, 2 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
anthropics/claude-code#58578Fetched 2026-05-14 03:44:39
View on GitHub
Comments
1
Participants
2
Timeline
5
Reactions
1
Author
Timeline (top)
labeled ×3commented ×1cross-referenced ×1

Error Message

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gabrielandrade/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:23:05.244Z"},{"error":"Error: Request was aborted.\n at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:25:20.185Z"}]

Code Example

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gabrielandrade/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n    at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n    at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:23:05.244Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:25:20.185Z"}]
RAW_BUFFERClick to expand / collapse

Bug Description Feature request: persistent session name + color

Currently /rename and /color set in-memory state that is lost on /clear and on session restart. There is no way to configure defaults via settings.json, and SessionStart hooks cannot invoke slash commands.

Proposal: support defaultSessionName and defaultSessionColor in ~/.claude/settings.json (and project-level overrides). Bonus: allow defaultSessionName to accept a template like "{repoName}" so each project gets its own label automatically.

Use case: I work across multiple repos and color-code sessions to tell them apart at a glance. Today I re-type /rename <repo> and /color <x> after every /clear, which adds friction to a workflow that should be invisible.

Environment Info

  • Platform: darwin
  • Terminal: ghostty
  • Version: 2.1.140
  • Feedback ID: 64c13a47-dca6-4c26-aa5f-99fef5f74ea1

Errors

[{"error":"Error: NON-FATAL: Lock acquisition failed for /Users/gabrielandrade/.local/share/claude/versions/2.1.140 (expected in multi-process scenarios)\n    at g16 (/$bunfs/root/src/entrypoints/cli.js:2672:2257)\n    at RLH (/$bunfs/root/src/entrypoints/cli.js:2672:1337)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:23:05.244Z"},{"error":"Error: Request was aborted.\n    at makeRequest (/$bunfs/root/src/entrypoints/cli.js:51:6192)\n    at processTicksAndRejections (native:7:39)","timestamp":"2026-05-13T04:25:20.185Z"}]

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

claude-code - 💡(How to fix) Fix [Feature Request] Persistent session names and colors with settings.json defaults [1 comments, 2 participants]