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
{{ message }}
Repository navigation
core: pickforgeHome ignores the HOME of the env object it is given #285
pickforgeHome(env) and legacyPickforgeHomes(env) in packages/core/src/paths.ts read PICKFORGE_HOME from the env object, but when it is unset or empty they fall back to os.homedir(), which reads the process HOME. A caller that passes { PICKFORGE_HOME: "", HOME: <temp> } still gets the real ~/.pickforge/lab. That is how x11-prebind.test.ts wrote into the real sessions directory in #264. Product callers pass process.env, so they get the same answer today, but the function's contract suggests the env object decides.
Decide whether the fallback should use the env object's HOME, and document the choice
If it changes, cover CLI, MCP and desktop callers with tests
Activity