Cursed Knowledge
Last updated
Table of Contents
Cursed knowledge learned while building software, that I wish I never knew.
Inspired by immich’s Cursed Knowledge.
pi session cwd #
2026-07-29
pi’s session working directory is cursed because it’s frozen at session creation with no supported way to change it mid-run — extensions that need to redirect into a worktree resort to hacks like killing the process and replaying keystrokes via tmux. Multiple feature requests (#3921, #2992, #4423) were all closed not-planned/unsupported.