diff --git a/pkg/agentic/commands_plan.go b/pkg/agentic/commands_plan.go index 0be0ae8..cf9d1ff 100644 --- a/pkg/agentic/commands_plan.go +++ b/pkg/agentic/commands_plan.go @@ -13,6 +13,8 @@ func (s *PrepSubsystem) registerPlanCommands() { c.Command("plan/create", core.Command{Description: "Create an implementation plan or create one from a template", Action: s.cmdPlanCreate}) c.Command("plan/from-issue", core.Command{Description: "Create an implementation plan from a tracked issue", Action: s.cmdPlanFromIssue}) c.Command("plan/list", core.Command{Description: "List implementation plans", Action: s.cmdPlanList}) + c.Command("agentic:plan/read", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow}) + c.Command("plan/read", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow}) c.Command("plan/show", core.Command{Description: "Show an implementation plan", Action: s.cmdPlanShow}) c.Command("plan/status", core.Command{Description: "Read or update an implementation plan status", Action: s.cmdPlanStatus}) c.Command("plan/check", core.Command{Description: "Check whether a plan or phase is complete", Action: s.cmdPlanCheck}) diff --git a/pkg/agentic/commands_plan_test.go b/pkg/agentic/commands_plan_test.go index 37fba67..86d75b9 100644 --- a/pkg/agentic/commands_plan_test.go +++ b/pkg/agentic/commands_plan_test.go @@ -134,4 +134,7 @@ func TestCommandsPlan_RegisterPlanCommands_Good_SpecAliasRegistered(t *testing.T assert.Contains(t, c.Commands(), "agentic:plan") assert.Contains(t, c.Commands(), "plan") + assert.Contains(t, c.Commands(), "agentic:plan/read") + assert.Contains(t, c.Commands(), "plan/read") + assert.Contains(t, c.Commands(), "plan/show") } diff --git a/pkg/agentic/commands_test.go b/pkg/agentic/commands_test.go index 2c165a1..84631eb 100644 --- a/pkg/agentic/commands_test.go +++ b/pkg/agentic/commands_test.go @@ -1389,6 +1389,7 @@ func TestCommands_RegisterCommands_Good_AllRegistered(t *testing.T) { assert.Contains(t, cmds, "plan") assert.Contains(t, cmds, "plan/create") assert.Contains(t, cmds, "plan/list") + assert.Contains(t, cmds, "plan/read") assert.Contains(t, cmds, "plan/show") assert.Contains(t, cmds, "plan/status") assert.Contains(t, cmds, "plan/check")