From 2690778a0245687717b59b7cf97c191d8a43dd5e Mon Sep 17 00:00:00 2001 From: Virgil Date: Wed, 1 Apr 2026 13:02:15 +0000 Subject: [PATCH] feat(agentic): add prep-workspace command alias Co-Authored-By: Virgil --- pkg/agentic/commands.go | 1 + pkg/agentic/prep_test.go | 1 + 2 files changed, 2 insertions(+) diff --git a/pkg/agentic/commands.go b/pkg/agentic/commands.go index a328e00..57c6f8a 100644 --- a/pkg/agentic/commands.go +++ b/pkg/agentic/commands.go @@ -20,6 +20,7 @@ func (s *PrepSubsystem) registerCommands(ctx context.Context) { c.Command("run/task", core.Command{Description: "Run a single task end-to-end", Action: s.cmdRunTask}) c.Command("run/orchestrator", core.Command{Description: "Run the queue orchestrator (standalone, no MCP)", Action: s.cmdOrchestrator}) c.Command("prep", core.Command{Description: "Prepare a workspace: clone repo, build prompt", Action: s.cmdPrep}) + c.Command("prep-workspace", core.Command{Description: "Prepare a workspace: clone repo, build prompt", Action: s.cmdPrep}) c.Command("generate", core.Command{Description: "Generate content from a prompt using the platform content pipeline", Action: s.cmdGenerate}) c.Command("scan", core.Command{Description: "Scan Forge repos for actionable issues", Action: s.cmdScan}) c.Command("brain/ingest", core.Command{Description: "Bulk ingest memories into OpenBrain", Action: s.cmdBrainIngest}) diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index 73a3421..fc97d61 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -581,6 +581,7 @@ func TestPrep_OnStartup_Good_RegistersGenerateCommand(t *testing.T) { require.True(t, s.OnStartup(context.Background()).OK) assert.Contains(t, c.Commands(), "generate") + assert.Contains(t, c.Commands(), "prep-workspace") assert.Contains(t, c.Commands(), "brain/ingest") assert.Contains(t, c.Commands(), "brain/seed-memory") assert.Contains(t, c.Commands(), "brain/list")