Fixed
- Session cwd update —
newSession()now updates the LLM's perceived working directory to reflectprocess.chdir()into auto-worktrees. Previously the system prompt was frozen at the original project root, causing the LLM tocdback and write files to the wrong location. This was the root cause of complete-slice and plan-slice artifact loops in worktree-based projects.
Install/upgrade: npx gsd-pi@latest