You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
Fixed
Memory spans now emit from git worktrees. The hook derived the auto-memory directory as the transcript's sibling (dirname(transcript)/memory), but Claude Code keeps one memory store per repository under the main worktree, while a linked worktree's session transcript lives under that worktree's own project directory. The two paths differ, so every memory operation from a worktree session was silently skipped. The classifier now recognizes any ~/.claude/projects/<store>/memory/<record> path under the shared projects root, setting gen_ai.memory.store.id to the owning <store> slug — so a worktree session writing the repo's main-worktree store is captured. Sessions run directly in the repo root are unaffected.