Harden Aider workspace handoff
Some checks failed
CI / test (push) Has been cancelled

This commit is contained in:
2026-08-21 23:17:43 +02:00
parent bfa5cdcd3e
commit ed7b88ade4
4 changed files with 51 additions and 21 deletions

View File

@@ -37,6 +37,8 @@ class GitWorkspace:
shutil.rmtree(self.path, ignore_errors=True)
self.path.parent.mkdir(parents=True, exist_ok=True)
self._git("clone", "--branch", self.settings.source_branch, "--single-branch", self.settings.source_repository, str(self.path), cwd=self.path.parent)
self._git("config", "user.name", "LAI Automation")
self._git("config", "user.email", "automation@localhost")
self._git("checkout", "-b", self.branch)
def run(