diff --git a/pkg/agentic/commands.go b/pkg/agentic/commands.go index ca063e1..133df91 100644 --- a/pkg/agentic/commands.go +++ b/pkg/agentic/commands.go @@ -26,6 +26,7 @@ func (s *PrepSubsystem) registerCommands(ctx context.Context) { 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("agentic:generate", core.Command{Description: "Generate content from a prompt using the platform content pipeline", Action: s.cmdGenerate}) c.Command("complete", core.Command{Description: "Run the completion pipeline (QA → PR → Verify → Ingest → Poke)", Action: s.cmdComplete}) c.Command("scan", core.Command{Description: "Scan Forge repos for actionable issues", Action: s.cmdScan}) c.Command("mirror", core.Command{Description: "Mirror Forge repos to GitHub", Action: s.cmdMirror}) diff --git a/pkg/agentic/prep_test.go b/pkg/agentic/prep_test.go index 002ae12..f112025 100644 --- a/pkg/agentic/prep_test.go +++ b/pkg/agentic/prep_test.go @@ -619,6 +619,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(), "agentic:generate") assert.Contains(t, c.Commands(), "complete") assert.Contains(t, c.Commands(), "agentic:plan") assert.Contains(t, c.Commands(), "prep-workspace")