feat: git worktree per task (ORCH-2 / S-4) #1

Closed
admin wants to merge 0 commits from feature/ORCH-2-worktree into main
Owner

Isolated git worktree per task/branch — removes shared /repos checkout races (S-4). Preserves B-1/B-2/S-1/S-5. Tests: 37 passed, 9 pre-existing webhook 401 fails (baseline). See docs/BUGFIXES_2026-06-02_ORCH2.md

Isolated git worktree per task/branch — removes shared /repos checkout races (S-4). Preserves B-1/B-2/S-1/S-5. Tests: 37 passed, 9 pre-existing webhook 401 fails (baseline). See docs/BUGFIXES_2026-06-02_ORCH2.md
admin added 1 commit 2026-06-02 21:12:29 +03:00
- add src/git_worktree.py: ensure/remove/get_worktree_path
- config: worktrees_dir=/repos/_wt
- launcher: agent runs in per-branch worktree; task-file + commit/push in worktree; no shared checkout
- qg/checks: read artifacts + run make test from worktree (branch arg, backward-compatible)
- webhooks/plane: pass branch into QG dispatch; review fallback from worktree
- webhooks/gitea: keep read-only branch --contains in main clone (documented)
- tests: test_git_worktree.py (isolation) + update test_launcher write-task-file
- docs: ARCHITECTURE worktree section + BUGFIXES_2026-06-02_ORCH2

Preserves B-1/B-2/S-1/S-5 fixes (paths now point at worktree).
admin closed this pull request 2026-06-03 08:09:13 +03:00

Pull request closed

Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/orchestrator#1