mirror of
https://github.com/EveryInc/compound-engineering-plugin.git
synced 2026-10-23 14:15:19 +02:00
Address two PR #631 review issues: - `awk '{print $2}'` truncated paths containing spaces (e.g. a checkout at `/Users/alice/repo with space` resolved to `/Users/alice/repo`). Switch to `sed -n 's/^worktree //p' | head -n 1`, which preserves the rest of the line verbatim. - The SKILL.md troubleshooting snippet for manually copying .env files used `cp ../../.env* ./` from inside the worktree, which only works for flat branch names. Slashed branches like `feat/login` land at `.worktrees/feat/login/`, so `../../` resolves to `.worktrees/` rather than the repo root. Rewrite the instruction to run from the main repo using `cp .env* .worktrees/<branch>/`, which is unambiguous regardless of branch-name depth.