You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Refactor workflow options and steps to introduce Quick and Expert modes
- Updated the main question prompt to clarify workflow building modes.
- Reorganized workflow options into 'Quick Mode' for speed and 'Expert Mode' for complexity.
- Added a new condition group for workflow actions with corresponding options.
- Separated steps for Quick Mode and Expert Mode, enhancing user experience.
**Note:** Mode selection (Quick vs Expert) happens at the workflow track level before this step loads. This is the Expert Mode flow - thorough questions with education as we go.
16
17
17
18
## 🚨 CRITICAL RULES FOR STEP 00
18
19
@@ -45,7 +46,7 @@ You don't have full context in Step 00 - only general info. Always guide user to
45
46
46
47
**Rule:** Process selected conditions IN ORDER. Never skip ahead. Guide user step-by-step.
47
48
48
-
## UNIFIED WELCOME (All Tracks)
49
+
## UNIFIED WELCOME (All Actions)
49
50
50
51
**Calculate step count from `{selected_conditions}` FIRST:**
51
52
@@ -64,11 +65,13 @@ You don't have full context in Step 00 - only general info. Always guide user to
64
65
65
66
**Then display this entire message, wait for user response:**
66
67
67
-
"Welcome to CodeMachine, your one stop for orchestrating any workflows inside your own terminal. I'm Ali, your Workflow Builder.
68
+
"Welcome to **Expert Mode**! I'm Ali, your CodeMachine Workflow Builder.
69
+
70
+
You've chosen the guided 5-step process where I'll walk you through every detail with thorough explanations.
Copy file name to clipboardExpand all lines: prompts/templates/ali/chained/step-02-workflow-definition.md
-41Lines changed: 0 additions & 41 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -242,14 +242,6 @@ Let's continue!"
242
242
243
243
### 5. Ask About Tracks (Optional)
244
244
245
-
**Quick Mode:**
246
-
"Most workflows don't need tracks. Skipping for now - you can add them later if needed."
247
-
Store `tracks: null` and proceed to Section 7 (Workflow Mode).
248
-
249
-
---
250
-
251
-
**Expert Mode - Start with intent question:**
252
-
253
245
"**Quick question:** Will your workflow need different paths for different situations?
254
246
255
247
For example:
@@ -441,14 +433,6 @@ Ali will inform users about these placeholders when creating prompts in Step 4.
441
433
442
434
---
443
435
444
-
**Quick Mode:**
445
-
"Skipping condition groups - you can add them later if needed."
446
-
Store `conditionGroups: []` and proceed to Section 7.
447
-
448
-
---
449
-
450
-
**Expert Mode - Start with intent question:**
451
-
452
436
"**Quick question:** Will some parts of your workflow be optional based on user choices?
453
437
454
438
For example:
@@ -604,23 +588,6 @@ Repeat if yes. Store all in `conditionGroups` array.
604
588
605
589
### 7. Ask About Workflow Mode
606
590
607
-
**Quick Mode:**
608
-
609
-
"**How should your workflow run?**
610
-
611
-
1.**Manual** - You control the flow, agents wait for your input
612
-
2.**Continuous** - Runs start to finish automatically
613
-
3.**Hybrid** - Mix of auto and interactive agents (you decide per-agent)
614
-
4.**Autonomous with Controller** (Beta) - A controller agent responds on your behalf
615
-
616
-
Enter **1**, **2**, **3**, or **4**:"
617
-
618
-
Wait for response. Handle same as Expert mode responses below.
619
-
620
-
---
621
-
622
-
**Expert Mode:**
623
-
624
591
"**Workflow Execution Mode**
625
592
626
593
How should your workflow run?
@@ -1076,14 +1043,6 @@ Proceed to Section 8 (Specification Flag).
1076
1043
1077
1044
### 8. Ask About Specification Flag
1078
1045
1079
-
**Quick Mode:**
1080
-
"Skipping specification file configuration. You can add it later if needed."
1081
-
Store `specification: false` and proceed to Section 9.
1082
-
1083
-
---
1084
-
1085
-
**Expert Mode - Smart Inference:**
1086
-
1087
1046
**Determine likely need based on workflow mode:**
1088
1047
1089
1048
- If `autonomousMode: 'never'` (Manual Mode) OR `interactive: true` without controller → User will provide input through conversation. Specs likely NOT needed.
0 commit comments