feat(agentic): add review queue alias

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-01 20:25:39 +00:00
parent dfd1640d37
commit 2a7b8d2e25
3 changed files with 3 additions and 0 deletions

View file

@ -49,6 +49,7 @@ func (s *PrepSubsystem) registerCommands(ctx context.Context) {
c.Command("pr-manage", core.Command{Description: "Manage open PRs (merge, close, review)", Action: s.cmdPRManage})
c.Command("agentic:pr-manage", core.Command{Description: "Manage open PRs (merge, close, review)", Action: s.cmdPRManage})
c.Command("review-queue", core.Command{Description: "Process the CodeRabbit review queue", Action: s.cmdReviewQueue})
c.Command("agentic:review-queue", core.Command{Description: "Process the CodeRabbit review queue", Action: s.cmdReviewQueue})
c.Command("status", core.Command{Description: "List agent workspace statuses", Action: s.cmdStatus})
c.Command("prompt", core.Command{Description: "Build and display an agent prompt for a repo", Action: s.cmdPrompt})
c.Command("extract", core.Command{Description: "Extract a workspace template to a directory", Action: s.cmdExtract})

View file

@ -1302,6 +1302,7 @@ func TestCommands_RegisterCommands_Good_AllRegistered(t *testing.T) {
assert.Contains(t, cmds, "pr-manage")
assert.Contains(t, cmds, "agentic:pr-manage")
assert.Contains(t, cmds, "review-queue")
assert.Contains(t, cmds, "agentic:review-queue")
assert.Contains(t, cmds, "task")
assert.Contains(t, cmds, "task/update")
assert.Contains(t, cmds, "task/toggle")

View file

@ -667,6 +667,7 @@ func TestPrep_OnStartup_Good_RegistersGenerateCommand(t *testing.T) {
assert.Contains(t, c.Commands(), "session/resume")
assert.Contains(t, c.Commands(), "session/replay")
assert.Contains(t, c.Commands(), "review-queue")
assert.Contains(t, c.Commands(), "agentic:review-queue")
assert.Contains(t, c.Commands(), "task")
assert.Contains(t, c.Commands(), "task/create")
assert.Contains(t, c.Commands(), "task/update")