mirror of
https://github.com/deepseek-ai/deepseek-harness.git
synced 2026-09-09 04:02:35 +00:00
pnpm hardlinks node_modules files to the store on the same volume, and TypeScript's native realpath resolves those links back to store paths (F:/.pnpm-store/v11/files/...), producing TS6231 during tsc -b and vite resolution. ReFS block cloning (package-import-method=clone) gives each file an independent path while sharing physical blocks, avoiding the leak without the copy cost. Clone mode needs the @reflink/reflink native module, which the system corepack pnpm carries but pnpm/action-setup's dest build omits, so installs run through corepack pnpm. The install steps branch on the workspace filesystem: clone only on ReFS, plain install on hosted NTFS (which rejects copy-on-write). The serial-windows store points at F:\.pnpm-store to share the ReFS volume. Agent Note 2026-08-30-windows-refs-store-block-clone-install records the rationale; ci-workflow.spec asserts the branch.