moai-adk 0.9.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 (260) 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/.git-hooks/pre-push +143 -0
  5. moai_adk/templates/.github/workflows/moai-gitflow.yml +6 -1
  6. moai_adk/templates/.github/workflows/release.yml +6 -2
  7. moai_adk/templates/.github/workflows/tag-validation.yml +57 -8
  8. moai_adk/templates/CLAUDE.md +477 -28
  9. moai_adk/templates/README.md +256 -0
  10. {moai_adk-0.9.1.dist-info → moai_adk-0.11.0.dist-info}/METADATA +740 -90
  11. moai_adk-0.11.0.dist-info/RECORD +77 -0
  12. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  13. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  14. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  15. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  16. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -350
  17. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -273
  18. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  19. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  20. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -287
  21. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -287
  22. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -326
  23. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  24. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1189
  25. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -728
  26. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -545
  27. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -683
  28. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  29. moai_adk/templates/.claude/hooks/alfred/.moai/cache/version-check.json +0 -9
  30. moai_adk/templates/.claude/hooks/alfred/README.md +0 -343
  31. moai_adk/templates/.claude/hooks/alfred/TROUBLESHOOTING.md +0 -471
  32. moai_adk/templates/.claude/hooks/alfred/alfred_hooks.py +0 -209
  33. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  34. moai_adk/templates/.claude/hooks/alfred/notification__handle_events.py +0 -102
  35. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -102
  36. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -108
  37. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -102
  38. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -102
  39. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  40. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  41. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  42. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -683
  43. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -198
  44. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  45. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  46. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -25
  47. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -175
  48. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -90
  49. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  50. moai_adk/templates/.claude/hooks/alfred/stop__handle_interrupt.py +0 -102
  51. moai_adk/templates/.claude/hooks/alfred/subagent_stop__handle_subagent_end.py +0 -102
  52. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -120
  53. moai_adk/templates/.claude/output-styles/alfred/agentic-coding.md +0 -640
  54. moai_adk/templates/.claude/output-styles/alfred/moai-adk-learning.md +0 -696
  55. moai_adk/templates/.claude/output-styles/alfred/study-with-alfred.md +0 -474
  56. moai_adk/templates/.claude/settings.json +0 -144
  57. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  58. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  59. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  60. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  61. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  62. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  63. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  64. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  65. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  66. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  67. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  68. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  69. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  70. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  71. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  72. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  73. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  74. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  75. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  76. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  77. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  78. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  79. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  80. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  81. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  82. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  83. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  84. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  85. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  86. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  87. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  88. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  89. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  90. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  91. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  92. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  93. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  94. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  95. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  96. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  97. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  98. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  99. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  100. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  101. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  102. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  103. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  104. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  105. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  106. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  107. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  108. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  109. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  110. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  111. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -124
  112. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  113. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  114. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  115. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  116. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  117. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  118. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  119. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  120. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  121. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  122. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  123. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  124. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  125. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  126. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  127. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  128. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  129. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  130. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  131. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  132. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  133. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  134. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  135. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  136. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  137. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  138. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  139. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  140. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  141. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  142. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  143. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  144. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  145. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  146. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  147. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  148. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  149. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  150. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  151. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  152. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  153. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  154. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  155. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  156. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  157. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  158. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  159. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  160. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  161. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  162. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  163. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  164. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  165. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  166. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  167. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  168. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -124
  169. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  170. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  171. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -124
  172. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  173. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  174. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  175. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  176. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  177. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  178. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  179. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  180. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -123
  181. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  182. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  183. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -431
  184. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  185. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  186. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  187. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  188. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  189. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  190. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  191. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  192. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -124
  193. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  194. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  195. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -123
  196. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  197. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  198. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  199. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  200. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  201. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  202. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  203. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  204. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  205. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  206. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  207. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -127
  208. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  209. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  210. moai_adk/templates/.claude/skills/moai-skill-factory/CHECKLIST.md +0 -482
  211. moai_adk/templates/.claude/skills/moai-skill-factory/EXAMPLES.md +0 -278
  212. moai_adk/templates/.claude/skills/moai-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  213. moai_adk/templates/.claude/skills/moai-skill-factory/METADATA.md +0 -477
  214. moai_adk/templates/.claude/skills/moai-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  215. moai_adk/templates/.claude/skills/moai-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  216. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  217. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  218. moai_adk/templates/.claude/skills/moai-skill-factory/SKILL.md +0 -271
  219. moai_adk/templates/.claude/skills/moai-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  220. moai_adk/templates/.claude/skills/moai-skill-factory/STRUCTURE.md +0 -583
  221. moai_adk/templates/.claude/skills/moai-skill-factory/WEB-RESEARCH.md +0 -526
  222. moai_adk/templates/.claude/skills/moai-skill-factory/reference.md +0 -465
  223. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/generate-structure.sh +0 -328
  224. moai_adk/templates/.claude/skills/moai-skill-factory/scripts/validate-skill.sh +0 -312
  225. moai_adk/templates/.claude/skills/moai-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  226. moai_adk/templates/.claude/skills/moai-skill-factory/templates/examples-template.md +0 -285
  227. moai_adk/templates/.claude/skills/moai-skill-factory/templates/reference-template.md +0 -278
  228. moai_adk/templates/.claude/skills/moai-skill-factory/templates/scripts-template.sh +0 -303
  229. moai_adk/templates/.claude/skills/moai-spec-authoring/README.md +0 -137
  230. moai_adk/templates/.claude/skills/moai-spec-authoring/SKILL.md +0 -219
  231. moai_adk/templates/.claude/skills/moai-spec-authoring/examples/validate-spec.sh +0 -161
  232. moai_adk/templates/.claude/skills/moai-spec-authoring/examples.md +0 -541
  233. moai_adk/templates/.claude/skills/moai-spec-authoring/reference.md +0 -622
  234. moai_adk/templates/.github/workflows/tag-report.yml +0 -261
  235. moai_adk/templates/.moai/config.json +0 -113
  236. moai_adk/templates/.moai/docs/quick-issue-creation-guide.md +0 -219
  237. moai_adk/templates/.moai/hooks/install.sh +0 -79
  238. moai_adk/templates/.moai/hooks/pre-commit.sh +0 -66
  239. moai_adk/templates/.moai/memory/CLAUDE-AGENTS-GUIDE.md +0 -208
  240. moai_adk/templates/.moai/memory/CLAUDE-PRACTICES.md +0 -369
  241. moai_adk/templates/.moai/memory/CLAUDE-RULES.md +0 -539
  242. moai_adk/templates/.moai/memory/DEVELOPMENT-GUIDE.md +0 -344
  243. moai_adk/templates/.moai/memory/GITFLOW-PROTECTION-POLICY.md +0 -220
  244. moai_adk/templates/.moai/memory/ISSUE-LABEL-MAPPING.md +0 -150
  245. moai_adk/templates/.moai/memory/SKILLS-DESCRIPTION-POLICY.md +0 -218
  246. moai_adk/templates/.moai/memory/SPEC-METADATA.md +0 -356
  247. moai_adk/templates/.moai/memory/gitflow-protection-policy.md +0 -220
  248. moai_adk/templates/.moai/memory/spec-metadata.md +0 -356
  249. moai_adk/templates/.moai/project/product.md +0 -161
  250. moai_adk/templates/.moai/project/structure.md +0 -156
  251. moai_adk/templates/.moai/project/tech.md +0 -227
  252. moai_adk/templates/src/moai_adk/core/__init__.py +0 -5
  253. moai_adk/templates/src/moai_adk/core/tags/__init__.py +0 -86
  254. moai_adk/templates/src/moai_adk/core/tags/ci_validator.py +0 -433
  255. moai_adk/templates/src/moai_adk/core/tags/cli.py +0 -283
  256. moai_adk/templates/src/moai_adk/core/tags/validator.py +0 -897
  257. moai_adk-0.9.1.dist-info/RECORD +0 -320
  258. {moai_adk-0.9.1.dist-info → moai_adk-0.11.0.dist-info}/WHEEL +0 -0
  259. {moai_adk-0.9.1.dist-info → moai_adk-0.11.0.dist-info}/entry_points.txt +0 -0
  260. {moai_adk-0.9.1.dist-info → moai_adk-0.11.0.dist-info}/licenses/LICENSE +0 -0
