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
docs(standards): add process.chdir() prohibition to code style
Added working directory rule to CLAUDE.md:
- Never use process.chdir() as it breaks tests, worker threads, and causes race conditions
- Always use { cwd } options and absolute paths instead
- Pass { cwd: absolutePath } to spawn/exec/fs operations
This rule prevents global state mutation anti-pattern that causes test failures in worker threads.
0 commit comments