agent-orchestrator/backend
Khushi Diwan 7d0ca02440
fix(project): resolve default branch from origin/HEAD, not checked-out branch (#289)
* fix(project): resolve default branch from origin/HEAD, not checked-out branch

Detecting the project default via `symbolic-ref --short HEAD` captured
whatever branch the repo happened to be on at add time. Adding a project
while on a feature branch (e.g. fix/pr-attachment) persisted that branch
as the default, so every session worktree based off it instead of main.

Prefer the remote default (origin/HEAD), falling back to the checked-out
branch only when no remote default is set. This still records a non-main
default like master correctly, while ignoring the active feature branch.

* test: cover branch-not-fetched API error
2026-06-19 19:50:19 +05:30
..
cmd refactor: move project manager to service layer (#68) 2026-06-02 01:26:48 +05:30
internal fix(project): resolve default branch from origin/HEAD, not checked-out branch (#289) 2026-06-19 19:50:19 +05:30
.golangci.yml feat(agents): agent platform — registry, activity hooks, harness allowlist (#119) 2026-06-07 00:52:40 +05:30
go.mod feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30
go.sum feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30
main.go feat(backend): add cobra cli foundation 2026-06-01 01:44:43 +05:30
sqlc.yaml feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30