claude-code - 💡(How to fix) Fix [BUG] Regression: claude.ai/code web sessions back to random <adjective>-<surname>-<hash> branch names instead of task-derived names

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…
RAW_BUFFERClick to expand / collapse

What's Wrong?

For some period before late May 2026, branches created for claude.ai/code web sessions were semantically named — a short slug derived from the initial prompt plus a random suffix, e.g. claude/add-stripe-webhook-EhDOB. Over the last few days the naming has reverted to Docker-style claude/<adjective>-<surname>-<hash>:

  • claude/relaxed-brown-EhDOB
  • claude/lucid-hamilton-MigdG
  • claude/peaceful-noether-2MaZ1

These names carry no information about what the session worked on, which hurts searchability and history navigation across both git log / git branch --list and the GitHub PR list. The random suffix alone was already sufficient for uniqueness; the value of the previous behavior was the prefix.

This is distinct from existing reports:

  • #54653 asks for mid-session renaming of local worktree branches and doesn't reference the web product.
  • #50752 / #58095 are about word-list cosmetics (avoid slurs / avoid surnames), not whether names should be task-derived at all.
  • #33744 / #25902 / #39009 (all closed) requested configurability but predate the period when semantic naming was actually shipping in the web product.

What Should Happen?

Restore the task-derived prefix for claude.ai/code web sessions: generate the branch name from the initial prompt (same Haiku-based summarizer that powers session auto-naming per #58870 / the ANTHROPIC_DEFAULT_HAIKU_MODEL background path) and keep the existing random suffix for uniqueness. Concretely:

  • claude/<slug-from-prompt>-<5-char-hash> (current suffix length preserved)
  • Fall back to the current <adjective>-<surname>-<hash> only when the slug can't be generated (no Haiku model configured / summarizer failure).

Is this a regression?

Yes.

Platform

claude.ai/code (web sessions)

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