feat(agentic): add plan/get command alias

Co-Authored-By: Virgil <virgil@lethean.io>
This commit is contained in:
Virgil 2026-04-01 23:57:11 +00:00
parent 8d3c48a85e
commit c7ceb2db4e
2 changed files with 4 additions and 0 deletions

View file

@ -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/get", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow})
c.Command("plan/get", core.Command{Description: "Read an implementation plan", Action: s.cmdPlanShow})
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})

View file

@ -134,6 +134,8 @@ 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/get")
assert.Contains(t, c.Commands(), "plan/get")
assert.Contains(t, c.Commands(), "agentic:plan/read")
assert.Contains(t, c.Commands(), "plan/read")
assert.Contains(t, c.Commands(), "plan/show")