|
| 1 | +--- |
| 2 | +description: 'Resume a Design Thinking coaching session — reads coaching state and re-establishes context - Brought to you by microsoft/hve-core' |
| 3 | +agent: dt-coach |
| 4 | +argument-hint: "projectName=..." |
| 5 | +--- |
| 6 | + |
| 7 | +# Resume Design Thinking Coaching |
| 8 | + |
| 9 | +## Inputs |
| 10 | + |
| 11 | +* ${input:projectName}: (Required) Name of the DT project to resume. Derives the project slug (kebab-case) for directory lookup under `.copilot-tracking/dt/`. |
| 12 | + |
| 13 | +## Required Steps |
| 14 | + |
| 15 | +### Step 1: Locate Project State |
| 16 | + |
| 17 | +1. Derive the project slug from `${input:projectName}` using kebab-case conversion. |
| 18 | +2. Look for the coaching state file at `.copilot-tracking/dt/{project-slug}/coaching-state.md`. |
| 19 | +3. If the state file is not found, list directories under `.copilot-tracking/dt/` to check for alternative matches. |
| 20 | +4. If multiple projects exist and the slug is ambiguous, list available projects with their last session dates and ask the user to select one. |
| 21 | +5. If no state file exists for any project, inform the user and suggest running the `dt-start-project` prompt to initialize a new project. |
| 22 | + |
| 23 | +### Step 2: Read and Summarize State |
| 24 | + |
| 25 | +1. Read the coaching state file and verify it parses as valid YAML with required fields: `project`, `current`, `methods_completed`, `transition_log`. |
| 26 | +2. Extract the current method, space, and phase from the `current` block. |
| 27 | +3. Read `methods_completed` to determine overall progress through the 9 methods. |
| 28 | +4. Review the most recent `transition_log` entry for the last method change and its rationale. |
| 29 | +5. Review the most recent `session_log` entry for a summary of previous session work. |
| 30 | +6. Scan the `artifacts` list for available project artifacts to reference. |
| 31 | +7. If the state file is corrupted or missing required fields, inform the user which fields are unreadable, and offer to reconstruct state from existing artifacts in the project directory or reinitialize from scratch. |
| 32 | + |
| 33 | +### Step 3: Context Recovery |
| 34 | + |
| 35 | +1. Present a human-readable context summary to the user: "Last session you were working on Method [N] ([name]), in the [phase] phase. Here's where you left off: [session log summary]." |
| 36 | +2. Include overall progress: which methods are complete and which remain. |
| 37 | +3. Reference the most recent transition rationale if it provides useful context. |
| 38 | +4. List key artifacts from the project directory that relate to the current method. |
| 39 | +5. Review recent session log entries to gauge the coaching intensity level and adjust hint escalation accordingly, starting at the level consistent with prior sessions rather than resetting to Level 1. |
| 40 | +6. Ask the user to confirm the summary is accurate before proceeding. |
| 41 | + |
| 42 | +### Step 4: Resume Coaching |
| 43 | + |
| 44 | +1. After the user confirms the context summary, transition into active coaching at the current method and phase. |
| 45 | +2. Read the relevant method instruction file for the current method to refresh method-specific knowledge. |
| 46 | +3. Continue the conversation naturally as though picking up where the previous session ended, not mechanically reciting method steps. |
| 47 | +4. Proceed with Phase 2 (Active Coaching) of the dt-coach protocol from the restored state. |
| 48 | + |
| 49 | +--- |
| 50 | + |
| 51 | +Resume the Design Thinking coaching session for project "${input:projectName}" by following the Required Steps. |
0 commit comments