@torka/claude-workflows 0.2.0 → 0.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,103 @@
1
+ ---
2
+ workflowName: implement-epic-with-subagents
3
+ creationDate: 2026-01-04
4
+ module: bmm
5
+ phase: 4-implementation
6
+ status: COMPLETE
7
+ stepsCompleted: [1, 2, 3, 4, 5, 6, 7, 8, 9]
8
+ reviewPassed: true
9
+ reviewDate: 2026-01-04
10
+ ---
11
+
12
+ # Workflow Creation Summary
13
+
14
+ ## Workflow Information
15
+
16
+ - **Name:** implement-epic-with-subagents
17
+ - **Module:** bmm (BMAD Method Module)
18
+ - **Phase:** 4-implementation
19
+ - **Created:** 2026-01-04
20
+ - **Location:** `_bmad-output/bmb-creations/workflows/implement-epic-with-subagents/`
21
+ - **Target Installation:** `_bmad/bmm/workflows/4-implementation/implement-epic-with-subagents/`
22
+
23
+ ## Purpose
24
+
25
+ Automate entire epic execution by orchestrating sub-agents to execute all stories sequentially, with minimal human intervention.
26
+
27
+ ## Generated Files
28
+
29
+ ### Workflow Configuration
30
+ - `workflow.yaml` - Main workflow configuration
31
+
32
+ ### Step Files
33
+ - `steps/step-01-init.md` - Epic initialization and prerequisite validation
34
+ - `steps/step-01b-continue.md` - Session resumption and state recovery
35
+ - `steps/step-02-orchestrate.md` - Main orchestration loop (story execution)
36
+ - `steps/step-03-complete.md` - Completion and report generation
37
+
38
+ ### Templates
39
+ - `templates/epic-completion-report.md` - Epic completion report template
40
+
41
+ ### Validation
42
+ - `validation/checklist.md` - Pre-execution validation checklist
43
+
44
+ ## Quick Start Guide
45
+
46
+ ### 1. Install the Workflow
47
+
48
+ ```bash
49
+ cp -r _bmad-output/bmb-creations/workflows/implement-epic-with-subagents _bmad/bmm/workflows/4-implementation/
50
+ ```
51
+
52
+ ### 2. Create Required Agents
53
+
54
+ Before running, ensure these agents exist:
55
+ - `.claude/agents/story-prep-master.md`
56
+ - `.claude/agents/quality-gate-verifier.md`
57
+ - `.claude/agents/principal-code-reviewer.md`
58
+
59
+ ### 3. Optional: Create Specialist Dev Agents
60
+
61
+ Populate `.claude/agents/vt-bmad-dev-agents/` with specialist agents for automatic agent selection based on story requirements.
62
+
63
+ ### 4. Run the Workflow
64
+
65
+ The workflow will:
66
+ 1. Load and parse the epic file
67
+ 2. For each story: create → develop → quality gate → code review → git commit
68
+ 3. Update sprint-status.yaml throughout
69
+ 4. Generate completion report
70
+
71
+ ## Key Features
72
+
73
+ - **Autonomous Execution:** Runs with minimal human intervention
74
+ - **Smart Agent Selection:** Automatically picks specialist dev agents based on story content
75
+ - **Quality Gate:** Independent verification via quality-gate-verifier agent
76
+ - **Resume Capability:** Sidecar file enables session recovery
77
+ - **Auto-Commit:** Git commits after each story completion
78
+
79
+ ## Failure Handling
80
+
81
+ | Failure Type | Action |
82
+ |--------------|--------|
83
+ | Simple (lint, types) | Auto-retry up to 3 attempts |
84
+ | Moderate (test failures) | Agent attempts fix, escalate after 2 failures |
85
+ | Complex (architectural) | Stop immediately, escalate with context |
86
+
87
+ ## Next Steps
88
+
89
+ 1. **Install to bmm module** - Copy to final location
90
+ 2. **Create quality-gate-verifier agent** - Required for quality gate phase
91
+ 3. **Optionally create specialist agents** - For automatic agent matching
92
+ 4. **Test with small epic** - Validate workflow before full use
93
+ 5. **Configure Context-7 MCP** - Required for documentation access
94
+
95
+ ## Dependencies
96
+
97
+ | Dependency | Status | Notes |
98
+ |------------|--------|-------|
99
+ | Context-7 MCP | Required | Must be configured |
100
+ | Playwright MCP | Optional | Use if available |
101
+ | story-prep-master | Required | Create if not exists |
102
+ | quality-gate-verifier | Required | Create if not exists |
103
+ | principal-code-reviewer | Required | Create if not exists |
@@ -0,0 +1,228 @@
1
+ ---
2
+ name: 'step-01-init'
3
+ description: 'Entry router - detect context and route to appropriate initialization path'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmm/workflows/4-implementation/implement-epic-with-subagents'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01-init.md'
10
+ continueFile: '{workflow_path}/steps/step-01b-continue.md'
11
+ newSetupFile: '{workflow_path}/steps/step-01c-new.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+
14
+ # State files
15
+ sidecarFolder: '{output_folder}/epic-executions'
16
+ sprintStatus: '{implementation_artifacts}/sprint-status.yaml'
17
+ ---
18
+
19
+ # Step 1: Entry Router
20
+
21
+ ## STEP GOAL:
22
+
23
+ To detect the execution context (worktree vs main repo), discover any existing epic execution state, and route to the appropriate next step.
24
+
25
+ ## MANDATORY EXECUTION RULES (READ FIRST):
26
+
27
+ ### Universal Rules:
28
+
29
+ - 🛑 NEVER skip detection steps
30
+ - 📖 CRITICAL: Read the complete step file before taking any action
31
+ - 📋 YOU ARE A ROUTER, not an executor
32
+
33
+ ### Role Reinforcement:
34
+
35
+ - ✅ You are an Epic Execution Orchestrator
36
+ - ✅ This step ONLY detects context and routes
37
+ - ✅ All initialization logic is in step-01c
38
+ - ✅ All continuation logic is in step-01b
39
+
40
+ ### Step-Specific Rules:
41
+
42
+ - 🎯 Focus ONLY on detection and routing
43
+ - 🚫 FORBIDDEN to start epic setup in this step
44
+ - 🚫 FORBIDDEN to start story execution in this step
45
+ - 🚪 ROUTE to appropriate step based on detection results
46
+
47
+ ## DETECTION SEQUENCE:
48
+
49
+ ### 1. Detect Worktree Context
50
+
51
+ Execute git commands to determine if running in a worktree:
52
+
53
+ ```bash
54
+ GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
55
+ GIT_COMMON=$(git rev-parse --git-common-dir 2>/dev/null)
56
+ ```
57
+
58
+ **Interpretation:**
59
+ - If `$GIT_DIR` != `$GIT_COMMON` → Running in a WORKTREE
60
+ - If `$GIT_DIR` == `$GIT_COMMON` → Running in MAIN REPO
61
+
62
+ **Store context:**
63
+ ```
64
+ is_worktree: true | false
65
+ current_path: $(pwd)
66
+ ```
67
+
68
+ ### 2. Discover Sidecar Files
69
+
70
+ Scan for existing epic execution state files:
71
+
72
+ ```bash
73
+ ls -la {sidecarFolder}/epic-*-state.yaml 2>/dev/null
74
+ ```
75
+
76
+ **For each sidecar found, extract:**
77
+ - Epic number (from filename pattern)
78
+ - `current_phase` value
79
+ - `worktree_config.worktree_path` (if present)
80
+ - `stories_pending` count
81
+
82
+ **Build sidecar list:**
83
+ ```
84
+ sidecars_found:
85
+ - file: "epic-2-state.yaml"
86
+ epic_number: 2
87
+ phase: "executing"
88
+ worktree_path: "/path/to/worktree" | null
89
+ pending_stories: 5
90
+ ```
91
+
92
+ ### 3. Route Decision
93
+
94
+ Based on detection results, determine the appropriate path:
95
+
96
+ #### Scenario A: In Worktree with Matching Sidecar
97
+
98
+ **Conditions:**
99
+ - `is_worktree` = true
100
+ - Found sidecar where `worktree_config.worktree_path` == `current_path`
101
+ - Sidecar has `stories_pending` > 0
102
+
103
+ **Action:** Route to `{continueFile}` with matched sidecar
104
+
105
+ **Display:**
106
+ ```
107
+ Detected: Running in worktree for Epic {N}
108
+ Found matching execution state with {X} stories pending.
109
+
110
+ Routing to continuation...
111
+ ```
112
+
113
+ → Load, read entire file, then execute `{continueFile}`
114
+
115
+ ---
116
+
117
+ #### Scenario B: In Worktree, Awaiting Session Restart
118
+
119
+ **Conditions:**
120
+ - `is_worktree` = true
121
+ - Found sidecar where `worktree_config.worktree_path` == `current_path`
122
+ - Sidecar has `current_phase` = "awaiting_session_restart"
123
+
124
+ **Action:** Update sidecar phase to "executing", route to orchestration
125
+
126
+ **Display:**
127
+ ```
128
+ Detected: Fresh session in worktree for Epic {N}
129
+ Setup was completed in previous session.
130
+
131
+ Ready to begin story execution...
132
+ ```
133
+
134
+ → Update sidecar: `current_phase: "executing"`
135
+ → Load, read entire file, then execute step-02-orchestrate.md
136
+
137
+ ---
138
+
139
+ #### Scenario C: In Worktree, No Matching Sidecar
140
+
141
+ **Conditions:**
142
+ - `is_worktree` = true
143
+ - No sidecar matches `current_path`
144
+
145
+ **Action:** Error state - worktree exists but no state found
146
+
147
+ **Display:**
148
+ ```
149
+ ⚠️ Warning: Running in a worktree but no matching execution state found.
150
+
151
+ This worktree may have been created manually or state was lost.
152
+
153
+ Options:
154
+ [N] Start new epic setup (will use this worktree)
155
+ [X] Exit and investigate
156
+ ```
157
+
158
+ - IF N: Route to `{newSetupFile}` (skip worktree creation, use current)
159
+ - IF X: EXIT workflow
160
+
161
+ ---
162
+
163
+ #### Scenario D: In Main Repo with Pending Sidecars
164
+
165
+ **Conditions:**
166
+ - `is_worktree` = false
167
+ - Found sidecars with `stories_pending` > 0
168
+
169
+ **Action:** Show existing executions, ask user intent
170
+
171
+ **Display:**
172
+ ```
173
+ Found existing epic execution(s):
174
+
175
+ Epic 2: "Auth Experience" - 5 stories pending
176
+ └─ Worktree: ../vt-saas-template-epic-2-auth/
177
+ Epic 3: "User Onboarding" - 7 stories pending (main repo)
178
+
179
+ Options:
180
+ [1] Continue Epic 2 (requires: cd ../vt-saas-template-epic-2-auth/)
181
+ [2] Continue Epic 3
182
+ [N] Start NEW epic execution
183
+ ```
184
+
185
+ - IF number selected for worktree epic: Display cd command and exit
186
+ - IF number selected for main repo epic: Route to `{continueFile}`
187
+ - IF N: Route to `{newSetupFile}`
188
+
189
+ ---
190
+
191
+ #### Scenario E: In Main Repo, No Active Sidecars
192
+
193
+ **Conditions:**
194
+ - `is_worktree` = false
195
+ - No sidecars found OR all sidecars have `current_phase` = "complete"
196
+
197
+ **Action:** Fresh start - route to new epic setup
198
+
199
+ **Display:**
200
+ ```
201
+ Welcome to the Epic Execution Orchestrator!
202
+
203
+ No active epic executions found.
204
+ Starting new epic setup...
205
+ ```
206
+
207
+ → Load, read entire file, then execute `{newSetupFile}`
208
+
209
+ ---
210
+
211
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
212
+
213
+ ### ✅ SUCCESS:
214
+
215
+ - Correctly detected worktree vs main repo context
216
+ - Found and parsed all existing sidecar files
217
+ - Routed to appropriate step based on scenario
218
+ - User given clear options when multiple paths exist
219
+
220
+ ### ❌ SYSTEM FAILURE:
221
+
222
+ - Starting epic setup directly (that's step-01c's job)
223
+ - Starting continuation directly (that's step-01b's job)
224
+ - Not detecting worktree context
225
+ - Not scanning for existing sidecars
226
+ - Making assumptions without detection
227
+
228
+ **Master Rule:** This step ONLY detects and routes. All execution logic belongs in subsequent steps.
@@ -0,0 +1,298 @@
1
+ ---
2
+ name: 'step-01b-continue'
3
+ description: 'Resume epic execution from previous session using sidecar state'
4
+
5
+ # Path Definitions
6
+ workflow_path: '{project-root}/_bmad/bmm/workflows/4-implementation/implement-epic-with-subagents'
7
+
8
+ # File References
9
+ thisStepFile: '{workflow_path}/steps/step-01b-continue.md'
10
+ nextStepFile: '{workflow_path}/steps/step-02-orchestrate.md'
11
+ completionStepFile: '{workflow_path}/steps/step-03-complete.md'
12
+ workflowFile: '{workflow_path}/workflow.md'
13
+
14
+ # State files
15
+ sidecarFolder: '{output_folder}/epic-executions'
16
+ sprintStatus: '{implementation_artifacts}/sprint-status.yaml'
17
+ ---
18
+
19
+ # Step 1B: Epic Execution Continuation
20
+
21
+ ## STEP GOAL:
22
+
23
+ To resume epic execution from a previous session by loading the sidecar state, determining the exact resume point (which story, which phase), and seamlessly continuing autonomous execution.
24
+
25
+ ## MANDATORY EXECUTION RULES (READ FIRST):
26
+
27
+ ### Universal Rules:
28
+
29
+ - 🛑 NEVER generate content without user input
30
+ - 📖 CRITICAL: Read the complete step file before taking any action
31
+ - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
32
+ - 📋 YOU ARE A FACILITATOR, not a content generator
33
+
34
+ ### Orchestrator-Specific Rules:
35
+
36
+ - 🛑 NEVER modify completed story results
37
+ - 🔄 CRITICAL: Determine exact resume point from sidecar state
38
+ - 📋 YOU ARE AN ORCHESTRATOR resuming execution
39
+
40
+ ### Role Reinforcement:
41
+
42
+ - ✅ You are an Epic Execution Orchestrator
43
+ - ✅ You are resuming a previously started epic execution
44
+ - ✅ You maintain execution continuity without loss of progress
45
+ - ✅ You communicate resume status clearly
46
+
47
+ ### Step-Specific Rules:
48
+
49
+ - 🎯 Focus ONLY on analyzing state and resuming
50
+ - 🚫 FORBIDDEN to re-execute completed stories
51
+ - 💬 Confirm resume point with user
52
+ - 🚪 DETECT if all stories are already complete
53
+
54
+ ## EXECUTION PROTOCOLS:
55
+
56
+ - 🎯 Show current state analysis before resuming
57
+ - 💾 Update sidecar with resume timestamp
58
+ - 📖 Preserve all completed story data
59
+ - 🚫 FORBIDDEN to modify historical execution data
60
+
61
+ ## CONTEXT BOUNDARIES:
62
+
63
+ - Sidecar file contains complete execution state
64
+ - Previous stories may be completed, in-progress, or pending
65
+ - Current phase indicates where to resume within a story
66
+ - Sprint-status.yaml reflects actual story states
67
+ - Worktree context affects where execution continues
68
+
69
+ ## CONTINUATION SEQUENCE:
70
+
71
+ ### 0. Context Awareness
72
+
73
+ **Note:** This step is routed from step-01-init which already detected:
74
+ - Whether we're in a worktree or main repo
75
+ - Which sidecar file to use (passed as context)
76
+
77
+ If sidecar was NOT specified by router (edge case):
78
+
79
+ ```bash
80
+ # Detect worktree context
81
+ GIT_DIR=$(git rev-parse --git-dir 2>/dev/null)
82
+ GIT_COMMON=$(git rev-parse --git-common-dir 2>/dev/null)
83
+ CURRENT_PATH=$(pwd)
84
+
85
+ # If in worktree, find matching sidecar
86
+ if [ "$GIT_DIR" != "$GIT_COMMON" ]; then
87
+ # Search for sidecar with matching worktree_path
88
+ # Parse each epic-*-state.yaml and match worktree_config.worktree_path
89
+ fi
90
+ ```
91
+
92
+ **Worktree-specific notes:**
93
+ - Sidecar files are ALWAYS in main repo's `{sidecarFolder}`
94
+ - When in worktree, sidecar is accessed via the shared git history
95
+ - `worktree_config.worktree_path` in sidecar identifies the worktree
96
+
97
+ ### 1. Load Sidecar State
98
+
99
+ Read the sidecar file at `{sidecarFolder}/epic-{N}-state.yaml`:
100
+
101
+ Extract:
102
+ - `epic_execution_state.epic_file`: Path to epic being executed
103
+ - `epic_execution_state.epic_name`: Name of the epic
104
+ - `epic_execution_state.epic_number`: Epic number
105
+ - `epic_execution_state.current_story`: Story that was being processed (may be null)
106
+ - `epic_execution_state.current_phase`: Phase within story (create/dev/visual/review/commit)
107
+ - `epic_execution_state.stories_completed`: List of finished stories
108
+ - `epic_execution_state.stories_pending`: List of remaining stories
109
+ - `epic_execution_state.stories_skipped`: List of skipped stories
110
+ - `epic_execution_state.stories_failed`: List of failed stories
111
+ - `epic_execution_state.started_at`: Original start timestamp
112
+ - `epic_execution_state.last_updated`: Last activity timestamp
113
+ - `execution_mode.type`: "worktree" | "main"
114
+ - `worktree_config` (if worktree mode):
115
+ - `worktree_path`: Absolute path to worktree
116
+ - `branch_name`: Feature branch name
117
+ - `main_repo_path`: Path to main repository
118
+
119
+ ### 2. Validate Execution Context
120
+
121
+ **If sidecar indicates worktree mode:**
122
+
123
+ Check current working directory matches expected worktree:
124
+
125
+ ```bash
126
+ EXPECTED_PATH=$(grep 'worktree_path:' sidecar.yaml | awk '{print $2}')
127
+ CURRENT_PATH=$(pwd)
128
+
129
+ if [ "$CURRENT_PATH" != "$EXPECTED_PATH" ]; then
130
+ # Wrong directory - warn user
131
+ fi
132
+ ```
133
+
134
+ **If mismatch detected:**
135
+ ```
136
+ ⚠️ Context Mismatch
137
+
138
+ This epic execution was configured for worktree mode:
139
+ Expected: {worktree_path}
140
+ Current: {current_path}
141
+
142
+ Options:
143
+ [P] Proceed anyway (may cause issues)
144
+ [X] Exit and navigate to correct directory
145
+ ```
146
+
147
+ ### 3. Analyze Execution State
148
+
149
+ Determine resume scenario:
150
+
151
+ **Scenario A: Mid-Story Resume**
152
+ If `current_story` is set and `current_phase` is not "between_stories":
153
+ - Resume at the specific phase of that story
154
+ - Example: Story 2.3 was in "dev" phase → resume dev
155
+
156
+ **Scenario B: Between Stories**
157
+ If `current_story` is null or phase is "between_stories":
158
+ - Start next story from `stories_pending[0]`
159
+
160
+ **Scenario C: All Stories Complete**
161
+ If `stories_pending` is empty:
162
+ - Route to step-03-complete for report generation and cleanup
163
+
164
+ ### 4. Display Resume Summary
165
+
166
+ ```
167
+ **Welcome Back!**
168
+
169
+ **Epic:** {epic_name} (Epic {epic_number})
170
+ **Mode:** {execution_mode.type}
171
+ **Started:** {started_at}
172
+ **Last Activity:** {last_updated}
173
+
174
+ **Location:**
175
+ {If worktree: "Worktree: {worktree_path}"}
176
+ {If main: "Main repository"}
177
+
178
+ **Progress:**
179
+ - ✅ Completed: {X} stories
180
+ - ⏸️ Skipped: {X} stories
181
+ - ❌ Failed: {X} stories
182
+ - ⏳ Pending: {X} stories
183
+
184
+ **Resume Point:**
185
+ {Based on scenario - describe where we'll resume}
186
+
187
+ Example outputs:
188
+ - 'Resuming Story 2.3 at development phase'
189
+ - 'Starting Story 2.4 (previous story completed)'
190
+ - 'All stories complete - ready to generate report'
191
+ ```
192
+
193
+ ### 5. Validate Resume Readiness
194
+
195
+ Quick prerequisite check:
196
+ - Epic file still exists and readable
197
+ - Sprint-status.yaml accessible
198
+ - Required agents still available
199
+ - If worktree: worktree still exists and is valid
200
+
201
+ If any critical issue → report and ask user how to proceed.
202
+
203
+ ### 6. Confirm Continuation Intent
204
+
205
+ ```
206
+ **Ready to continue?**
207
+
208
+ Options:
209
+ [C] Continue from {resume point}
210
+ [R] Restart epic from beginning (will lose progress)
211
+ [S] Show detailed execution log
212
+ ```
213
+
214
+ ### 7. Handle Menu Selection
215
+
216
+ #### IF C (Continue):
217
+ 1. Update sidecar:
218
+ ```yaml
219
+ execution_log:
220
+ - event: "session_resumed"
221
+ timestamp: "{current_timestamp}"
222
+ from_phase: "{current_phase}"
223
+ last_updated: "{current_timestamp}"
224
+ ```
225
+ 2. Route based on scenario:
226
+ - Scenario A/B → load, read entire file, then execute `{nextStepFile}`
227
+ - Scenario C → load, read entire file, then execute `{completionStepFile}`
228
+
229
+ #### IF R (Restart):
230
+ 1. Confirm: "This will clear all progress. Are you sure? [Y/N]"
231
+ 2. If Y:
232
+ - If worktree mode: Also ask about worktree cleanup
233
+ - Delete sidecar file
234
+ - Route to step-01-init.md (will go to step-01c for new setup)
235
+ 3. If N: Redisplay menu
236
+
237
+ #### IF S (Show Log):
238
+ 1. Display execution_log entries with timestamps
239
+ 2. Show per-story details:
240
+ ```
241
+ Execution Log:
242
+
243
+ [timestamp] Session started
244
+ [timestamp] Story 2.1 - create phase completed
245
+ [timestamp] Story 2.1 - dev phase completed (auth-specialist)
246
+ [timestamp] Story 2.1 - review approved
247
+ [timestamp] Story 2.1 - committed
248
+ [timestamp] Session interrupted
249
+ [timestamp] Session resumed ← current
250
+ ```
251
+ 3. Redisplay menu
252
+
253
+ ### 8. Present MENU OPTIONS
254
+
255
+ Display: **Select an Option:** [C] Continue | [R] Restart | [S] Show Log
256
+
257
+ #### EXECUTION RULES:
258
+
259
+ - ALWAYS halt and wait for user selection
260
+ - Confirm restart with double-check
261
+ - Show execution context before continuing
262
+
263
+ #### Menu Handling Logic:
264
+
265
+ - IF C: Update sidecar with resume timestamp, then:
266
+ - If stories pending → load `{nextStepFile}`
267
+ - If all complete → load `{completionStepFile}`
268
+ - IF R: Confirm and handle restart
269
+ - IF S: Display log and redisplay menu
270
+ - IF Any questions: Respond and redisplay menu
271
+
272
+ ---
273
+
274
+ ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
275
+
276
+ ### ✅ SUCCESS:
277
+
278
+ - Sidecar state loaded and analyzed correctly
279
+ - Worktree context validated (if applicable)
280
+ - Resume point determined accurately
281
+ - User confirmed continuation
282
+ - Proper routing to next step
283
+ - Resume timestamp recorded
284
+
285
+ ### ❌ SYSTEM FAILURE:
286
+
287
+ - Not loading complete sidecar state
288
+ - Not validating worktree context
289
+ - Incorrect resume point determination
290
+ - Re-executing completed stories
291
+ - Not confirming with user before resuming
292
+ - Modifying historical execution data
293
+
294
+ **Master Rule:** Skipping steps, optimizing sequences, or not following exact instructions is FORBIDDEN and constitutes SYSTEM FAILURE.
295
+
296
+ ## CRITICAL STEP COMPLETION NOTE
297
+
298
+ ONLY WHEN user selects [C] and sidecar is updated with resume info, will you then load the appropriate next step file based on execution state.