refactor: merge deepen-plan into ce:plan as automatic confidence check (#404)

This commit is contained in:
Trevin Chow
2026-03-26 22:15:58 -07:00
committed by GitHub
parent 5e6cd5c909
commit da390a65a2
16 changed files with 717 additions and 468 deletions

View File

@@ -57,7 +57,7 @@ describe("convertClaudeToPi", () => {
"- Task repo-research-analyst(feature_description)",
"- Task learnings-researcher(feature_description)",
"Use AskUserQuestion tool for follow-up.",
"Then use /workflows:work and /prompts:deepen-plan.",
"Then use /workflows:work and /prompts:todo-resolve.",
"Track progress with TodoWrite and TodoRead.",
].join("\n"),
sourcePath: "/tmp/plugin/commands/plan.md",
@@ -81,7 +81,7 @@ describe("convertClaudeToPi", () => {
expect(parsedPrompt.body).toContain("Run subagent with agent=\"learnings-researcher\" and task=\"feature_description\".")
expect(parsedPrompt.body).toContain("ask_user_question")
expect(parsedPrompt.body).toContain("/workflows-work")
expect(parsedPrompt.body).toContain("/deepen-plan")
expect(parsedPrompt.body).toContain("/todo-resolve")
expect(parsedPrompt.body).toContain("file-based todos (todos/ + /skill:todo-create)")
})