agent-orchestrator icon indicating copy to clipboard operation
agent-orchestrator copied to clipboard

Add git init recovery for non-git project folders

Open somewherelostt opened this issue 5 months ago • 1 comments

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 repository action for the NOT_A_GIT_REPO project-add error.
  • Run git init through 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.

somewherelostt avatar Jun 24 '26 23:06 somewherelostt

started working on this

somewherelostt avatar Jun 24 '26 23:06 somewherelostt