Troubleshooting¶
Solutions to common issues when using Claudio.
Installation Issues¶
"go: command not found"¶
Go is not installed or not in your PATH.
Solution: 1. Install Go from golang.org/dl 2. Ensure $GOPATH/bin is in your PATH:
~/.bashrc, ~/.zshrc) "claudio: command not found" after installation¶
The binary isn't in your PATH.
Solution:
# Check if installed
ls $(go env GOPATH)/bin/claudio
# Add to PATH if needed
export PATH=$PATH:$(go env GOPATH)/bin
# Or install directly
go install github.com/Iron-Ham/claudio/cmd/claudio@latest
Initialization Issues¶
"not a git repository"¶
Claudio requires a Git repository.
Solution:
"permission denied" when creating .claudio¶
Directory permissions issue.
Solution:
Session Issues¶
"session already exists"¶
A previous session wasn't cleaned up.
Solutions:
-
Recover the existing session:
-
Or force a new session:
-
Or clean up manually:
TUI not displaying correctly¶
Terminal compatibility issues.
Solutions:
-
Ensure terminal supports ANSI colors:
-
Try resizing your terminal window
-
Check minimum size (80x24 recommended)
-
Try a different terminal emulator
Can't reconnect to session¶
tmux sessions may have died.
Solution:
# Check tmux sessions
tmux list-sessions | grep claudio
# If none exist, clean up and start fresh
claudio sessions clean
claudio start
Instance Issues¶
Instance stuck on "pending"¶
Instance didn't start properly.
Solutions:
-
Try starting manually:
-
Check tmux:
-
Remove and re-add:
Instance shows "waiting_input" but no prompt¶
Output buffer may not have captured the prompt.
Solutions:
-
Press
Gto jump to latest output -
Scroll up/down with
j/kto find the prompt -
Press
Enterto focus input anyway and check -
Increase buffer size in config:
Backend process not starting¶
The configured backend CLI (Claude Code or Codex) may not be installed or authenticated.
Solutions:
-
Verify the backend CLI is installed:
-
Check authentication (Claude Code):
-
Re-authenticate if needed (Claude Code):
Instance immediately completes with no work¶
Task may have been misunderstood or files may not exist.
Solutions:
-
Check the output for the backend's response
-
Be more specific in task description:
-
Verify target files exist in the repo
Worktree Issues¶
"fatal: worktree already exists"¶
A worktree with that name exists.
Solutions:
-
Clean up stale worktrees:
-
Or manually:
"worktree path already exists but is not a worktree"¶
Directory exists but isn't a proper worktree.
Solution:
# Remove the problematic directory
rm -rf .claudio/worktrees/<id>
# Prune worktree references
git worktree prune
# Try again
claudio add "your task"
Changes in worktree not visible¶
You may be looking at the wrong worktree or branch.
Solutions:
-
Verify you're in the right worktree:
-
Check which branch:
-
Use
din TUI to see diff
Git Issues¶
"cannot lock ref"¶
Branch name conflict or lock file issue.
Solutions:
-
Clean up lock files:
-
If branch exists, cleanup may help:
Merge conflicts during rebase¶
PR creation failed due to conflicts.
Solutions:
-
Navigate to the worktree:
-
Check conflict status:
-
Resolve conflicts in listed files
-
Continue rebase:
-
Return and retry:
Branch diverged from main¶
Your branch has diverged from the target branch.
Solution:
cd .claudio/worktrees/<id>
git fetch origin main
git rebase origin/main
# Resolve any conflicts
cd ../../..
claudio pr <id>
tmux Issues¶
"tmux: command not found"¶
tmux is not installed.
Solutions:
Orphaned tmux sessions¶
Sessions remain after Claudio exits.
Solution:
# List Claudio sessions
tmux list-sessions | grep claudio
# Kill all Claudio sessions
claudio cleanup --tmux
# Or manually
tmux kill-session -t claudio-abc123
tmux output garbled¶
Terminal encoding issues.
Solutions:
-
Set UTF-8 encoding:
-
Configure tmux:
PR Creation Issues¶
"gh: command not found"¶
GitHub CLI not installed.
Solutions:
"authentication required"¶
GitHub CLI not authenticated.
Solution:
"branch not found on remote"¶
Branch wasn't pushed.
Solution:
claudio pr <id> # This should push automatically
# Or manually push
cd .claudio/worktrees/<id>
git push -u origin $(git branch --show-current)
PR created but AI content missing¶
AI generation may have failed silently.
Solutions:
-
Check the backend CLI is working:
-
Try without AI:
-
Provide content manually:
Performance Issues¶
High CPU usage¶
Many instances running simultaneously.
Solutions:
- Pause some instances:
-
Press
pon instances not actively needed -
Reduce capture frequency:
-
Run fewer parallel instances
High memory usage¶
Large output buffers or many instances.
Solutions:
-
Reduce buffer size:
-
Reduce displayed lines:
-
Stop completed instances promptly
Slow TUI response¶
Too much output to render.
Solutions:
-
Reduce max output lines:
-
Use search (
/) to filter output -
Jump to latest with
Ginstead of scrolling
Cost Issues¶
Unexpected high costs¶
Many tokens used across instances.
Solutions:
-
Set cost limits:
-
Monitor with:
-
Pause instances when not needed
-
Use more focused tasks to reduce token usage
iOS/Xcode Issues¶
xcodebuild fails in worktree¶
The worktree may be missing project files or have stale build state.
Solutions:
-
Verify workspace exists:
-
Clean and rebuild:
-
Remove DerivedData for this worktree:
"Simulator in use" errors during parallel tests¶
Multiple instances are trying to use the same simulator.
Solutions:
-
Use different simulators per instance:
-
Clone simulators for parallel testing:
project.pbxproj conflicts¶
Multiple instances modified the Xcode project file.
Solutions:
-
Use mergepbx for automatic resolution:
-
Manual resolution:
-
Prevent conflicts - assign project file changes to one instance
Xcode index outdated in worktree¶
After making changes, Xcode shows stale completions or errors.
Solutions:
-
Close and reopen project in Xcode
-
Delete index:
-
Rebuild:
Swift Package Manager resolution slow¶
Each worktree resolving packages separately.
Solutions:
-
Pre-resolve in main repo:
-
Check global cache is enabled:
-
For large dependencies, use binary frameworks when possible
CocoaPods issues in worktrees¶
Pods not properly installed in worktree.
Solutions:
-
Run pod install in the worktree:
-
For faster installs, use deployment mode:
-
Ensure Podfile.lock is committed:
See iOS Development Tutorial for comprehensive iOS workflow guidance.
Recovery¶
Complete reset¶
If all else fails, you can reset Claudio:
# Stop everything
claudio stop --force
# Clean all resources
claudio cleanup --force
# Remove .claudio directory
rm -rf .claudio
# Prune git worktrees
git worktree prune
# Remove claudio branches
git branch | grep claudio | xargs git branch -D
# Start fresh
claudio init
claudio start
Getting help¶
If you're still stuck:
- Check existing issues: GitHub Issues
- Search for your error message
- Open a new issue with:
- Claudio version (
claudio --version) - Operating system
- Steps to reproduce
- Error messages
- Relevant config (without secrets)