Skip to content

Fix Claude session titles and fork identity - #10

Merged
yoavf merged 3 commits into
mainfrom
codex/fix-claude-fork-titles
Oct 25, 2026
Merged

yoavf merged 3 commits into
mainfrom
codex/fix-claude-fork-titles

Conversation

@yoavf

@yoavf yoavf commented Oct 25, 2026 •

Copy link
Copy Markdown
Owner

Claude sessions with customTitle metadata displayed generic UUID labels, and forks with copied parent history could disappear because the picker assigned them the parent's session ID.

Read explicit Claude titles before automatic titles, prefer metadata belonging to the current session, and use native UUID filenames to keep fork identities stable. Filter injected prompt blocks individually so a worktree reminder does not hide the human request. Apply title and identity resolution consistently to previews and full imports, including the fork's working directory.

Validation:

  • Verified the local parent and fork both appear with their native titles and usable human prompts.
  • All 37 core tests passed using a standalone Swift Testing runner linked against the built core module. The normal package test command is blocked by local toolchain framework/macro discovery errors.
  • Both new regression tests fail against the original core library and pass against the fix.
  • git diff --check passed.

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge; no new actionable issues remain.

Summary

Fixes Claude session names and keeps forks separate from their parents.

  • Claude sessions keep their own UUID identity and explicit title.
  • The picker reuses title scans for unchanged Claude transcripts.
  • Claude previews keep human requests after injected prompt blocks.

No new actionable issues were found. The previous repeated-read finding is addressed. Tests were inspected, not run during this review.

Reviews (3) · Last reviewed commit: "Cache recovered Claude titles for unchan..." · Reviewed by Greptile

Comment thread Sources/AgentSyncCore/RecentSessionScanner.swift Outdated
Comment thread Sources/AgentSyncCore/RecentSessionScanner.swift Outdated
@github-actions

Copy link
Copy Markdown

Download this PR build

Download Continuo preview

Signed and notarized macOS preview for commit 306d03d. The link expires after 7 days and requires GitHub sign-in.

@yoavf
yoavf merged commit ca95ed9 into main Oct 25, 2026
2 of 4 checks passed
@yoavf
yoavf deleted the codex/fix-claude-fork-titles branch October 25, 2026 10:29
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