agent-orchestrator/backend/internal
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
..
adapters Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
agentlaunch feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30
cdc feat: ao session claim-pr + spawn --claim-pr wiring (#101) 2026-06-06 00:01:03 +05:30
cli Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
config Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
daemon Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
daemonmeta fix(cli): verify daemon ownership before stop signal 2026-06-01 01:45:04 +05:30
domain feat(session): support multiple PRs per session (#230) 2026-06-17 17:31:28 +05:30
httpd fix(project): resolve default branch from origin/HEAD, not checked-out branch (#289) 2026-06-19 19:50:19 +05:30
integration feat(session): support multiple PRs per session (#230) 2026-06-17 17:31:28 +05:30
legacyimport feat(import): rewrite-side legacy → rewrite first-boot import (#314) 2026-06-18 19:54:51 +05:30
lifecycle Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
notify feat: add notifications v1 (#181) 2026-06-14 20:02:32 +05:30
observe fix(session): make worker branch namespace child-safe (#309) 2026-06-18 20:00:15 +05:30
ports Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
processalive refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
review fix(review): reviewer posts to GitHub and records its verdict autonomously (#259) 2026-06-17 16:34:15 +05:30
runfile refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
service fix(project): resolve default branch from origin/HEAD, not checked-out branch (#289) 2026-06-19 19:50:19 +05:30
session_manager fix(session): make worker branch namespace child-safe (#309) 2026-06-18 20:00:15 +05:30
storage/sqlite Feat/backend telemetry v0 (#307) 2026-06-18 22:00:25 +05:30
terminal feat(windows): ConPTY terminal, zellij discovery, agent launcher trampoline, codex shim resolution (#310) 2026-06-18 21:51:05 +05:30