Troubleshooting
Common problems and how to fix them.
Forgot -t with --github
GitHub needs to know if it's an issue or a PR:
wtmag create --github 456 -t issue
wtmag create --github 456 -t prissue is implementation work. pr is review work. They're different work types with different worker behavior.
Window launch fails outside tmux
Defaults open workers as tmux windows. You need to be inside tmux:
tmux new -s project-devOr force a dedicated session (doesn't require tmux):
wtmag create --github 456 -t issue -sGitHub fetch fails
WTmag uses gh to get issue and PR context:
gh auth statusMake sure you're in the right repo and the number exists.
Agent won't start
WTmag launches whatever command is in your config. Check that it works on its own:
pi --help
opencode --help
claude --help
codex --helpFor custom agents, make sure command, args, and prompt_flag match the CLI's actual interface.
Model override fails
--model only works with Pi and OpenCode right now:
wtmag create --github 456 -t issue --agent opencode --model openai/gpt-5.2:highFor other agents, set the model in the agent's own config instead. WTmag won't guess flags.
Jira doesn't work yet
The command parses:
wtmag create --jira PROJ-123But the adapter isn't built. Use GitHub issues or custom prompts for now.
Worker needs more space
Promote a window to its own session:
wtmag promote --id project-github-issue-456Then attach as usual. The worker keeps running. It just gets its own tmux lifecycle.
Can't find a running worker
wtmag list # current project
wtmag list --all # all projectsOr use tmux-sessionx (prefix + f) to fuzzy-find sessions and windows by name.
