agent-orchestrator/backend/internal
Khushi Diwan 9e84a3b5ae
fix(spawn): map invalid branch name to 400 instead of opaque 500 (#213)
validateBranch returned an untyped error for a name rejected by
git check-ref-format, so toAPIError fell through to INTERNAL_ERROR 500.

Add a ports.ErrWorkspaceBranchInvalid sentinel (mirroring the not-fetched /
checked-out-elsewhere ones), wrap it in validateBranch, and map it to
INVALID_BRANCH (400). Completes the residual of #152 Bug 3, which typed the
not-fetched and checked-out-elsewhere cases but left the invalid-format case
collapsing to 500.

Closes #212
2026-06-15 14:50:58 +05:30
..
adapters fix(spawn): map invalid branch name to 400 instead of opaque 500 (#213) 2026-06-15 14:50:58 +05:30
cdc feat: ao session claim-pr + spawn --claim-pr wiring (#101) 2026-06-06 00:01:03 +05:30
cli feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
config Use ~/.ao as canonical state home (#233) 2026-06-14 22:52:25 +05:30
daemon feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
daemonmeta fix(cli): verify daemon ownership before stop signal 2026-06-01 01:45:04 +05:30
domain feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
httpd feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
integration fix: 7 bugs from discussion #149 smoke walk (envelope, spawn, CDC, observer) (#153) 2026-06-07 07:35:46 +05:30
lifecycle feat: add notifications v1 (#181) 2026-06-14 20:02:32 +05:30
notify feat: add notifications v1 (#181) 2026-06-14 20:02:32 +05:30
observe feat(tracker): ApplyTrackerFacts reducer + shared observer skeleton (#112) (#116) 2026-06-07 21:29:00 +05:30
ports fix(spawn): map invalid branch name to 400 instead of opaque 500 (#213) 2026-06-15 14:50:58 +05:30
processalive refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
review feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
runfile refactor: simplify session lifecycle and zellij runtime (#62) 2026-06-01 08:42:49 +05:30
service fix(spawn): map invalid branch name to 400 instead of opaque 500 (#213) 2026-06-15 14:50:58 +05:30
session_manager fix(spawn): reject unknown harness with 400 instead of opaque 500 (#211) 2026-06-15 14:50:53 +05:30
storage/sqlite feat(review): configurable AO code review backend (V1) (#192) (#197) 2026-06-15 01:17:17 +05:30
terminal refactor(terminal): per-client zellij attach replaces shared PTY + replay ring (#194) 2026-06-12 15:19:38 +05:30