I'm struggling to get td and sidecar to agree on folder structure. I'm using a worktree-heavy workflow -- single dev, working on several aspects of my app in parallel. Using a parallel folder structure for the work trees:
root/
├── .todos/ # td database (shared)
├── musicreps/ # main worktree (git root)
├── musicreps-feature/ # linked worktree
...
I'm using the TD_WORK_DIR env variable to point td at the shared td database from any worktree folder.
Sidecar doesn't seem to know about that env variable -- when I start from root/, it finds the td database but not .git (since that's in musicreps/), and if I start in musicreps/, it doesn't find the td database.
I don't see any root-path-related config for sidecar.
If this should work, how? If not, can we make sidecar use TD_WORK_DIR? Or have a "here's where my git repo is" setting?
Thanks!
I'm struggling to get td and sidecar to agree on folder structure. I'm using a worktree-heavy workflow -- single dev, working on several aspects of my app in parallel. Using a parallel folder structure for the work trees:
root/
├── .todos/ # td database (shared)
├── musicreps/ # main worktree (git root)
├── musicreps-feature/ # linked worktree
...
I'm using the TD_WORK_DIR env variable to point td at the shared td database from any worktree folder.
Sidecar doesn't seem to know about that env variable -- when I start from root/, it finds the td database but not .git (since that's in musicreps/), and if I start in musicreps/, it doesn't find the td database.
I don't see any root-path-related config for sidecar.
If this should work, how? If not, can we make sidecar use TD_WORK_DIR? Or have a "here's where my git repo is" setting?
Thanks!