---
name: "Replace pnpm with npm"
---

# Bug 243: Replace pnpm with npm

## Description

pnpm's reflink-based package import frequently fails with ERR_PNPM_ENOENT when running in git worktrees (.story_kit/merge_workspace), causing merge quality gates to fail repeatedly. No pnpm-specific features are in use.

## How to Reproduce

Move any story to merge. The mergemaster runs pnpm install in the merge worktree and it fails with ERR_PNPM_ENOENT reflink errors.

## Actual Result

pnpm install fails in merge worktrees, blocking all merges.

## Expected Result

Package installation works reliably in all worktree contexts.

## Acceptance Criteria

- [ ] pnpm-lock.yaml is removed and package-lock.json is generated
- [ ] All pnpm references in project.toml are replaced with npm equivalents
- [ ] npm install and npm run build succeed in a clean worktree
- [ ] No other pnpm references remain in project configuration
