agent-orchestrator
agent-orchestrator copied to clipboard
Add git init recovery for non-git project folders
Summary
When a user selects a plain folder while creating a project, AO reports that the repository path must point to a git repository. The desktop app should offer an inline recovery action that initializes the selected folder instead of forcing the user to leave the flow.
Desired behavior
- Show an
Initialize repositoryaction for theNOT_A_GIT_REPOproject-add error. - Run
git initthrough the Electron main process, not renderer code. - Retry project creation with the selected worker/orchestrator agents after init succeeds.
- Keep existing backend project validation intact.
Notes
A freshly initialized repo still needs an initial commit before AO can spawn worktree-backed sessions.
started working on this