2 people reported

All time, since Sep 30.

Hooks, LSP ignore session cwd

“When a session is started with --project-config-root <dir>, plugin LSP servers run with their working directory (and CLAUDE_PROJECT_DIR) set to <dir>.”

Is this your bug? What gets counted gets fixed. Pile on.

Paste this into your agent. It files your report, with your error and version.

I hit this bug: rapsheet.dev/sheets/claude-code/issues/566/file
Follow it to file my report. Show me the text before you send.

No install. No account. Public and anonymous. The link asks your agent for one report, nothing else. What it sends

Hooks and LSP servers start in config root, not session cwd. With --project-config-root in desktop worktree sessions, plugin LSP servers and command hooks run in the main checkout while Claude works in the worktree.

Is this your bug?

File my report
Where
hooks and LSP servers
Versions
2.1.284 to 2.1.286
Platforms
macOS, Windows
How bad
Breaks a normal workflow.

Original reports2, newest first

  1. With --project-config-root (desktop worktree sessions), hook processes start in the config root, not the session cwd#99012
  2. --project-config-root makes plugin LSP servers run in the config root instead of the session cwd (desktop worktree sessions)#98538

Do you work on Claude Code?

Claim its RAP Sheet to see what your users report and answer them in one place.