Skip to content

fix(usage): show real project names in usage history - #339

Merged
maxthomas95 merged 1 commit into
mainfrom
fix/usage-project-names
Nov 13, 2026
Merged

maxthomas95 merged 1 commit into
mainfrom
fix/usage-project-names

Conversation

@maxthomas95

Copy link
Copy Markdown
Owner

Claude sessions found by the disk backfill were filed under Claude's encoded project folder name (C--repo-tether), which is what Usage history showed as the project.

  • Read the working directory from the head of the transcript; fall back to the folder name only when the transcript records none.
  • Summaries saved by older builds are relabelled on the next scan, in one database write. Sessions with no recorded path are looked up once per run.
  • The Project column and filter show the folder name, with the parent added where two projects share one, and the full path on hover.

Checks: typecheck, usage + transcript tests (new cases for the reader, the relabel pass and display names).

🤖 Generated with Claude Code

Claude sessions found by the disk backfill were filed under Claude's
encoded project folder name ("C--repo-tether"), which is what the
Project column and filter showed. Read the working directory from the
transcript head instead, and relabel summaries saved by older builds in
one database write.

The Project column and filter now show the folder name, with the parent
added where two projects share one and the full path on hover.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@sonarqubecloud

Copy link
Copy Markdown

@maxthomas95
maxthomas95 merged commit 36e1e2e into main Nov 13, 2026
11 checks passed
@maxthomas95
maxthomas95 deleted the fix/usage-project-names branch November 13, 2026 22:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant