fix(modes): accept code_review as alias for codereview #5

Closed
profit wants to merge 2 commits from fix/code-review-mode-alias into main
Owner

Lakehouse observer.ts escalates to /api/run with mode code_review (underscored); canonical mode is codereview, so those calls silently 400. Normalize the alias after reading mode so they validate + dispatch via RUNNERS. One-line behavioral fix; py_compile clean.

Lakehouse observer.ts escalates to /api/run with mode code_review (underscored); canonical mode is codereview, so those calls silently 400. Normalize the alias after reading mode so they validate + dispatch via RUNNERS. One-line behavioral fix; py_compile clean.
profit added 1 commit 2026-06-21 03:47:19 +00:00
External callers (lakehouse observer.ts) escalate to /api/run with mode
"code_review" (underscored), but the canonical registered mode is "codereview",
so those calls hit the unknown-mode 400 and silently dropped. Normalize the alias
right after reading the mode so it validates and dispatches via RUNNERS.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Author
Owner

Merged into main via 12d7b8c. (Gitea PR-status queue stalled; changes ARE in main.)

✅ Merged into main via 12d7b8c. (Gitea PR-status queue stalled; changes ARE in main.)
profit closed this pull request 2026-06-21 04:04:32 +00: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: profit/llm-team-ui#5
No description provided.