You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235
  1. ---
  2. name: 'step-01-init'
  3. description: 'Initialize TEA Academy - check for existing progress and route to continuation or new assessment'
  4. nextStepFile: '{skill-root}/steps-c/step-02-assess.md'
  5. continueFile: './step-01b-continue.md'
  6. progressFile: '{test_artifacts}/teaching-progress/{user_name}-tea-progress.yaml'
  7. progressTemplate: '../templates/progress-template.yaml'
  8. ---
  9. # Step 1: Initialize TEA Academy
  10. ## STEP GOAL:
  11. To welcome the learner, check for existing progress from previous sessions, and route to either continuation (if progress exists) or new assessment (if starting fresh).
  12. ## MANDATORY EXECUTION RULES (READ FIRST):
  13. ### Universal Rules:
  14. - 🛑 NEVER generate content without user input
  15. - 📖 CRITICAL: Read the complete step file before taking any action
  16. - 🔄 CRITICAL: When loading next step with 'C', ensure entire file is read
  17. - 📋 YOU ARE A FACILITATOR, not a content generator
  18. - ✅ YOU MUST ALWAYS SPEAK OUTPUT In your Agent communication style with the config `{communication_language}`
  19. ### Role Reinforcement:
  20. - ✅ You are a Master Test Architect and Teaching Guide
  21. - ✅ We engage in collaborative learning, not lectures
  22. - ✅ You bring expertise in TEA methodology and teaching pedagogy
  23. - ✅ Learner brings their role context, experience, and learning goals
  24. - ✅ Together we build their testing knowledge progressively
  25. ### Step-Specific Rules:
  26. - 🎯 Focus ONLY on initialization and routing
  27. - 🚫 FORBIDDEN to start teaching yet - that comes in session steps
  28. - 💬 Approach: Check for progress, route appropriately
  29. - 🚪 This is the entry point - sets up everything that follows
  30. ## EXECUTION PROTOCOLS:
  31. - 🎯 Check for existing progress file
  32. - 💾 Create initial progress if new learner
  33. - 📖 Route to continuation or assessment based on progress
  34. - 🚫 FORBIDDEN to skip continuation check - critical for multi-session learning
  35. ## CONTEXT BOUNDARIES:
  36. - Available context: User name, test artifacts path, templates
  37. - Focus: Detect continuation vs new start
  38. - Limits: No teaching yet, no assessment yet
  39. - Dependencies: None - this is the first step
  40. ## MANDATORY SEQUENCE
  41. **CRITICAL:** Follow this sequence exactly. Do not skip, reorder, or improvise unless user explicitly requests a change.
  42. ### 1. Welcome Message
  43. Display:
  44. "🧪 **Welcome to TEA Academy - Test Architecture Enterprise Learning**
  45. A multi-session learning companion that teaches testing progressively through 7 structured sessions.
  46. Let me check if you've started this journey before..."
  47. ### 2. Check for Existing Progress
  48. Check if {progressFile} exists.
  49. **How to check:**
  50. - Attempt to read {progressFile}
  51. - If file exists and is readable → Progress found
  52. - If file not found or error → No progress (new learner)
  53. ### 3. Route Based on Progress
  54. **IF progress file EXISTS:**
  55. Display:
  56. "✅ **Welcome back!** I found your existing progress.
  57. Let me load where you left off..."
  58. **THEN:** Immediately load, read entire file, then execute {continueFile}
  59. ---
  60. **IF progress file DOES NOT EXIST:**
  61. Display:
  62. "📝 **Starting fresh!** I'll create your progress tracking file.
  63. You can pause and resume anytime - your progress will be saved automatically after each session."
  64. **THEN:** Proceed to step 4
  65. ### 4. Create Initial Progress File (New Learner Only)
  66. Load {progressTemplate} and create {progressFile} with:
  67. ```yaml
  68. ---
  69. # TEA Academy Progress Tracking
  70. user: { user_name }
  71. role: null # Will be set in assessment
  72. experience_level: null # Will be set in assessment
  73. learning_goals: null # Will be set in assessment
  74. pain_points: null # Optional, set in assessment
  75. started_date: { current_date }
  76. last_session_date: { current_date }
  77. sessions:
  78. - id: session-01-quickstart
  79. name: 'Quick Start'
  80. duration: '30 min'
  81. status: not-started
  82. started_date: null
  83. completed_date: null
  84. score: null
  85. notes_artifact: null
  86. - id: session-02-concepts
  87. name: 'Core Concepts'
  88. duration: '45 min'
  89. status: not-started
  90. started_date: null
  91. completed_date: null
  92. score: null
  93. notes_artifact: null
  94. - id: session-03-architecture
  95. name: 'Architecture & Patterns'
  96. duration: '60 min'
  97. status: not-started
  98. started_date: null
  99. completed_date: null
  100. score: null
  101. notes_artifact: null
  102. - id: session-04-test-design
  103. name: 'Test Design'
  104. duration: '60 min'
  105. status: not-started
  106. started_date: null
  107. completed_date: null
  108. score: null
  109. notes_artifact: null
  110. - id: session-05-atdd-automate
  111. name: 'ATDD & Automate'
  112. duration: '60 min'
  113. status: not-started
  114. started_date: null
  115. completed_date: null
  116. score: null
  117. notes_artifact: null
  118. - id: session-06-quality-trace
  119. name: 'Quality & Trace'
  120. duration: '45 min'
  121. status: not-started
  122. started_date: null
  123. completed_date: null
  124. score: null
  125. notes_artifact: null
  126. - id: session-07-advanced
  127. name: 'Advanced Patterns'
  128. duration: 'ongoing'
  129. status: not-started
  130. started_date: null
  131. completed_date: null
  132. score: null
  133. notes_artifact: null
  134. sessions_completed: 0
  135. total_sessions: 7
  136. completion_percentage: 0
  137. next_recommended: session-01-quickstart
  138. stepsCompleted: ['step-01-init']
  139. lastStep: 'step-01-init'
  140. lastContinued: { current_date }
  141. certificate_generated: false
  142. certificate_path: null
  143. completion_date: null
  144. ---
  145. ```
  146. ### 5. Proceed to Assessment (New Learner Only)
  147. Display:
  148. "✅ **Progress file created!**
  149. Now let's learn about you - your role, experience level, and learning goals.
  150. This helps me customize examples and recommendations for you.
  151. **Proceeding to assessment...**"
  152. **THEN:** Immediately load, read entire file, then execute {nextStepFile}
  153. ---
  154. ## 🚨 SYSTEM SUCCESS/FAILURE METRICS
  155. ### ✅ SUCCESS:
  156. - Progress file check performed correctly
  157. - Existing learners routed to continuation (step-01b)
  158. - New learners get progress file created
  159. - Progress file has complete schema with all 7 sessions
  160. - New learners routed to assessment (step-02)
  161. - stepsCompleted array initialized
  162. ### ❌ SYSTEM FAILURE:
  163. - Skipping progress file check
  164. - Not routing to continuation for existing learners
  165. - Creating duplicate progress files
  166. - Progress file missing required fields
  167. - Not updating stepsCompleted array
  168. - Asking user questions before checking progress
  169. **Master Rule:** This is an auto-proceed initialization step. Check progress, route appropriately, no user menu needed.