B-AAQ5-backlog-ephemeral-worktree-node-modules
Every ‘sdlc backlog create’ capture currently fails at the commit step. The ephemeral worktree under .sdlc/commit-worktrees/ is created bare (create.ts writeCommitPush), and its design comment assumes node_modules resolves upward to the primary checkout. Bun’s isolated linker broke that assumption: workspace deps (commander, yaml) link at apps/sdlc/node_modules - absent in a fresh worktree - and the root node_modules only carries root deps, so the pre-commit hooks’ bun invocations die with ‘Cannot find package commander’. Same class as the task-worktree worktree_init requirement: the ephemeral flow must run the project’s worktree init (bun install) after ‘git worktree add’ before committing. Observed 2026-07-18; this capture itself had to be landed manually through an armed worktree.