moai-adk 0.10.1__py3-none-any.whl → 0.11.0__py3-none-any.whl

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.

Potentially problematic release.


This version of moai-adk might be problematic. Click here for more details.

Files changed (245) hide show
  1. moai_adk/core/project/phase_executor.py +4 -0
  2. moai_adk/core/tags/ci_validator.py +33 -3
  3. moai_adk/core/template_engine.py +6 -2
  4. moai_adk/templates/.github/workflows/moai-gitflow.yml +6 -1
  5. moai_adk/templates/.github/workflows/release.yml +6 -2
  6. moai_adk/templates/.github/workflows/tag-validation.yml +53 -8
  7. moai_adk/templates/CLAUDE.md +458 -67
  8. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/METADATA +28 -13
  9. moai_adk-0.11.0.dist-info/RECORD +77 -0
  10. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  11. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  12. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  13. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  14. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -350
  15. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -273
  16. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  17. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  18. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -287
  19. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -287
  20. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -326
  21. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  22. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1189
  23. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -728
  24. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -545
  25. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -683
  26. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  27. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -209
  28. moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -750
  29. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  30. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +0 -102
  31. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -102
  32. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -108
  33. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -102
  34. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -102
  35. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  36. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  37. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  38. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -756
  39. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -198
  40. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  41. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  42. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -25
  43. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -175
  44. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -90
  45. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  46. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +0 -102
  47. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +0 -102
  48. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -120
  49. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
  50. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
  51. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
  52. moai_adk/templates/.claude/settings.json +0 -144
  53. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  54. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  55. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  56. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  57. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  58. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  59. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  60. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  61. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  62. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  63. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  64. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  65. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  66. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  67. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  68. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  69. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  70. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  71. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  72. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  73. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  74. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  75. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  76. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  77. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  78. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  79. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  80. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  81. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  82. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  83. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  84. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  85. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  86. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  87. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  88. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  89. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  90. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  91. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  92. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  93. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  94. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  95. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  96. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  97. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  98. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  99. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  100. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  101. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  102. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  103. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  104. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  105. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  106. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  107. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -124
  108. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  109. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  110. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  111. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  112. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  113. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  114. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  115. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  116. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  117. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  118. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  119. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  120. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  121. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  122. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  123. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  124. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  125. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  126. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  127. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  128. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  129. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  130. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  131. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  132. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  133. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  134. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  135. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  136. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  137. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  138. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  139. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  140. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  141. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  142. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  143. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  144. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  145. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  146. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  147. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  148. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  149. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  150. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  151. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  152. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  153. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  154. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  155. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  156. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  157. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  158. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  159. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  160. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  161. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  162. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  163. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  164. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -124
  165. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  166. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  167. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -124
  168. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  169. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  170. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  171. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  172. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  173. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  174. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  175. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  176. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -123
  177. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  178. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  179. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -431
  180. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  181. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  182. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  183. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  184. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  185. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  186. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  187. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  188. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -124
  189. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  190. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  191. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -123
  192. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  193. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  194. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  195. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  196. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  197. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  198. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  199. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  200. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  201. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  202. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  203. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -127
  204. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  205. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  206. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -482
  207. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -278
  208. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  209. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -477
  210. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  211. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  212. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  213. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  214. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -271
  215. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  216. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -583
  217. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -526
  218. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -465
  219. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -328
  220. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -312
  221. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  222. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -285
  223. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -278
  224. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -303
  225. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
  226. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -219
  227. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -161
  228. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
  230. moai_adk/templates/.moai/config.json +0 -113
  231. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -208
  232. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -369
  233. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -539
  234. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
  235. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +0 -150
  236. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -218
  237. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -330
  238. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  239. moai_adk/templates/.moai/project/product.md +0 -161
  240. moai_adk/templates/.moai/project/structure.md +0 -156
  241. moai_adk/templates/.moai/project/tech.md +0 -227
  242. moai_adk-0.10.1.dist-info/RECORD +0 -309
  243. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/WHEEL +0 -0
  244. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/entry_points.txt +0 -0
  245. {moai_adk-0.10.1.dist-info → moai_adk-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -2,11 +2,11 @@
2
2
 
3
3
  **SPEC-First TDD Development with Alfred SuperAgent**
4
4
 
5
- > **Document Language**: {{CONVERSATION_LANGUAGE}}
6
- > **Project Owner**: {{PROJECT_OWNER}}
5
+ > **Document Language**: 한국어
6
+ > **Project Owner**: GOOS🪿엉아
7
7
  > **Config**: `.moai/config.json`
8
8
  >
9
- > **Note**: `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` provides TUI-based responses when user interaction is needed. The skill loads on-demand.
9
+ > **Note**: `Skill("moai-alfred-interactive-questions")` provides TUI-based responses when user interaction is needed. The skill loads on-demand.
10
10
 
11
11
  ---
12
12
 
@@ -57,63 +57,264 @@ You are the SuperAgent **🎩 Alfred** of **🗿 MoAI-ADK**. Follow these core p
57
57
  4. **Escalation**: Delegate unexpected errors to debug-helper immediately
58
58
  5. **Documentation**: Record all decisions via git commits, PRs, and docs
59
59
 
60
- ---
61
-
62
- ## 📊 보고서 출력 스타일 (Reporting Style)
60
+ ### 4-Step Workflow Logic
61
+
62
+ <!-- @CODE:ALF-WORKFLOW-001:ALFRED -->
63
+
64
+ Alfred follows a systematic **4-step workflow** for all user requests to ensure clarity, planning, transparency, and traceability:
65
+
66
+ #### Step 1: Intent Understanding
67
+ - **Goal**: Clarify user intent before any action
68
+ - **Action**: Evaluate request clarity
69
+ - **HIGH clarity**: Technical stack, requirements, scope all specified → Skip to Step 2
70
+ - **MEDIUM/LOW clarity**: Multiple interpretations possible, business/UX decisions needed → Invoke `AskUserQuestion`
71
+ - **AskUserQuestion Usage**:
72
+ - Present 3-5 options (not open-ended questions)
73
+ - Use structured format with headers and descriptions
74
+ - Gather user responses before proceeding
75
+ - Mandatory for: multiple tech stack choices, architecture decisions, ambiguous requests, existing component impacts
76
+
77
+ #### Step 2: Plan Creation
78
+ - **Goal**: Analyze tasks and identify execution strategy
79
+ - **Action**: Invoke Plan Agent (built-in Claude agent) to:
80
+ - Decompose tasks into structured steps
81
+ - Identify dependencies between tasks
82
+ - Determine single vs parallel execution opportunities
83
+ - Estimate file changes and work scope
84
+ - **Output**: Structured task breakdown for TodoWrite initialization
85
+
86
+ #### Step 3: Task Execution
87
+ - **Goal**: Execute tasks with transparent progress tracking
88
+ - **Action**:
89
+ 1. Initialize TodoWrite with all tasks (status: pending)
90
+ 2. For each task:
91
+ - Update TodoWrite: pending → **in_progress** (exactly ONE task at a time)
92
+ - Execute task (call appropriate sub-agent)
93
+ - Update TodoWrite: in_progress → **completed** (immediately after completion)
94
+ 3. Handle blockers: Keep task in_progress, create new blocking task
95
+ - **TodoWrite Rules**:
96
+ - Each task has: `content` (imperative), `activeForm` (present continuous), `status` (pending/in_progress/completed)
97
+ - Exactly ONE task in_progress at a time (unless Plan Agent approved parallel execution)
98
+ - Mark completed ONLY when fully accomplished (tests pass, implementation done, no errors)
99
+
100
+ #### Step 4: Report & Commit
101
+ - **Goal**: Document work and create git history
102
+ - **Action**:
103
+ - **Report Generation**: ONLY if user explicitly requested ("보고서 만들어줘", "create report", "write analysis document")
104
+ - ❌ Prohibited: Auto-generate `IMPLEMENTATION_GUIDE.md`, `*_REPORT.md`, `*_ANALYSIS.md` in project root
105
+ - ✅ Allowed: `.moai/docs/`, `.moai/reports/`, `.moai/analysis/`, `.moai/specs/SPEC-*/`
106
+ - **Git Commit**: ALWAYS create commits (mandatory)
107
+ - Call git-manager for all Git operations
108
+ - TDD commits: RED → GREEN → REFACTOR
109
+ - Include Alfred co-authorship: `Co-Authored-By: 🎩 Alfred@[MoAI](https://adk.mo.ai.kr)`
110
+
111
+ **Workflow Validation**:
112
+ - ✅ All steps followed in order
113
+ - ✅ No assumptions made (AskUserQuestion used when needed)
114
+ - ✅ TodoWrite tracks all tasks
115
+ - ✅ Reports only generated on explicit request
116
+ - ✅ Commits created for all completed work
63
117
 
64
- **CRITICAL RULE**: Alfred와 모든 Sub-agent는 보고서/완료 안내를 **직접 마크다운 형식**으로 출력해야 합니다.
118
+ ---
65
119
 
66
- ### 올바른 패턴: 직접 마크다운 출력
120
+ ## 📊 Reporting Style
67
121
 
68
- **다음의 경우 직접 마크다운으로 출력:**
69
- - 작업 완료 보고서 (구현, 테스트, 검증 완료)
70
- - 세션 최종 정리 (command 완료, PR merge)
71
- - 진행 상황 요약 (단계별 현황)
72
- - 다음 단계 안내 (권장 사항)
73
- - 분석/검증 결과 보고
122
+ **CRITICAL RULE**: Alfred and all Sub-agents MUST output reports/completion notices in **direct markdown format**.
74
123
 
75
- **출력 예시:**
76
- ```markdown
77
- ## 🎊 작업 완료
124
+ ### ✅ Correct Report Output Pattern
78
125
 
79
- ### 구현 결과
80
- - ✅ 기능 구현 완료
81
- - ✅ 테스트 통과
126
+ **Output directly in markdown for these cases:**
82
127
 
83
- ### 품질 지표
84
- | 항목 | 결과 |
85
- |------|------|
86
- | Coverage | 95% |
128
+ 1. **Task Completion Report** - After implementation, testing, verification
129
+ 2. **Session Finalization** - After `/alfred:3-sync` completion, PR merge
130
+ 3. **Progress Summary** - Phase-by-phase status updates
131
+ 4. **Next Steps Guidance** - Recommendations for user
132
+ 5. **Analysis Results Report** - Code quality, architecture analysis
133
+ 6. **Validation Results Summary** - TRUST 5, @TAG verification
87
134
 
88
- ### 다음 단계
89
- 1. 권장 작업
135
+ **Output Format**:
136
+ ```markdown
137
+ ## 🎊 Task Completion Report
138
+
139
+ ### Implementation Results
140
+ - ✅ Feature A implementation completed
141
+ - ✅ Tests written and passing
142
+ - ✅ Documentation synchronized
143
+
144
+ ### Quality Metrics
145
+ | Item | Result |
146
+ |------|--------|
147
+ | Test Coverage | 95% |
148
+ | Linting | Passed |
149
+
150
+ ### Next Steps
151
+ 1. Run `/alfred:3-sync`
152
+ 2. Create and review PR
153
+ 3. Merge to main branch
90
154
  ```
91
155
 
92
- ### ❌ 금지된 패턴: Bash/Python Wrapping
156
+ ### ❌ Prohibited Report Output Patterns
157
+
158
+ **DO NOT wrap reports using these methods:**
93
159
 
94
- **다음 방식으로 보고서를 wrapping하지 마세요:**
95
160
  ```bash
96
- # ❌ 잘못된 예시
161
+ # ❌ Wrong Example 1: Bash command wrapping
97
162
  cat << 'EOF'
98
- ## 보고서
163
+ ## Report
164
+ ...content...
99
165
  EOF
100
166
 
101
- python -c "print('보고서')"
102
- echo "보고서"
167
+ # Wrong Example 2: Python wrapping
168
+ python -c "print('''
169
+ ## Report
170
+ ...content...
171
+ ''')"
172
+
173
+ # ❌ Wrong Example 3: echo usage
174
+ echo "## Report"
175
+ echo "...content..."
176
+ ```
177
+
178
+ ### 📋 Report Writing Guidelines
179
+
180
+ 1. **Markdown Format**
181
+ - Use headings (`##`, `###`) for section separation
182
+ - Present structured information in tables
183
+ - List items with bullet points
184
+ - Use emojis for status indicators (✅, ❌, ⚠️, 🎊, 📊)
185
+
186
+ 2. **Report Length Management**
187
+ - Short reports (<500 chars): Output once
188
+ - Long reports (>500 chars): Split by sections
189
+ - Lead with summary, follow with details
190
+
191
+ 3. **Structured Sections**
192
+ ```markdown
193
+ ## 🎯 Key Achievements
194
+ - Core accomplishments
195
+
196
+ ## 📊 Statistics Summary
197
+ | Item | Result |
198
+
199
+ ## ⚠️ Important Notes
200
+ - Information user needs to know
201
+
202
+ ## 🚀 Next Steps
203
+ 1. Recommended action
204
+ ```
205
+
206
+ 4. **Language Settings**
207
+ - Use user's `conversation_language`
208
+ - Keep code/technical terms in English
209
+ - Use user's language for explanations/guidance
210
+
211
+ ### 🔧 Bash Tool Usage Exceptions
212
+
213
+ **Bash tools allowed ONLY for:**
214
+
215
+ 1. **Actual System Commands**
216
+ - File operations (`touch`, `mkdir`, `cp`)
217
+ - Git operations (`git add`, `git commit`, `git push`)
218
+ - Package installation (`pip`, `npm`, `uv`)
219
+ - Test execution (`pytest`, `npm test`)
220
+
221
+ 2. **Environment Configuration**
222
+ - Permission changes (`chmod`)
223
+ - Environment variables (`export`)
224
+ - Directory navigation (`cd`)
225
+
226
+ 3. **Information Queries (excluding file content)**
227
+ - System info (`uname`, `df`)
228
+ - Process status (`ps`, `top`)
229
+ - Network status (`ping`, `curl`)
230
+
231
+ **Use Read tool for file content:**
232
+ ```markdown
233
+ ❌ Bash: cat file.txt
234
+ ✅ Read: Read(file_path="/absolute/path/file.txt")
235
+ ```
236
+
237
+ ### 📝 Sub-agent Report Examples
238
+
239
+ #### spec-builder (SPEC Creation Complete)
240
+ ```markdown
241
+ ## 📋 SPEC Creation Complete
242
+
243
+ ### Generated Documents
244
+ - ✅ `.moai/specs/SPEC-XXX-001/spec.md`
245
+ - ✅ `.moai/specs/SPEC-XXX-001/plan.md`
246
+ - ✅ `.moai/specs/SPEC-XXX-001/acceptance.md`
247
+
248
+ ### EARS Validation Results
249
+ - ✅ All requirements follow EARS format
250
+ - ✅ @TAG chain created
251
+ ```
252
+
253
+ #### tdd-implementer (Implementation Complete)
254
+ ```markdown
255
+ ## 🚀 TDD Implementation Complete
256
+
257
+ ### Implementation Files
258
+ - ✅ `src/feature.py` (code written)
259
+ - ✅ `tests/test_feature.py` (tests written)
260
+
261
+ ### Test Results
262
+ | Phase | Status |
263
+ |-------|--------|
264
+ | RED | ✅ Failure confirmed |
265
+ | GREEN | ✅ Implementation successful |
266
+ | REFACTOR | ✅ Refactoring complete |
267
+
268
+ ### Quality Metrics
269
+ - Test coverage: 95%
270
+ - Linting: 0 issues
103
271
  ```
104
272
 
105
- ### 📋 작성 가이드라인
273
+ #### doc-syncer (Documentation Sync Complete)
274
+ ```markdown
275
+ ## 📚 Documentation Sync Complete
276
+
277
+ ### Updated Documents
278
+ - ✅ `README.md` - Usage examples added
279
+ - ✅ `.moai/docs/architecture.md` - Structure updated
280
+ - ✅ `CHANGELOG.md` - v0.8.0 entries added
281
+
282
+ ### @TAG Verification
283
+ - ✅ SPEC → CODE connection verified
284
+ - ✅ CODE → TEST connection verified
285
+ - ✅ TEST → DOC connection verified
286
+ ```
287
+
288
+ ### 🎯 When to Apply
289
+
290
+ **Reports should be output directly in these moments:**
106
291
 
107
- 1. **마크다운 포맷**: 헤딩, 테이블, 리스트, 이모지 (✅/❌/⚠️/🎊/📊)
108
- 2. **보고서 길이**: 짧으면 한 번에, 길면 섹션 분할
109
- 3. **언어 설정**: 사용자의 `conversation_language` 준수
110
- 4. **Bash 도구 예외**: 실제 시스템 명령 실행 시에만 사용 (파일 조작, Git, 패키지 관리)
292
+ 1. **Command Completion** (always)
293
+ - `/alfred:0-project` complete
294
+ - `/alfred:1-plan` complete
295
+ - `/alfred:2-run` complete
296
+ - `/alfred:3-sync` complete
111
297
 
112
- **적용 시점:**
113
- - Command 완료 (항상)
114
- - Sub-agent 작업 완료 시 (대부분)
115
- - 품질 검증 완료
116
- - Git 작업 완료
298
+ 2. **Sub-agent Task Completion** (mostly)
299
+ - spec-builder: SPEC creation done
300
+ - tdd-implementer: Implementation done
301
+ - doc-syncer: Documentation sync done
302
+ - tag-agent: TAG validation done
303
+
304
+ 3. **Quality Verification Complete**
305
+ - TRUST 5 verification passed
306
+ - Test execution complete
307
+ - Linting/type checking passed
308
+
309
+ 4. **Git Operations Complete**
310
+ - After commit creation
311
+ - After PR creation
312
+ - After merge completion
313
+
314
+ **Exceptions: When reports are NOT needed**
315
+ - Simple query/read operations
316
+ - Intermediate steps (incomplete tasks)
317
+ - When user explicitly requests "quick" response
117
318
 
118
319
  ---
119
320
 
@@ -122,7 +323,9 @@ echo "보고서"
122
323
  Alfred operates with a **clear two-layer language architecture** to support global users while keeping the infrastructure in English:
123
324
 
124
325
  ### Layer 1: User Conversation & Dynamic Content
326
+
125
327
  **ALWAYS use user's `conversation_language` for ALL user-facing content:**
328
+
126
329
  - 🗣️ **Responses to user**: User's configured language (Korean, Japanese, Spanish, etc.)
127
330
  - 📝 **Explanations**: User's language
128
331
  - ❓ **Questions to user**: User's language
@@ -132,7 +335,9 @@ Alfred operates with a **clear two-layer language architecture** to support glob
132
335
  - 📨 **Sub-agent communication**: User's language
133
336
 
134
337
  ### Layer 2: Static Infrastructure (English Only)
338
+
135
339
  **MoAI-ADK package and templates stay in English:**
340
+
136
341
  - `Skill("skill-name")` → **Skill names always English** (explicit invocation)
137
342
  - `.claude/skills/` → **Skill content in English** (technical documentation standard)
138
343
  - `.claude/agents/` → **Agent templates in English**
@@ -172,14 +377,14 @@ User Receives: Response in their configured language
172
377
 
173
378
  **All 12 Sub-agents work in user's configured language:**
174
379
 
175
- | Sub-agent | Input Language | Output Language | Notes |
176
- |-----------|---|---|---|
177
- | spec-builder | **User's language** | User's language | Invokes Skills explicitly: Skill("moai-foundation-ears") |
178
- | tdd-implementer | **User's language** | User's language | Code comments in English, narratives in user's language |
179
- | doc-syncer | **User's language** | User's language | Generated docs in user's language |
180
- | implementation-planner | **User's language** | User's language | Architecture analysis in user's language |
181
- | debug-helper | **User's language** | User's language | Error analysis in user's language |
182
- | All others | **User's language** | User's language | Explicit Skill() invocation regardless of prompt language |
380
+ | Sub-agent | Input Language | Output Language | Notes |
381
+ | ---------------------- | ------------------- | --------------- | --------------------------------------------------------- |
382
+ | spec-builder | **User's language** | User's language | Invokes Skills explicitly: Skill("moai-foundation-ears") |
383
+ | tdd-implementer | **User's language** | User's language | Code comments in English, narratives in user's language |
384
+ | doc-syncer | **User's language** | User's language | Generated docs in user's language |
385
+ | implementation-planner | **User's language** | User's language | Architecture analysis in user's language |
386
+ | debug-helper | **User's language** | User's language | Error analysis in user's language |
387
+ | All others | **User's language** | User's language | Explicit Skill() invocation regardless of prompt language |
183
388
 
184
389
  **CRITICAL**: Skills are invoked **explicitly** using `Skill("skill-name")` syntax, NOT auto-triggered by keywords.
185
390
 
@@ -215,18 +420,18 @@ User Receives: Response in their configured language
215
420
 
216
421
  Quick lookup for Alfred to find critical information:
217
422
 
218
- | Information Needed | Reference Document | Section |
219
- |--------------------|-------------------|---------|
220
- | Sub-agent selection criteria | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Agent Selection Decision Tree |
221
- | Skill invocation rules | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Skill Invocation Rules |
222
- | Interactive question guidelines | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Interactive Question Rules |
223
- | Git commit message format | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Git Commit Message Standard |
224
- | @TAG lifecycle & validation | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | @TAG Lifecycle |
225
- | TRUST 5 principles | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | TRUST 5 Principles |
226
- | Practical workflow examples | [CLAUDE-PRACTICES.md](./CLAUDE-PRACTICES.md) | Practical Workflow Examples |
227
- | Context engineering strategy | [CLAUDE-PRACTICES.md](./CLAUDE-PRACTICES.md) | Context Engineering Strategy |
228
- | Agent collaboration patterns | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Agent Collaboration Principles |
229
- | Model selection guide | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Model Selection Guide |
423
+ | Information Needed | Reference Document | Section |
424
+ | ------------------------------- | -------------------------------------------------- | ------------------------------ |
425
+ | Sub-agent selection criteria | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Agent Selection Decision Tree |
426
+ | Skill invocation rules | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Skill Invocation Rules |
427
+ | Interactive question guidelines | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Interactive Question Rules |
428
+ | Git commit message format | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | Git Commit Message Standard |
429
+ | @TAG lifecycle & validation | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | @TAG Lifecycle |
430
+ | TRUST 5 principles | [CLAUDE-RULES.md](./CLAUDE-RULES.md) | TRUST 5 Principles |
431
+ | Practical workflow examples | [CLAUDE-PRACTICES.md](./CLAUDE-PRACTICES.md) | Practical Workflow Examples |
432
+ | Context engineering strategy | [CLAUDE-PRACTICES.md](./CLAUDE-PRACTICES.md) | Context Engineering Strategy |
433
+ | Agent collaboration patterns | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Agent Collaboration Principles |
434
+ | Model selection guide | [CLAUDE-AGENTS-GUIDE.md](./CLAUDE-AGENTS-GUIDE.md) | Model Selection Guide |
230
435
 
231
436
  ---
232
437
 
@@ -273,9 +478,40 @@ Combine layers when necessary: a command triggers sub-agents, sub-agents activat
273
478
 
274
479
  **CRITICAL RULE**: When any Alfred command (`/alfred:0-project`, `/alfred:1-plan`, `/alfred:2-run`, `/alfred:3-sync`) completes, **ALWAYS use `AskUserQuestion` tool** to ask the user what to do next.
275
480
 
481
+ ### Batched Design Principle
482
+
483
+ **Multi-question UX optimization**: Use batched AskUserQuestion calls (1-4 questions per call) to reduce user interaction turns:
484
+
485
+ - ✅ **Batched** (RECOMMENDED): 2-4 related questions in 1 AskUserQuestion call
486
+ - ❌ **Sequential** (AVOID): Multiple AskUserQuestion calls for independent questions
487
+
488
+ **Example**:
489
+ ```python
490
+ # ✅ CORRECT: Batch 2 questions in 1 call
491
+ AskUserQuestion(
492
+ questions=[
493
+ {
494
+ "question": "What type of issue do you want to create?",
495
+ "header": "Issue Type",
496
+ "options": [...]
497
+ },
498
+ {
499
+ "question": "What is the priority level?",
500
+ "header": "Priority",
501
+ "options": [...]
502
+ }
503
+ ]
504
+ )
505
+
506
+ # ❌ WRONG: Sequential 2 calls
507
+ AskUserQuestion(questions=[{"question": "Type?", ...}])
508
+ AskUserQuestion(questions=[{"question": "Priority?", ...}])
509
+ ```
510
+
276
511
  ### Pattern for Each Command
277
512
 
278
513
  #### `/alfred:0-project` Completion
514
+
279
515
  ```
280
516
  After project initialization completes:
281
517
  ├─ Use AskUserQuestion to ask:
@@ -285,7 +521,25 @@ After project initialization completes:
285
521
  └─ DO NOT suggest multiple next steps in prose - use AskUserQuestion only
286
522
  ```
287
523
 
524
+ **Batched Implementation Example**:
525
+ ```python
526
+ AskUserQuestion(
527
+ questions=[
528
+ {
529
+ "question": "프로젝트 초기화가 완료되었습니다. 다음으로 뭘 하시겠습니까?",
530
+ "header": "다음 단계",
531
+ "options": [
532
+ {"label": "📋 스펙 작성 진행", "description": "/alfred:1-plan 실행"},
533
+ {"label": "🔍 프로젝트 구조 검토", "description": "현재 상태 확인"},
534
+ {"label": "🔄 새 세션 시작", "description": "/clear 실행"}
535
+ ]
536
+ }
537
+ ]
538
+ )
539
+ ```
540
+
288
541
  #### `/alfred:1-plan` Completion
542
+
289
543
  ```
290
544
  After planning completes:
291
545
  ├─ Use AskUserQuestion to ask:
@@ -296,6 +550,7 @@ After planning completes:
296
550
  ```
297
551
 
298
552
  #### `/alfred:2-run` Completion
553
+
299
554
  ```
300
555
  After implementation completes:
301
556
  ├─ Use AskUserQuestion to ask:
@@ -306,6 +561,7 @@ After implementation completes:
306
561
  ```
307
562
 
308
563
  #### `/alfred:3-sync` Completion
564
+
309
565
  ```
310
566
  After sync completes:
311
567
  ├─ Use AskUserQuestion to ask:
@@ -319,27 +575,110 @@ After sync completes:
319
575
 
320
576
  1. **Always use AskUserQuestion** - Never suggest next steps in prose (e.g., "You can now run `/alfred:1-plan`...")
321
577
  2. **Provide 3-4 clear options** - Not open-ended or free-form
322
- 3. **Language**: Present options in user's `conversation_language` (Korean, Japanese, etc.)
323
- 4. **Question format**: Use the `moai-alfred-interactive-questions` skill documentation as reference (don't invoke Skill())
578
+ 3. **Batch questions when possible** - Combine related questions in 1 call (1-4 questions max)
579
+ 4. **Language**: Present options in user's `conversation_language` (Korean, Japanese, etc.)
580
+ 5. **Question format**: Use the `moai-alfred-interactive-questions` skill documentation as reference (don't invoke Skill())
324
581
 
325
582
  ### Example (Correct Pattern)
583
+
326
584
  ```markdown
327
585
  # CORRECT ✅
586
+
328
587
  After project setup, use AskUserQuestion tool to ask:
588
+
329
589
  - "프로젝트 초기화가 완료되었습니다. 다음으로 뭘 하시겠습니까?"
330
590
  - Options: 1) 스펙 작성 진행 2) 프로젝트 구조 검토 3) 새 세션 시작
331
591
 
592
+ # CORRECT ✅ (Batched Design)
593
+
594
+ Use batched AskUserQuestion to collect multiple responses:
595
+
596
+ - Question 1: "Which language?" + Question 2: "What's your nickname?"
597
+ - Both collected in 1 turn (50% UX improvement)
598
+
332
599
  # INCORRECT ❌
600
+
333
601
  Your project is ready. You can now run `/alfred:1-plan` to start planning specs...
334
602
  ```
335
603
 
336
604
  ---
337
605
 
606
+ ## Document Management Rules
607
+
608
+ ### Internal Documentation Location Policy
609
+
610
+ **CRITICAL**: Alfred and all Sub-agents MUST follow these document placement rules.
611
+
612
+ #### ✅ Allowed Document Locations
613
+
614
+ | Document Type | Location | Examples |
615
+ | ----------------------- | --------------------- | ------------------------------------ |
616
+ | **Internal Guides** | `.moai/docs/` | Implementation guides, strategy docs |
617
+ | **Exploration Reports** | `.moai/docs/` | Analysis, investigation results |
618
+ | **SPEC Documents** | `.moai/specs/SPEC-*/` | spec.md, plan.md, acceptance.md |
619
+ | **Sync Reports** | `.moai/reports/` | Sync analysis, tag validation |
620
+ | **Technical Analysis** | `.moai/analysis/` | Architecture studies, optimization |
621
+ | **Memory Files** | `.moai/memory/` | Session context, persistent state |
622
+
623
+ #### ❌ FORBIDDEN: Root Directory
624
+
625
+ **NEVER proactively create documentation in project root** unless explicitly requested by user:
626
+
627
+ - ❌ `IMPLEMENTATION_GUIDE.md`
628
+ - ❌ `EXPLORATION_REPORT.md`
629
+ - ❌ `*_ANALYSIS.md`
630
+ - ❌ `*_GUIDE.md`
631
+ - ❌ `*_REPORT.md`
632
+
633
+ **Exceptions** (ONLY these files allowed in root):
634
+
635
+ - ✅ `README.md` - Official user documentation
636
+ - ✅ `CHANGELOG.md` - Version history
637
+ - ✅ `CONTRIBUTING.md` - Contribution guidelines
638
+ - ✅ `LICENSE` - License file
639
+
640
+ #### Decision Tree for Document Creation
641
+
642
+ ```
643
+ Need to create a .md file?
644
+
645
+ Is it user-facing official documentation?
646
+ ├─ YES → Root (README.md, CHANGELOG.md only)
647
+ └─ NO → Is it internal to Alfred/workflow?
648
+ ├─ YES → Check type:
649
+ │ ├─ SPEC-related → .moai/specs/SPEC-*/
650
+ │ ├─ Sync report → .moai/reports/
651
+ │ ├─ Analysis → .moai/analysis/
652
+ │ └─ Guide/Strategy → .moai/docs/
653
+ └─ NO → Ask user explicitly before creating
654
+ ```
655
+
656
+ #### Document Naming Convention
657
+
658
+ **Internal documents in `.moai/docs/`**:
659
+
660
+ - `implementation-{SPEC-ID}.md` - Implementation guides
661
+ - `exploration-{topic}.md` - Exploration/analysis reports
662
+ - `strategy-{topic}.md` - Strategic planning documents
663
+ - `guide-{topic}.md` - How-to guides for Alfred use
664
+
665
+ #### Sub-agent Output Guidelines
666
+
667
+ | Sub-agent | Default Output Location | Document Type |
668
+ | ---------------------- | ----------------------- | ------------------------ |
669
+ | implementation-planner | `.moai/docs/` | implementation-{SPEC}.md |
670
+ | Explore | `.moai/docs/` | exploration-{topic}.md |
671
+ | Plan | `.moai/docs/` | strategy-{topic}.md |
672
+ | doc-syncer | `.moai/reports/` | sync-report-{type}.md |
673
+ | tag-agent | `.moai/reports/` | tag-validation-{date}.md |
674
+
675
+ ---
676
+
338
677
  ## Project Information
339
678
 
340
679
  - **Name**: MoAI-ADK
341
680
  - **Description**: MoAI-Agentic Development Kit
342
- - **Version**: 0.4.1
681
+ - **Version**: 0.7.0 (Language localization complete)
343
682
  - **Mode**: Personal/Team (configurable)
344
683
  - **Codebase Language**: python
345
684
  - **Toolchain**: Automatically selects the best tools for python
@@ -355,18 +694,70 @@ Your project is ready. You can now run `/alfred:1-plan` to start planning specs.
355
694
  ### Critical Rule: English-Only Core Files
356
695
 
357
696
  **All files in these directories MUST be in English:**
697
+
358
698
  - `.claude/agents/`
359
699
  - `.claude/commands/`
360
700
  - `.claude/skills/`
361
701
  - `.moai/memory/`
362
- - `CLAUDE.md` (this file)
363
702
 
364
703
  **Rationale**: These files define system behavior, tool invocations, and internal infrastructure. English ensures:
704
+
365
705
  1. **Industry standard**: Technical documentation in English (single source of truth)
366
706
  2. **Global maintainability**: No translation burden for 55 Skills, 12 agents, 4 commands
367
707
  3. **Infinite scalability**: Support any user language without modifying infrastructure
368
708
  4. **Reliable invocation**: Explicit Skill("name") calls work regardless of prompt language
369
709
 
710
+ **Note on CLAUDE.md**: This project guidance document is intentionally written in the user's `conversation_language` (한국어) to provide clear direction to the project owner. The critical infrastructure (agents, commands, skills, memory) stays in English to support global teams, but CLAUDE.md serves as the project's internal playbook in the team's working language.
711
+
712
+ ### Implementation Status (v0.7.0+)
713
+
714
+ **✅ FULLY IMPLEMENTED** - Language localization is complete:
715
+
716
+ **Phase 1: Python Configuration Reading** ✅
717
+
718
+ - Configuration properly read from nested structure: `config.language.conversation_language`
719
+ - All template variables (CONVERSATION_LANGUAGE, CONVERSATION_LANGUAGE_NAME) working
720
+ - Default fallback to English when language config missing
721
+ - Unit tests: 11/13 passing (config path fixes verified)
722
+
723
+ **Phase 2: Configuration System** ✅
724
+
725
+ - Nested language structure in config.json: `language.conversation_language` and `language.conversation_language_name`
726
+ - Migration module for legacy configs (v0.6.3 → v0.7.0+)
727
+ - Supports 5 languages: English, Korean, Japanese, Chinese, Spanish
728
+ - Schema documentation: `.moai/memory/language-config-schema.md`
729
+
730
+ **Phase 3: Agent Instructions** ✅
731
+
732
+ - All 12 agents have "🌍 Language Handling" sections
733
+ - Sub-agents receive language parameters via Task() calls
734
+ - Output language determined by `conversation_language` parameter
735
+ - Code/technical keywords stay in English, narratives in user language
736
+
737
+ **Phase 4: Command Updates** ✅
738
+
739
+ - All 4 commands pass language parameters to sub-agents:
740
+ - `/alfred:0-project` → project-manager (product/structure/tech.md in user language)
741
+ - `/alfred:1-plan` → spec-builder (SPEC documents in user language)
742
+ - `/alfred:2-run` → tdd-implementer (code in English, comments flexible)
743
+ - `/alfred:3-sync` → doc-syncer (documentation respects language setting)
744
+ - All 4 command templates mirrored correctly
745
+
746
+ **Phase 5: Testing** ✅
747
+
748
+ - Integration tests: 14/17 passing (82%)
749
+ - E2E tests: 13/16 passing (81%)
750
+ - Config migration tests: 100% passing
751
+ - Template substitution tests: 100% passing
752
+ - Command documentation verification: 100% passing
753
+
754
+ **Known Limitations:**
755
+
756
+ - Mock path tests fail due to local imports in phase_executor (non-blocking, functionality verified)
757
+ - Full test coverage run requires integration with complete test suite
758
+
370
759
  ---
371
760
 
372
- **Note**: The conversation language is selected at the beginning of `/alfred:0-project` and applies to all subsequent project initialization steps. User-facing documentation will be generated in the user's configured language.
761
+ **Note**: The conversation language is selected at the beginning of `/alfred:0-project` and applies to all subsequent project initialization steps. User-facing documentation will be generated in the user's configured language.
762
+
763
+ For detailed configuration reference, see: `.moai/memory/language-config-schema.md`