Skip to content

fix(prompt-processing): search the real transcript root in findSessionJsonl - #1934

Open
jbmml wants to merge 1 commit into
danielmiessler:mainfrom
jbmml:fix/findsessionjsonl-transcript-root
Open

fix(prompt-processing): search the real transcript root in findSessionJsonl#1934
jbmml wants to merge 1 commit into
danielmiessler:mainfrom
jbmml:fix/findsessionjsonl-transcript-root

Conversation

@jbmml

@jbmml jbmml commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Fixes #1931.

findSessionJsonl searched paiPath('projects'), which resolves to ~/.claude/LIFEOS/projects — a directory that never exists. Claude Code writes transcripts to <config dir>/projects. So the function always returned null, getCustomTitle always returned null, and the /rename custom-title JSONL sync never fired.

One-line fix: search process.env.CLAUDE_CONFIG_DIR || ~/.claude + /projects (join/homedir are already imported). Two other stock files resolve the transcript root this way already.

…nJsonl

findSessionJsonl searched paiPath('projects'), which resolves to
~/.claude/LIFEOS/projects — a directory that never exists. Claude Code writes
transcripts to <config dir>/projects. The function therefore always returned
null, getCustomTitle always returned null, and the /rename custom-title JSONL
sync never fired. Search CLAUDE_CONFIG_DIR (falling back to ~/.claude)/projects
instead. Fixes danielmiessler#1931.
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.

findSessionJsonl searches LIFEOS/projects — a directory that never exists — so /rename custom-title sync can never fire

1 participant