You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
make setup and git hooks fail in linked worktrees: 'this operation must be run in a work tree', empty repo-root in hook paths #10352
In a linked git worktree (e.g. Conductor workspace at ~/conductor/workspaces/omi/<name> whose gitdir lives under the main clone's .git/worktrees/), both make setup (setup-hooks step) and the installed pre-push hook fail:
fatal: this operation must be run in a work tree
bash: /scripts/dev-harness/_resolve_python.sh: No such file or directory
bash: dev_harness_python: command not found
make: *** [setup-hooks] Error 128
The empty prefix in /scripts/dev-harness/... shows a repo-root resolution returning empty in this layout (likely git rev-parse --show-toplevel executed from the wrong directory, or a --git-common-dir-relative path assumption). Pushing from such a worktree requires --no-verify, silently bypassing the local gate. AGENTS.md mandates worktrees for all code changes, so this hits every agent working from a secondary workspace mount. Repro: git worktree add from a clone, run make setup inside the new worktree with a different filesystem prefix than the main checkout.
Activity
fix(dev): resolve repo root without git --show-toplevel in linked wor…
fix(setup): resolve repo root without a work tree in linked worktrees (…
fix(setup): resolve repo root without a work tree in linked worktrees (…