@@ -1,545 +0,0 @@
1
- ---
2
- name: alfred:2-run
3
- description: "Execute planned work (TDD implementation, prototyping, documentation, etc.)"
4
- # Translations:
5
- # - ko: "계획된 작업 실행 (TDD 구현, 프로토타이핑, 문서화 등)"
6
- # - ja: "計画されたタスクの実行(TDD実装、プロトタイピング、ドキュメント作成など)"
7
- # - zh: "执行计划任务(TDD实现、原型开发、文档编写等)"
8
- argument-hint: "SPEC-ID - All with SPEC ID to implement (e.g. SPEC-001) or all \"SPEC Implementation\""
9
- allowed-tools:
10
- - Read
11
- - Write
12
- - Edit
13
- - MultiEdit
14
- - Bash(python3:*)
15
- - Bash(pytest:*)
16
- - Bash(npm:*)
17
- - Bash(node:*)
18
- - Bash(git:*)
19
- - Task
20
- - WebFetch
21
- - Grep
22
- - Glob
23
- - TodoWrite
24
- ---
25
-
26
- # ⚒️ MoAI-ADK Phase 2: Run the plan - Flexible implementation strategy
27
- > **Note**: Interactive prompts use `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` for TUI selection menus. The skill is loaded on-demand when user interaction is required.
28
-
29
- ## 🎯 Command Purpose
30
-
31
- Analyze SPEC documents to execute planned tasks. It supports not only TDD implementation but also various execution scenarios such as prototyping and documentation work.
32
-
33
- **Run on**: $ARGUMENTS
34
-
35
- ## 💡 Execution philosophy: “Plan → Run → Sync”
36
-
37
- `/alfred:2-run` is a general-purpose command that does not simply "build" code, but **performs** a planned task.
38
-
39
- ### 3 main scenarios
40
-
41
- #### Scenario 1: TDD implementation (main method) ⭐
42
- ```bash
43
- /alfred:2-run SPEC-AUTH-001
44
- → RED → GREEN → REFACTOR
45
- → Implement high-quality code through test-driven development
46
- ```
47
-
48
- #### Scenario 2: Prototyping
49
- ```bash
50
- /alfred:2-run SPEC-PROTO-001
51
- → Prototype implementation for quick verification
52
- → Quick feedback with minimal testing
53
- ```
54
-
55
- #### Scenario 3: Documentation tasks
56
- ```bash
57
- /alfred:2-run SPEC-DOCS-001
58
- → Writing documentation and generating sample code
59
- → API documentation, tutorials, guides, etc.
60
- ```
61
-
62
- > **Standard two-step workflow** (see `CLAUDE.md` - "Alfred Command Execution Pattern" for details)
63
-
64
- ## 📋 Execution flow
65
-
66
- 1. **SPEC Analysis**: Requirements extraction and complexity assessment
67
- 2. **Establishment of implementation strategy**: Determine the optimized approach for each language (TDD, prototype, documentation, etc.)
68
- 3. **User Confirmation**: Review and approve action plan
69
- 4. **Execute work**: Perform work according to the approved plan
70
- 5. **Git Operations**: Creating step-by-step commits with git-manager
71
-
72
- ## 🧠 Associated Skills & Agents
73
-
74
- | Agent | Core Skill | Purpose |
75
- | ---------------------- | -------------------------------- | --------------------------------------- |
76
- | implementation-planner | `moai-alfred-language-detection` | Detect language and design architecture |
77
- | tdd-implementer | `moai-essentials-debug` | Implement TDD (RED → GREEN → REFACTOR) |
78
- | quality-gate | `moai-alfred-trust-validation` | Verify TRUST 5 principles |
79
- | git-manager | `moai-alfred-git-workflow` | Commit and manage Git workflows |
80
-
81
- **Note**: TUI Survey Skill is used for user confirmations during the run phase and is shared across all interactive prompts.
82
-
83
- ## 🔗 Associated Agent
84
-
85
- - **Phase 1**: implementation-planner (📋 technical architect) - SPEC analysis and establishment of execution strategy
86
- - **Phase 2**: tdd-implementer (🔬 senior developer) - Dedicated to execution work
87
- - **Phase 2.5**: quality-gate (🛡️ Quality Assurance Engineer) - TRUST principle verification (automatically)
88
- - **Phase 3**: git-manager (🚀 Release Engineer) - Dedicated to Git commits
89
-
90
- ## 💡 Example of use
91
-
92
- Users can run commands as follows:
93
- - `/alfred:2-run SPEC-001` - Run a specific SPEC
94
- - `/alfred:2-run all` - Run all SPECs in batches
95
- - `/alfred:2-run SPEC-003 --test` - Run only tests
96
-
97
- ## 🔍 STEP 1: SPEC analysis and execution plan establishment
98
-
99
- STEP 1 consists of **two independent phases** to provide flexible workflow based on task complexity:
100
-
101
- ### 📋 STEP 1 Workflow Overview
102
-
103
- ```
104
- ┌─────────────────────────────────────────────────────────────┐
105
- │ STEP 1: SPEC Analysis & Planning │
106
- ├─────────────────────────────────────────────────────────────┤
107
- │ │
108
- │ Phase A (OPTIONAL) │
109
- │ ┌─────────────────────────────────────────┐ │
110
- │ │ 🔍 Explore Agent │ │
111
- │ │ • Browse existing codebase │ │
112
- │ │ • Find similar implementations │ │
113
- │ │ • Identify patterns & architecture │ │
114
- │ └─────────────────────────────────────────┘ │
115
- │ ↓ │
116
- │ (exploration results) │
117
- │ ↓ │
118
- │ Phase B (REQUIRED) │
119
- │ ┌─────────────────────────────────────────┐ │
120
- │ │ ⚙️ implementation-planner Agent │ │
121
- │ │ • Analyze SPEC requirements │ │
122
- │ │ • Design execution strategy │ │
123
- │ │ • Create implementation plan │ │
124
- │ │ • Request user approval │ │
125
- │ └─────────────────────────────────────────┘ │
126
- │ ↓ │
127
- │ (user approval via AskUserQuestion) │
128
- │ ↓ │
129
- │ PROCEED TO STEP 2 │
130
- └─────────────────────────────────────────────────────────────┘
131
- ```
132
-
133
- **Key Points**:
134
- - **Phase A is optional** - Skip if you don't need to explore existing code
135
- - **Phase B is required** - Always runs to analyze SPEC and create execution plan
136
- - **Results flow forward** - Exploration results (if any) are passed to implementation-planner
137
-
138
- ---
139
-
140
- ### 🔍 Phase A: Codebase Exploration (OPTIONAL)
141
-
142
- **Use the Explore agent when you need to understand existing code before planning.**
143
-
144
- #### When to use Phase A:
145
-
146
- - ✅ Need to understand existing code structure/patterns
147
- - ✅ Need to find similar function implementations for reference
148
- - ✅ Need to understand project architectural rules
149
- - ✅ Need to check libraries and versions being used
150
-
151
- #### How to invoke Explore agent:
152
-
153
- ```
154
- Invoking the Task tool (Explore agent):
155
- - subagent_type: "Explore"
156
- - description: "Explore existing code structures and patterns"
157
- - prompt: "Please explore existing code related to SPEC-$ARGUMENTS:
158
- - Similar function implementation code (src/)
159
- - Test patterns for reference (tests/)
160
- - Architectural patterns and design patterns
161
- - Current libraries and versions (package.json, requirements.txt)
162
- thoroughness level: medium"
163
- ```
164
-
165
- **Note**: If you skip Phase A, proceed directly to Phase B.
166
-
167
- ---
168
-
169
- ### ⚙️ Phase B: Execution Planning (REQUIRED)
170
-
171
- **Call the implementation-planner agent to analyze SPEC and establish execution strategy.**
172
-
173
- This phase is **always required** regardless of whether Phase A was executed.
174
-
175
- #### How to invoke implementation-planner:
176
-
177
- ```
178
- Task tool call:
179
- - subagent_type: "implementation-planner"
180
- - description: "SPEC analysis and establishment of execution strategy"
181
- - prompt: "Please analyze the SPEC of $ARGUMENTS and establish an execution plan.
182
- It must include the following:
183
- 1. SPEC requirements extraction and complexity assessment
184
- 2. Library and tool selection (using WebFetch)
185
- 3. TAG chain design
186
- 4. Step-by-step execution plan
187
- 5. Risks and response plans
188
- 6. Create action plan and use `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)` to confirm the next action with the user
189
- (Optional) Explore results: $EXPLORE_RESULTS"
190
- ```
191
-
192
- **Note**: If Phase A was executed, pass the exploration results via `$EXPLORE_RESULTS` variable.
193
-
194
- ### SPEC analysis in progress
195
-
196
- 1. **SPEC document analysis**
197
- - Requirements extraction and complexity assessment
198
- - Check technical constraints
199
- - Dependency and impact scope analysis
200
- - (Optional) Identify existing code structure based on Explore results
201
-
202
- 2. **Establish execution strategy**
203
- - Detect project language and optimize execution strategy
204
- - Determine approach (TDD, prototyping, documentation, etc.)
205
- - Estimate expected work scope and time
206
-
207
- 3. **Check and specify library versions (required)**
208
- - **Web search**: Check the latest stable versions of all libraries to be used through `WebSearch`
209
- - **Specify versions**: Specify the exact version for each library in the implementation plan report (e.g. `fastapi>=0.118.3`)
210
- - **Stability priority**: Exclude beta/alpha versions, select only production stable versions
211
- - **Check compatibility**: Verify version compatibility between libraries
212
- - **Search keyword examples**:
213
- - `"FastAPI latest stable version 2025"`
214
- - `"SQLAlchemy 2.0 latest stable version 2025"`
215
- - `"React 18 latest stable version 2025"`
216
-
217
- 4. **Report action plan**
218
- - Present step-by-step action plan
219
- - Identify potential risk factors
220
- - Set quality gate checkpoints
221
- - **Specify library version (required)**
222
-
223
- ### User verification steps
224
-
225
- After reviewing the action plan, select one of the following:
226
- - **"Proceed"** or **"Start"**: Start executing the task as planned
227
- - **"Modify [Content]"**: Request a plan modification
228
- - **"Abort"**: Stop the task
229
-
230
- ---
231
-
232
- ## 🚀 STEP 2: Execute task (after user approval)
233
-
234
- After user approval (gathered through `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)`), **call the tdd-implementer agent using the Task tool**.
235
-
236
- ### ⚙️ How to call an agent
237
-
238
- **STEP 2 calls tdd-implementer using the Task tool**:
239
-
240
- ```
241
- Call the Task tool:
242
- - subagent_type: "tdd-implementer"
243
- - description: "Execute task with TDD implementation"
244
- - prompt: """You are tdd-implementer agent.
245
-
246
- LANGUAGE CONFIGURATION:
247
- - conversation_language: {{CONVERSATION_LANGUAGE}}
248
- - language_name: {{CONVERSATION_LANGUAGE_NAME}}
249
-
250
- CRITICAL INSTRUCTION:
251
- Code and technical output MUST be in English.
252
- Code comments MAY be in {{CONVERSATION_LANGUAGE}} if appropriate.
253
- Test descriptions and documentation can use {{CONVERSATION_LANGUAGE}}.
254
-
255
- SKILL INVOCATION:
256
- Use explicit Skill() calls when needed:
257
- - Skill("moai-alfred-language-detection") for project language detection
258
- - Skill("moai-lang-python") or language-specific Skills for best practices
259
- - Skill("moai-essentials-debug") when tests fail
260
- - Skill("moai-essentials-refactor") during REFACTOR phase
261
-
262
- TASK: Execute the task according to the plan approved in STEP 1.
263
-
264
- For TDD scenario:
265
- - Perform RED → GREEN → REFACTOR cycle
266
- - Perform the following for each TAG:
267
- 1. RED Phase: Write a test that fails with the @TEST:ID tag
268
- 2. GREEN Phase: Minimal implementation with the @CODE:ID tag
269
- 3. REFACTOR Phase: Improve code quality
270
- 4. Verify TAG completion conditions and proceed to the next TAG
271
-
272
- Execute on: $ARGUMENTS"""
273
- ```
274
-
275
- ## 🔗 TDD optimization for each language
276
-
277
- ### Project language detection and optimal routing
278
-
279
- `tdd-implementer` automatically detects the language of your project and selects the optimal TDD tools and workflow:
280
-
281
- - **Language detection**: Analyze project files (package.json, pyproject.toml, go.mod, etc.)
282
- - **Tool selection**: Automatically select the optimal test framework for each language
283
- - **TAG application**: Write @TAG annotations directly in code files
284
- - **Run cycle**: RED → GREEN → REFACTOR sequential process
285
-
286
- ### TDD tool mapping
287
-
288
- #### Backend/System
289
-
290
- | SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
291
- | ------------------- | ----------------------- | ---------------------- | ----------------- | -------------- |
292
- | **CLI/System** | TypeScript | jest + ts-node | < 18ms | 95%+ |
293
- | **API/Backend** | TypeScript | Jest + SuperTest | < 50ms | 90%+ |
294
- | **Frontend** | TypeScript | Jest + Testing Library | < 100ms | 85%+ |
295
- | **Data Processing** | TypeScript | Jest + Mock | < 200ms | 85%+ |
296
- | **Python Project** | Python | pytest + mypy | Custom | 85%+ |
297
-
298
- #### Mobile Framework
299
-
300
- | SPEC Type | Implementation language | Test Framework | Performance Goals | Coverage Goals |
301
- | ---------------- | ----------------------- | -------------------------- | ----------------- | -------------- |
302
- | **Flutter App** | Dart | flutter test + widget test | < 100ms | 85%+ |
303
- | **React Native** | TypeScript | Jest + RN Testing Library | < 100ms | 85%+ |
304
- | **iOS App** | Swift | XCTest + XCUITest | < 150ms | 80%+ |
305
- | **Android App** | Kotlin | JUnit + Espresso | < 150ms | 80%+ |
306
-
307
- ## 🚀 Optimized agent collaboration structure
308
-
309
- - **Phase 1**: `implementation-planner` agent analyzes SPEC and establishes execution strategy
310
- - **Phase 2**: `tdd-implementer` agent executes tasks (TDD cycle, prototyping, documentation, etc.)
311
- - **Phase 2.5**: `quality-gate` agent verifies TRUST principle and quality verification (automatically)
312
- - **Phase 3**: `git-manager` agent processes all commits at once after task completion
313
- - **Single responsibility principle**: Each agent is responsible only for its own area of expertise
314
- - **Inter-agent call prohibited**: Each agent runs independently, sequential calls are made only at the command level
315
-
316
- ## 🔄 Step 2 Workflow Execution Order
317
-
318
- ### Phase 1: Analysis and planning phase
319
-
320
- The `implementation-planner` agent does the following:
321
-
322
- 1. **SPEC document analysis**: Requirements extraction and complexity assessment of specified SPEC ID
323
- 2. **Library selection**: Check the latest stable version and verify compatibility through WebFetch
324
- 3. **TAG chain design**: Determine TAG order and dependency
325
- 4. **Establishment of implementation strategy**: Step-by-step implementation plan and risk identification
326
- 5. **Create action plan**: Create a structured plan and, via `AskUserQuestion tool (documented in moai-alfred-interactive-questions skill)`, collect user approval before proceeding
327
-
328
- ### Phase 2: Task execution phase (after approval)
329
-
330
- The `tdd-implementer` agent performs **TAG-by-TAG** after user approval (based on TDD scenario):
331
-
332
- 1. **RED Phase**: Write a failing test (add @TEST:ID tag) and check for failure
333
- 2. **GREEN Phase**: Write minimal code that passes the test (add @CODE:ID tag)
334
- 3. **REFACTOR Phase**: Improve code quality (without changing functionality)
335
- 4. **TAG completion confirmation**: Verify the completion conditions of each TAG and proceed to the next TAG
336
-
337
- ### Phase 2.5: Quality verification gate (automatic execution)
338
-
339
- After the job execution is complete, the `quality-gate` agent **automatically** performs quality verification.
340
-
341
- **Automatic execution conditions**:
342
- - Automatically invoked upon completion of task execution
343
- - Manually invoked upon user request
344
-
345
- **Verification items**:
346
- - **TRUST principle verification**: Trust-checker script execution and result parsing
347
- - T (Testable): Test coverage ≥ 85%
348
- - R (Readable): Code readability (file≤300 LOC, function≤50 LOC, Complexity≤10)
349
- - U (Unified): Architectural integrity
350
- - S (Secured): No security vulnerabilities
351
- - T (Traceable): @TAG chain integrity
352
- - **Code style**: Run and verify linter (ESLint/Pylint)
353
- - **Test Coverage**: Run language-specific coverage tools and verify goal achievement
354
- - **TAG chain verification**: Check orphan TAGs, missing TAGs
355
- - **Dependency verification**: Check security vulnerabilities
356
-
357
- **How ​​it works**: When Alfred completes job execution, it automatically calls the quality-gate agent to perform quality verification.
358
-
359
- **Handling verification results**:
360
-
361
- ✅ **PASS (0 Critical, 5 or less Warnings)**:
362
- - Proceed to Phase 3 (Git work)
363
- - Create a quality report
364
-
365
- ⚠️ **WARNING (0 Critical, 6 or more Warnings)**:
366
- - Display warning
367
- - User choice: "Continue" or "Re-verify after modification"
368
-
369
- ❌ **CRITICAL (1 or more Critical)**:
370
- - Block Git commits
371
- - Detailed report on items requiring improvement (including file: line information)
372
- - Recommended tdd-implementer re-invocation
373
-
374
- **Skip verification option**: To skip quality verification, use the `--skip-quality-check` option.
375
-
376
- ### Phase 3: Git operations (git-manager)
377
-
378
- After the `git-manager` agent completes the task **at once**:
379
-
380
- 1. **Create checkpoint**: Backup point before starting work
381
- 2. **Structured Commit**: Step-by-step commit creation (RED→GREEN→REFACTOR for TDD)
382
- 3. **Final synchronization**: Apply Git strategy for each mode and remote synchronization
383
-
384
-
385
- ## 📋 STEP 1 Execution Guide: SPEC Analysis and Planning
386
-
387
- ### 1. SPEC document analysis
388
-
389
- Alfred calls the implementation-planner agent to check the SPEC document and create an execution plan.
390
-
391
- #### Analysis Checklist
392
-
393
- - [ ] **Requirements clarity**: Are the functional requirements in the SPEC specific?
394
- - [ ] **Technical constraints**: Check performance, compatibility, and security requirements
395
- - [ ] **Dependency analysis**: Connection points with existing code and scope of impact
396
- - [ ] **Complexity assessment**: Implementation difficulty and expected workload
397
-
398
- ### 2. Determine implementation strategy
399
-
400
- #### TypeScript execution criteria
401
-
402
- | SPEC characteristics | execution language | Reason |
403
- | -------------------- | ------------------- | --------------------------------------------------------- |
404
- | CLI/System Tools | TypeScript | High performance (18ms), type safety, SQLite3 integration |
405
- | API/Backend | TypeScript | Node.js ecosystem, Express/Fastify compatibility |
406
- | Frontend | TypeScript | React/Vue native support |
407
- | data processing | TypeScript | High-performance asynchronous processing, type safety |
408
- | User Python Project | Python tool support | MoAI-ADK provides Python project development tools |
409
-
410
- #### Approach
411
-
412
- - **Bottom-up**: Utility → Service → API
413
- - **Top-down**: API → Service → Utility
414
- - **Middle-out**: Core logic → Bidirectional expansion
415
-
416
- ### 3. Generate action plan report
417
-
418
- Present your plan in the following format:
419
-
420
- ```
421
- ## Execution Plan Report: [SPEC-ID]
422
-
423
- ### 📊 Analysis Results
424
- - **Complexity**: [Low/Medium/High]
425
- - **Estimated Work Time**: [Time Estimation]
426
- - **Key Technical Challenges**: [Technical Difficulties]
427
-
428
- ### 🎯 Execution Strategy
429
- - **Language of choice**: [Python/TypeScript + Reason]
430
- - **Approach**: [Bottom-up/Top-down/Middle-out or Prototype/Documentation]
431
- - **Core module**: [Major work target]
432
-
433
- ### 📦 Library version (required - based on web search)
434
- **Backend dependencies** (example):
435
- | package | Latest stable version | installation command |
436
- | ---------- | --------------------- | -------------------- |
437
- | FastAPI | 0.118.3 | fastapi>=0.118.3 |
438
- | SQLAlchemy | 2.0.43 | sqlalchemy>=2.0.43 |
439
-
440
- **Frontend dependency** (example):
441
- | package | Latest stable version | installation command |
442
- | ------- | --------------------- | -------------------- |
443
- | React | 18.3.1 | react@^18.3.1 |
444
- | Vite | 7.1.9 | vite@^7.1.9 |
445
-
446
- **Important Compatibility Information**:
447
- - [Specific Version Requirements]
448
- - [Known Compatibility Issues]
449
-
450
- ### ⚠️ Risk Factors
451
- - **Technical Risk**: [Expected Issues]
452
- - **Dependency Risk**: [External Dependency Issues]
453
- - **Schedule Risk**: [Possible Delay]
454
-
455
- ### ✅ Quality Gates
456
- - **Test Coverage**: [Goal %]
457
- - **Performance Goals**: [Specific Metrics]
458
- - **Security Checkpoints**: [Verification Items]
459
-
460
- ---
461
- **Approval Request**: Do you want to proceed with the above plan?
462
- (Choose between “Proceed,” “Modify [Content],” or “Abort”)
463
- ```
464
-
465
- ---
466
-
467
- ## 🚀 STEP 2 Execution Guide: Execute Task (After Approval)
468
-
469
- Only if the user selects **"Proceed"** or **"Start"** will Alfred call the tdd-implementer agent to start the task.
470
-
471
- ### TDD step-by-step guide
472
-
473
- 1. **RED**: Writing failure tests with Given/When/Then structure. Follow test file rules for each language and simply record failure logs.
474
- 2. **GREEN**: Add only the minimal implementation that makes the tests pass. Optimization is postponed to the REFACTOR stage.
475
- 3. **REFACTOR**: Removal of duplication, explicit naming, structured logging/exception handling enhancements. Split into additional commits if necessary.
476
-
477
- **TRUST 5 Principles Linkage** (Details: `development-guide.md` - "TRUST 5 Principles"):
478
- - **T (Test First)**: Writing SPEC-based tests in the RED stage
479
- - **R (Readable)**: Readability in the REFACTOR stage Improvement (file≤300 LOC, function≤50 LOC)
480
- - **T (Trackable)**: Maintain @TAG traceability at all stages.
481
-
482
- > TRUST 5 principles provide only basic recommendations, so if you need a structure that exceeds `simplicity_threshold`, proceed with the basis in SPEC or ADR.
483
-
484
- ## Agent role separation
485
-
486
- ### implementation-planner dedicated area
487
-
488
- - SPEC document analysis and requirements extraction
489
- - Library selection and version management
490
- - TAG chain design and sequence decision
491
- - Establishment of implementation strategy and identification of risks
492
- - Creation of execution plan
493
-
494
- ### tdd-implementer dedicated area
495
-
496
- - Execute tasks (TDD, prototyping, documentation, etc.)
497
- - Write and run tests (TDD scenarios)
498
- - Add and manage TAG comments
499
- - Improve code quality (refactoring)
500
- - Run language-specific linters/formatters
501
-
502
- ### Quality-gate dedicated area
503
-
504
- - TRUST principle verification
505
- - Code style verification
506
- - Test coverage verification
507
- - TAG chain integrity verification
508
- - Dependency security verification
509
-
510
- ### git-manager dedicated area
511
-
512
- - All Git commit operations (add, commit, push)
513
- - Checkpoint creation for each task stage
514
- - Apply commit strategy for each mode
515
- - Git branch/tag management
516
- - Remote synchronization processing
517
-
518
- ## Quality Gate Checklist
519
-
520
- - Test coverage ≥ `.moai/config.json.test_coverage_target` (default 85%)
521
- - Pass linter/formatter (`ruff`, `eslint --fix`, `gofmt`, etc.)
522
- - Check presence of structured logging or observation tool call
523
- - @TAG update needed changes note (used by doc-syncer in next step)
524
-
525
- ---
526
-
527
- ## 🧠 Context Management
528
-
529
- > For more information: `.moai/memory/development-guide.md` - see section "Context Engineering"
530
-
531
- ### Core strategy of this command
532
-
533
- **Load first**: `.moai/specs/SPEC-XXX/spec.md` (implementation target requirement)
534
-
535
- **Recommendation**: Job execution completed successfully. You can experience better performance and context management by starting a new chat session with the `/clear` or `/new` command before proceeding to the next step (`/alfred:3-sync`).
536
-
537
- ---
538
-
539
- ## Next steps
540
-
541
- **Recommendation**: For better performance and context management, start a new chat session with the `/clear` or `/new` command before proceeding to the next step.
542
-
543
- - After task execution is complete, document synchronization proceeds with `/alfred:3-sync`
544
- - All Git operations are dedicated to the git-manager agent to ensure consistency
545
- - Only command-level orchestration is used without direct calls between agents