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

@@ -11,29 +11,25 @@ Swarm-enabled LFG. Run these steps in order, parallelizing where indicated. Do n
1. **Optional:** If the `ralph-loop` skill is available, run `/ralph-loop:ralph-loop "finish all slash commands" --completion-promise "DONE"`. If not available or it fails, skip and continue to step 2 immediately.
2. `/ce:plan $ARGUMENTS`
3. **Conditionally** run `/compound-engineering:deepen-plan`
- Run the `deepen-plan` workflow only if the plan is `Standard` or `Deep`, touches a high-risk area (auth, security, payments, migrations, external APIs, significant rollout concerns), or still has obvious confidence gaps in decisions, sequencing, system-wide impact, risks, or verification
- If you run the `deepen-plan` workflow, confirm the plan was deepened or explicitly judged sufficiently grounded before moving on
- If you skip it, note why and continue to step 4
4. `/ce:work`**Use swarm mode**: Make a Task list and launch an army of agent swarm subagents to build the plan
3. `/ce:work`**Use swarm mode**: Make a Task list and launch an army of agent swarm subagents to build the plan
## Parallel Phase
After work completes, launch steps 5 and 6 as **parallel swarm agents** (both only need code to be written):
After work completes, launch steps 4 and 5 as **parallel swarm agents** (both only need code to be written):
5. `/ce:review mode:report-only` — spawn as background Task agent
6. `/compound-engineering:test-browser` — spawn as background Task agent
4. `/ce:review mode:report-only` — spawn as background Task agent
5. `/compound-engineering:test-browser` — spawn as background Task agent
Wait for both to complete before continuing.
## Autofix Phase
7. `/ce:review mode:autofix` — run sequentially after the parallel phase so it can safely mutate the checkout, apply `safe_auto` fixes, and emit residual todos for step 8
6. `/ce:review mode:autofix` — run sequentially after the parallel phase so it can safely mutate the checkout, apply `safe_auto` fixes, and emit residual todos for step 7
## Finalize Phase
8. `/compound-engineering:todo-resolve` — resolve findings, compound on learnings, clean up completed todos
9. `/compound-engineering:feature-video` — record the final walkthrough and add to PR
10. Output `<promise>DONE</promise>` when video is in PR
7. `/compound-engineering:todo-resolve` — resolve findings, compound on learnings, clean up completed todos
8. `/compound-engineering:feature-video` — record the final walkthrough and add to PR
9. Output `<promise>DONE</promise>` when video is in PR
Start with step 1 now.