[BUG] Ultraplan: Background tasks require a git repository despite valid git repo, remote, and GitHub app installed
Resolved 💬 3 comments Opened Apr 12, 2026 by sagacioussid02 Closed Apr 15, 2026
Preflight Checklist
- [x] I have searched existing issues and this hasn't been reported yet
- [x] This is a single bug report (please file separate reports for different bugs)
- [x] I am using the latest version of Claude Code
What's Wrong?
- Claude Code version: 2.1.104
- Repo: public GitHub repo with commits, remote tracking branch set, GitHub Claude App installed
- Error: always shows "Background tasks require a git repository. Initialize git or run from a git repository."
- Tried: git init, git push -u origin main, GitHub App installation at https://github.com/apps/claude/installations/new
- All local git checks pass: worktrees work, rev-parse --show-toplevel returns correct path, remote is configured
What Should Happen?
Launch ultraplan on /ultraplan prompt
Error Messages/Logs
Steps to Reproduce
- Create a plan for an app in claude terminal
- Make sure initially its not a git repository
- Ask the claude to refine the plan using /ultraplan
- Launch ultraplan
- Once you get the error that its not a git repository, initialize the git repo.
- Make your git repo public and install claude
- Try launching ultraplan again
Claude Model
Sonnet (default)
Is this a regression?
No, this never worked
Last Working Version
_No response_
Claude Code Version
2.1.104
Platform
Anthropic API
Operating System
macOS
Terminal/Shell
Terminal.app (macOS)
Additional Information
_No response_
This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