From c99a8d4d7e41e6895e3ce1f5b6a22e766b826a99 Mon Sep 17 00:00:00 2001 From: Virgil Date: Wed, 1 Apr 2026 13:52:57 +0000 Subject: [PATCH] feat(agentic): add review-queue command alias Co-Authored-By: Virgil --- pkg/agentic/commands.go | 1 + pkg/agentic/commands_test.go | 1 + pkg/agentic/prep_test.go | 1 + 3 files changed, 3 insertions(+) diff --git a/pkg/agentic/commands.go b/pkg/agentic/commands.go index 29d956b..73ef660 100644 --- a/pkg/agentic/commands.go +++ b/pkg/agentic/commands.go @@ -32,6 +32,7 @@ func (s *PrepSubsystem) registerCommands(ctx context.Context) { c.Command("lang/list", core.Command{Description: "List supported language identifiers", Action: s.cmdLangList}) c.Command("plan-cleanup", core.Command{Description: "Permanently delete archived plans past the retention period", Action: s.cmdPlanCleanup}) c.Command("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.cmdPRManage}) 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}) diff --git a/pkg/agentic/commands_test.go b/pkg/agentic/commands_test.go index 2f737bb..96df5d9 100644 --- a/pkg/agentic/commands_test.go +++ b/pkg/agentic/commands_test.go @@ -1182,6 +1182,7 @@ func TestCommands_RegisterCommands_Good_AllRegistered(t *testing.T) { assert.Contains(t, cmds, "plan/archive") assert.Contains(t, cmds, "plan/delete") assert.Contains(t, cmds, "pr-manage") + assert.Contains(t, cmds, "review-queue") assert.Contains(t, cmds, "task") assert.Contains(t, cmds, "task/update") assert.Contains(t, cmds, "task/toggle") diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index 782669b..08d4d46 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -589,6 +589,7 @@ func TestPrep_OnStartup_Good_RegistersGenerateCommand(t *testing.T) { assert.Contains(t, c.Commands(), "lang/detect") assert.Contains(t, c.Commands(), "lang/list") assert.Contains(t, c.Commands(), "plan-cleanup") + assert.Contains(t, c.Commands(), "review-queue") assert.Contains(t, c.Commands(), "task") assert.Contains(t, c.Commands(), "task/create") assert.Contains(t, c.Commands(), "task/update")