Troubleshooting
Start here:
talea doctorIt checks Node, git, SSH to GitHub, the API token and the workspace, and exits non-zero when something is genuinely broken.
| Symptom | Cause | Fix |
|---|---|---|
| Every clone fails with a permission error | SSH is configured but your key is not reaching GitHub | ssh -T git@github.com and read the text, not the exit code. ssh-add ~/.ssh/your_key, or use talea sync --protocol https |
| A named SSH key exists but is not used | It is not in a default location and not in the agent, so a bare git@github.com never offers it | ssh-add it, or add a Host github.com block to ~/.ssh/config |
talea discover finds only public repos | No token | Install gh and gh auth login, or set GITHUB_TOKEN |
| Every command says the catalogue “is not a usable catalogue” | An entry names a path outside the workspace, or a field has the wrong type | Fix each entry the message names in that file; nothing else changed. If the gist is the bad copy, fix it where it was pushed from |
| A run stops: two repos “both land in” one folder | Two catalogue entries — often two owners’ same-named repo in one group — would share a folder | Give one a dir of its own ("dir": "app-bob"), or a different group |
| A clone or move says it “leads outside the workspace once symlinks are followed” | A group folder in the workspace is a symlink to another disk | Move or link the whole workspace there instead, and let the group be a real folder |
UNABLE_TO_GET_ISSUER_CERT_LOCALLY | TLS interception — a proxy, a VPN, a security agent — re-signing with a root Node does not trust | Install gh. talea prefers it, and gh trusts the system certificate store |
| A repo is cloned twice under different folder names | Its remote URL did not normalise to the same string as the catalogue’s | Compare git remote get-url origin with the url in the catalogue. On Windows, mismatched slashes are the usual reason |
talea adopt lists a repo but will not move it | Only the name matched, not the remote | Look at what it is first. If it really is the repo, -r <repo> --apply or --loose |
| An adopt says a repo cannot be moved | It is itself a linked worktree, the destination is occupied, or the move crosses a filesystem | The printed reason says which. A cross-device move is refused rather than turned into a copy and a delete |
| A checkout is “left alone — git would not open it” | git exits with an error for that folder. On Windows it is usually dubious ownership: cloned from an admin shell, another account or WSL | If the folder is yours, run the printed git config --global --add safe.directory '…' and re-run. Until then clone and sync clone nothing for a repo of the same folder name, so no second copy lands beside it |
| A folder is “left alone — a worktree whose repo no longer knows it” | A linked worktree’s .git file points at a record the repo no longer has: it was pruned, or the repo was moved by hand | Its branch is still in the repo: save what you need from the folder, delete it, and run the printed git worktree add '…' <branch> in the repo if you still want it. If the repo was moved by hand instead, the printed git worktree repair '…' relinks it. Only a warning: the run does not fail over it |
| A move fails saying “this terminal is sitting inside it” | Windows will not rename a folder a shell is in | cd to the workspace root and run the command again |
| A repo is never touched by anything | ignore: true in the catalogue | Remove it if another tool no longer owns that checkout |
talea select prints a summary and exits | No TTY — a pipe, a CI job, a non-interactive session | Use talea add and talea rm instead |
cd $(talea where thing) puts you in your home directory | where failed and printed nothing, and cd with no argument goes home — the shell runs it anyway | Check it: dest=$(talea where thing) && cd -- "$dest". The error on stderr says why the lookup failed |
talea cd thing prints a path but you stay where you were | No program can change the folder of the shell that started it; talea cd needs the shell function | Add eval "$(talea shell-init)" to ~/.zshrc or ~/.bashrc and open a new terminal. PowerShell is not covered yet — use talea where |
tcd: command not found after adding the line | The rc file has not been re-read, or the installed talea predates shell-init | Open a new terminal; talea --version should be 0.11.0 or later |
A sync looks fine but a script treats it as failed | One repo failed. Bulk commands exit non-zero when any repo did | Read the per-repo errors above the summary box |
| No colour in the output | Not a TTY, or NO_COLOR is set | FORCE_COLOR=1 talea status | less -R |
| Boxes and glyphs render as squares | The terminal font has no glyph for them | They are all BMP characters; a font with reasonable coverage fixes it. NO_COLOR does not help — the glyphs are content |
When a move has already happened
talea adopt --fix-pathsRe-runs only the path repair — Claude Code session history and settings, .idea, .vscode, .claude, CLAUDE.md — and moves nothing.
When you want to see what would happen
Nothing in this list changes anything on disk:
talea adopt # the move plantalea discover # the catalogue difftalea status --drifttalea status --missingtalea list --json