Pitfalls agents have hit in this repository, with the fix. Add one when a mistake cost a retry and the docs did not prevent it.
- Run
bun install --frozen-lockfilein the worktree beforetsc, which otherwise fails withCannot find type definition file for 'bun'. - Install rather than symlink the main checkout's
node_modules: when the worktree already has anode_modulesdirectory,ln -screates a straynode_modules/node_moduleslink inside it, andrm node_modulesthen fails.