moai-adk 0.15.0__py3-none-any.whl → 0.25.4__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 (417) hide show
  1. moai_adk/__init__.py +1 -2
  2. moai_adk/__main__.py +85 -2
  3. moai_adk/cli/__init__.py +0 -1
  4. moai_adk/cli/commands/__init__.py +0 -1
  5. moai_adk/cli/commands/analyze.py +127 -0
  6. moai_adk/cli/commands/backup.py +5 -3
  7. moai_adk/cli/commands/doctor.py +35 -11
  8. moai_adk/cli/commands/improve_user_experience.py +348 -0
  9. moai_adk/cli/commands/init.py +150 -23
  10. moai_adk/cli/commands/language.py +269 -0
  11. moai_adk/cli/commands/migrate.py +158 -0
  12. moai_adk/cli/commands/status.py +13 -12
  13. moai_adk/cli/commands/update.py +364 -60
  14. moai_adk/cli/commands/validate_links.py +118 -0
  15. moai_adk/cli/main.py +3 -2
  16. moai_adk/cli/prompts/init_prompts.py +79 -82
  17. moai_adk/core/__init__.py +0 -1
  18. moai_adk/core/analysis/__init__.py +9 -0
  19. moai_adk/core/analysis/session_analyzer.py +439 -0
  20. moai_adk/core/claude_integration.py +421 -0
  21. moai_adk/core/command_helpers.py +270 -0
  22. moai_adk/core/config/__init__.py +6 -0
  23. moai_adk/core/config/auto_spec_config.py +346 -0
  24. moai_adk/core/config/migration.py +133 -12
  25. moai_adk/core/context_manager.py +279 -0
  26. moai_adk/core/diagnostics/slash_commands.py +0 -1
  27. moai_adk/core/error_recovery_system.py +1289 -0
  28. moai_adk/core/git/__init__.py +0 -1
  29. moai_adk/core/git/branch.py +0 -1
  30. moai_adk/core/git/branch_manager.py +4 -4
  31. moai_adk/core/git/checkpoint.py +1 -5
  32. moai_adk/core/git/commit.py +0 -1
  33. moai_adk/core/git/event_detector.py +3 -5
  34. moai_adk/core/git/manager.py +0 -1
  35. moai_adk/core/hooks/post_tool_auto_spec_completion.py +925 -0
  36. moai_adk/core/integration/__init__.py +22 -0
  37. moai_adk/core/integration/engine.py +169 -0
  38. moai_adk/core/integration/integration_tester.py +225 -0
  39. moai_adk/core/integration/models.py +88 -0
  40. moai_adk/core/integration/utils.py +211 -0
  41. moai_adk/core/issue_creator.py +28 -18
  42. moai_adk/core/language_config.py +202 -0
  43. moai_adk/core/language_validator.py +556 -0
  44. moai_adk/core/mcp/setup.py +113 -0
  45. moai_adk/core/migration/__init__.py +18 -0
  46. moai_adk/core/migration/backup_manager.py +208 -0
  47. moai_adk/core/migration/file_migrator.py +218 -0
  48. moai_adk/core/migration/version_detector.py +143 -0
  49. moai_adk/core/migration/version_migrator.py +228 -0
  50. moai_adk/core/performance/__init__.py +6 -0
  51. moai_adk/core/performance/cache_system.py +318 -0
  52. moai_adk/core/performance/parallel_processor.py +116 -0
  53. moai_adk/core/project/__init__.py +0 -1
  54. moai_adk/core/project/backup_utils.py +2 -7
  55. moai_adk/core/project/checker.py +3 -3
  56. moai_adk/core/project/detector.py +20 -40
  57. moai_adk/core/project/initializer.py +42 -17
  58. moai_adk/core/project/phase_executor.py +415 -58
  59. moai_adk/core/project/validator.py +6 -25
  60. moai_adk/core/quality/__init__.py +1 -1
  61. moai_adk/core/quality/trust_checker.py +64 -110
  62. moai_adk/core/quality/validators/__init__.py +1 -1
  63. moai_adk/core/quality/validators/base_validator.py +1 -1
  64. moai_adk/core/rollback_manager.py +993 -0
  65. moai_adk/core/session_manager.py +667 -0
  66. moai_adk/core/spec/confidence_scoring.py +749 -0
  67. moai_adk/core/spec/ears_template_engine.py +1182 -0
  68. moai_adk/core/spec/quality_validator.py +721 -0
  69. moai_adk/core/spec_status_manager.py +488 -0
  70. moai_adk/core/template/__init__.py +0 -1
  71. moai_adk/core/template/backup.py +41 -1
  72. moai_adk/core/template/config.py +11 -12
  73. moai_adk/core/template/languages.py +0 -1
  74. moai_adk/core/template/merger.py +79 -22
  75. moai_adk/core/template/processor.py +614 -40
  76. moai_adk/core/template_engine.py +36 -27
  77. moai_adk/foundation/git/commit_templates.py +565 -0
  78. moai_adk/foundation/trust/trust_principles.py +725 -0
  79. moai_adk/foundation/trust/validation_checklist.py +1678 -0
  80. moai_adk/statusline/__init__.py +38 -0
  81. moai_adk/statusline/alfred_detector.py +107 -0
  82. moai_adk/statusline/config.py +364 -0
  83. moai_adk/statusline/enhanced_output_style_detector.py +364 -0
  84. moai_adk/statusline/git_collector.py +190 -0
  85. moai_adk/statusline/main.py +228 -0
  86. moai_adk/statusline/metrics_tracker.py +78 -0
  87. moai_adk/statusline/renderer.py +327 -0
  88. moai_adk/statusline/update_checker.py +135 -0
  89. moai_adk/statusline/version_reader.py +647 -0
  90. moai_adk/templates/.git-hooks/pre-commit +66 -0
  91. moai_adk/templates/.git-hooks/pre-push +116 -4
  92. moai_adk/templates/.github/workflows/moai-gitflow.yml +1 -7
  93. moai_adk/templates/.github/workflows/spec-issue-sync.yml +0 -1
  94. moai_adk/templates/.gitignore +44 -0
  95. moai_adk/templates/.mcp.json +22 -0
  96. moai_adk/templates/CLAUDE.md +450 -1071
  97. moai_adk/utils/__init__.py +0 -1
  98. moai_adk/utils/banner.py +0 -1
  99. moai_adk/utils/common.py +308 -0
  100. moai_adk/utils/link_validator.py +249 -0
  101. moai_adk/utils/logger.py +4 -9
  102. moai_adk/utils/safe_file_reader.py +210 -0
  103. moai_adk/utils/user_experience.py +531 -0
  104. moai_adk-0.25.4.dist-info/METADATA +2279 -0
  105. moai_adk-0.25.4.dist-info/RECORD +112 -0
  106. moai_adk/core/tags/__init__.py +0 -86
  107. moai_adk/core/tags/ci_validator.py +0 -463
  108. moai_adk/core/tags/cli.py +0 -283
  109. moai_adk/core/tags/generator.py +0 -109
  110. moai_adk/core/tags/inserter.py +0 -99
  111. moai_adk/core/tags/mapper.py +0 -126
  112. moai_adk/core/tags/parser.py +0 -76
  113. moai_adk/core/tags/pre_commit_validator.py +0 -393
  114. moai_adk/core/tags/reporter.py +0 -956
  115. moai_adk/core/tags/tags.py +0 -149
  116. moai_adk/core/tags/validator.py +0 -897
  117. moai_adk/templates/.claude/agents/alfred/backend-expert.md +0 -319
  118. moai_adk/templates/.claude/agents/alfred/cc-manager.md +0 -316
  119. moai_adk/templates/.claude/agents/alfred/debug-helper.md +0 -208
  120. moai_adk/templates/.claude/agents/alfred/devops-expert.md +0 -464
  121. moai_adk/templates/.claude/agents/alfred/doc-syncer.md +0 -214
  122. moai_adk/templates/.claude/agents/alfred/frontend-expert.md +0 -357
  123. moai_adk/templates/.claude/agents/alfred/git-manager.md +0 -406
  124. moai_adk/templates/.claude/agents/alfred/implementation-planner.md +0 -423
  125. moai_adk/templates/.claude/agents/alfred/project-manager.md +0 -312
  126. moai_adk/templates/.claude/agents/alfred/quality-gate.md +0 -343
  127. moai_adk/templates/.claude/agents/alfred/skill-factory.md +0 -865
  128. moai_adk/templates/.claude/agents/alfred/spec-builder.md +0 -392
  129. moai_adk/templates/.claude/agents/alfred/tag-agent.md +0 -361
  130. moai_adk/templates/.claude/agents/alfred/tdd-implementer.md +0 -428
  131. moai_adk/templates/.claude/agents/alfred/trust-checker.md +0 -375
  132. moai_adk/templates/.claude/agents/alfred/ui-ux-expert.md +0 -571
  133. moai_adk/templates/.claude/commands/alfred/0-project.md +0 -1525
  134. moai_adk/templates/.claude/commands/alfred/1-plan.md +0 -802
  135. moai_adk/templates/.claude/commands/alfred/2-run.md +0 -709
  136. moai_adk/templates/.claude/commands/alfred/3-sync.md +0 -1009
  137. moai_adk/templates/.claude/commands/alfred/9-feedback.md +0 -149
  138. moai_adk/templates/.claude/hooks/alfred/core/project.py +0 -748
  139. moai_adk/templates/.claude/hooks/alfred/core/timeout.py +0 -136
  140. moai_adk/templates/.claude/hooks/alfred/core/ttl_cache.py +0 -108
  141. moai_adk/templates/.claude/hooks/alfred/core/version_cache.py +0 -198
  142. moai_adk/templates/.claude/hooks/alfred/handlers/__init__.py +0 -29
  143. moai_adk/templates/.claude/hooks/alfred/post_tool__log_changes.py +0 -94
  144. moai_adk/templates/.claude/hooks/alfred/pre_tool__auto_checkpoint.py +0 -100
  145. moai_adk/templates/.claude/hooks/alfred/session_end__cleanup.py +0 -94
  146. moai_adk/templates/.claude/hooks/alfred/session_start__show_project_info.py +0 -94
  147. moai_adk/templates/.claude/hooks/alfred/shared/core/__init__.py +0 -170
  148. moai_adk/templates/.claude/hooks/alfred/shared/core/checkpoint.py +0 -271
  149. moai_adk/templates/.claude/hooks/alfred/shared/core/context.py +0 -67
  150. moai_adk/templates/.claude/hooks/alfred/shared/core/project.py +0 -749
  151. moai_adk/templates/.claude/hooks/alfred/shared/core/tags.py +0 -230
  152. moai_adk/templates/.claude/hooks/alfred/shared/core/version_cache.py +0 -198
  153. moai_adk/templates/.claude/hooks/alfred/shared/handlers/__init__.py +0 -21
  154. moai_adk/templates/.claude/hooks/alfred/shared/handlers/notification.py +0 -154
  155. moai_adk/templates/.claude/hooks/alfred/shared/handlers/session.py +0 -174
  156. moai_adk/templates/.claude/hooks/alfred/shared/handlers/tool.py +0 -87
  157. moai_adk/templates/.claude/hooks/alfred/shared/handlers/user.py +0 -61
  158. moai_adk/templates/.claude/hooks/alfred/user_prompt__jit_load_docs.py +0 -112
  159. moai_adk/templates/.claude/hooks/alfred/utils/__init__.py +0 -1
  160. moai_adk/templates/.claude/hooks/alfred/utils/timeout.py +0 -161
  161. moai_adk/templates/.claude/settings.json +0 -144
  162. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/SKILL.md +0 -70
  163. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/examples.md +0 -62
  164. moai_adk/templates/.claude/skills/moai-alfred-agent-guide/reference.md +0 -242
  165. moai_adk/templates/.claude/skills/moai-alfred-config-schema/SKILL.md +0 -56
  166. moai_adk/templates/.claude/skills/moai-alfred-config-schema/examples.md +0 -28
  167. moai_adk/templates/.claude/skills/moai-alfred-config-schema/reference.md +0 -444
  168. moai_adk/templates/.claude/skills/moai-alfred-context-budget/SKILL.md +0 -62
  169. moai_adk/templates/.claude/skills/moai-alfred-context-budget/examples.md +0 -28
  170. moai_adk/templates/.claude/skills/moai-alfred-context-budget/reference.md +0 -405
  171. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/SKILL.md +0 -51
  172. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/examples.md +0 -355
  173. moai_adk/templates/.claude/skills/moai-alfred-dev-guide/reference.md +0 -239
  174. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/SKILL.md +0 -113
  175. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/examples.md +0 -29
  176. moai_adk/templates/.claude/skills/moai-alfred-ears-authoring/reference.md +0 -28
  177. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/SKILL.md +0 -323
  178. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/examples.md +0 -286
  179. moai_adk/templates/.claude/skills/moai-alfred-expertise-detection/reference.md +0 -126
  180. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/SKILL.md +0 -122
  181. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/examples.md +0 -29
  182. moai_adk/templates/.claude/skills/moai-alfred-git-workflow/reference.md +0 -29
  183. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/SKILL.md +0 -74
  184. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/examples.md +0 -4
  185. moai_adk/templates/.claude/skills/moai-alfred-gitflow-policy/reference.md +0 -269
  186. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/SKILL.md +0 -237
  187. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/examples.md +0 -615
  188. moai_adk/templates/.claude/skills/moai-alfred-interactive-questions/reference.md +0 -653
  189. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/SKILL.md +0 -19
  190. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/examples.md +0 -4
  191. moai_adk/templates/.claude/skills/moai-alfred-issue-labels/reference.md +0 -150
  192. moai_adk/templates/.claude/skills/moai-alfred-language-detection/SKILL.md +0 -113
  193. moai_adk/templates/.claude/skills/moai-alfred-language-detection/examples.md +0 -29
  194. moai_adk/templates/.claude/skills/moai-alfred-language-detection/reference.md +0 -28
  195. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/SKILL.md +0 -198
  196. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/examples.md +0 -431
  197. moai_adk/templates/.claude/skills/moai-alfred-persona-roles/reference.md +0 -141
  198. moai_adk/templates/.claude/skills/moai-alfred-practices/SKILL.md +0 -89
  199. moai_adk/templates/.claude/skills/moai-alfred-practices/examples.md +0 -122
  200. moai_adk/templates/.claude/skills/moai-alfred-practices/reference.md +0 -369
  201. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/SKILL.md +0 -508
  202. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/examples.md +0 -481
  203. moai_adk/templates/.claude/skills/moai-alfred-proactive-suggestions/reference.md +0 -100
  204. moai_adk/templates/.claude/skills/moai-alfred-reporting/SKILL.md +0 -273
  205. moai_adk/templates/.claude/skills/moai-alfred-rules/SKILL.md +0 -77
  206. moai_adk/templates/.claude/skills/moai-alfred-rules/examples.md +0 -265
  207. moai_adk/templates/.claude/skills/moai-alfred-rules/reference.md +0 -539
  208. moai_adk/templates/.claude/skills/moai-alfred-session-state/SKILL.md +0 -19
  209. moai_adk/templates/.claude/skills/moai-alfred-session-state/examples.md +0 -4
  210. moai_adk/templates/.claude/skills/moai-alfred-session-state/reference.md +0 -84
  211. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/README.md +0 -137
  212. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/SKILL.md +0 -219
  213. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples/validate-spec.sh +0 -161
  214. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/examples.md +0 -541
  215. moai_adk/templates/.claude/skills/moai-alfred-spec-authoring/reference.md +0 -622
  216. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/SKILL.md +0 -115
  217. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/examples.md +0 -4
  218. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-extended/reference.md +0 -348
  219. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/SKILL.md +0 -113
  220. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/examples.md +0 -29
  221. moai_adk/templates/.claude/skills/moai-alfred-spec-metadata-validation/reference.md +0 -28
  222. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/SKILL.md +0 -113
  223. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/examples.md +0 -29
  224. moai_adk/templates/.claude/skills/moai-alfred-tag-scanning/reference.md +0 -28
  225. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/SKILL.md +0 -19
  226. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/examples.md +0 -4
  227. moai_adk/templates/.claude/skills/moai-alfred-todowrite-pattern/reference.md +0 -211
  228. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/SKILL.md +0 -113
  229. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/examples.md +0 -29
  230. moai_adk/templates/.claude/skills/moai-alfred-trust-validation/reference.md +0 -28
  231. moai_adk/templates/.claude/skills/moai-alfred-workflow/SKILL.md +0 -288
  232. moai_adk/templates/.claude/skills/moai-cc-agents/SKILL.md +0 -269
  233. moai_adk/templates/.claude/skills/moai-cc-agents/templates/agent-template.md +0 -32
  234. moai_adk/templates/.claude/skills/moai-cc-claude-md/SKILL.md +0 -298
  235. moai_adk/templates/.claude/skills/moai-cc-claude-md/templates/CLAUDE-template.md +0 -26
  236. moai_adk/templates/.claude/skills/moai-cc-commands/SKILL.md +0 -307
  237. moai_adk/templates/.claude/skills/moai-cc-commands/templates/command-template.md +0 -21
  238. moai_adk/templates/.claude/skills/moai-cc-hooks/SKILL.md +0 -252
  239. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/pre-bash-check.sh +0 -19
  240. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/preserve-permissions.sh +0 -19
  241. moai_adk/templates/.claude/skills/moai-cc-hooks/scripts/validate-bash-command.py +0 -24
  242. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/SKILL.md +0 -199
  243. moai_adk/templates/.claude/skills/moai-cc-mcp-plugins/templates/settings-mcp-template.json +0 -39
  244. moai_adk/templates/.claude/skills/moai-cc-memory/SKILL.md +0 -316
  245. moai_adk/templates/.claude/skills/moai-cc-memory/templates/session-summary-template.md +0 -18
  246. moai_adk/templates/.claude/skills/moai-cc-settings/SKILL.md +0 -263
  247. moai_adk/templates/.claude/skills/moai-cc-settings/templates/settings-complete-template.json +0 -30
  248. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/SKILL.md +0 -19
  249. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/examples.md +0 -4
  250. moai_adk/templates/.claude/skills/moai-cc-skill-descriptions/reference.md +0 -218
  251. moai_adk/templates/.claude/skills/moai-cc-skill-factory/CHECKLIST.md +0 -482
  252. moai_adk/templates/.claude/skills/moai-cc-skill-factory/EXAMPLES.md +0 -278
  253. moai_adk/templates/.claude/skills/moai-cc-skill-factory/INTERACTIVE-DISCOVERY.md +0 -524
  254. moai_adk/templates/.claude/skills/moai-cc-skill-factory/METADATA.md +0 -477
  255. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PARALLEL-ANALYSIS-REPORT.md +0 -429
  256. moai_adk/templates/.claude/skills/moai-cc-skill-factory/PYTHON-VERSION-MATRIX.md +0 -391
  257. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-FACTORY-WORKFLOW.md +0 -431
  258. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL-UPDATE-ADVISOR.md +0 -577
  259. moai_adk/templates/.claude/skills/moai-cc-skill-factory/SKILL.md +0 -271
  260. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STEP-BY-STEP-GUIDE.md +0 -466
  261. moai_adk/templates/.claude/skills/moai-cc-skill-factory/STRUCTURE.md +0 -583
  262. moai_adk/templates/.claude/skills/moai-cc-skill-factory/WEB-RESEARCH.md +0 -526
  263. moai_adk/templates/.claude/skills/moai-cc-skill-factory/reference.md +0 -465
  264. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/generate-structure.sh +0 -328
  265. moai_adk/templates/.claude/skills/moai-cc-skill-factory/scripts/validate-skill.sh +0 -312
  266. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/SKILL_TEMPLATE.md +0 -245
  267. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/examples-template.md +0 -285
  268. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/reference-template.md +0 -278
  269. moai_adk/templates/.claude/skills/moai-cc-skill-factory/templates/scripts-template.sh +0 -303
  270. moai_adk/templates/.claude/skills/moai-cc-skills/SKILL.md +0 -291
  271. moai_adk/templates/.claude/skills/moai-cc-skills/templates/SKILL-template.md +0 -15
  272. moai_adk/templates/.claude/skills/moai-design-systems/SKILL.md +0 -802
  273. moai_adk/templates/.claude/skills/moai-design-systems/examples.md +0 -1238
  274. moai_adk/templates/.claude/skills/moai-design-systems/reference.md +0 -673
  275. moai_adk/templates/.claude/skills/moai-domain-backend/SKILL.md +0 -290
  276. moai_adk/templates/.claude/skills/moai-domain-backend/examples.md +0 -1633
  277. moai_adk/templates/.claude/skills/moai-domain-backend/reference.md +0 -660
  278. moai_adk/templates/.claude/skills/moai-domain-cli-tool/SKILL.md +0 -123
  279. moai_adk/templates/.claude/skills/moai-domain-cli-tool/examples.md +0 -29
  280. moai_adk/templates/.claude/skills/moai-domain-cli-tool/reference.md +0 -30
  281. moai_adk/templates/.claude/skills/moai-domain-data-science/SKILL.md +0 -123
  282. moai_adk/templates/.claude/skills/moai-domain-data-science/examples.md +0 -29
  283. moai_adk/templates/.claude/skills/moai-domain-data-science/reference.md +0 -30
  284. moai_adk/templates/.claude/skills/moai-domain-database/SKILL.md +0 -123
  285. moai_adk/templates/.claude/skills/moai-domain-database/examples.md +0 -29
  286. moai_adk/templates/.claude/skills/moai-domain-database/reference.md +0 -30
  287. moai_adk/templates/.claude/skills/moai-domain-devops/SKILL.md +0 -124
  288. moai_adk/templates/.claude/skills/moai-domain-devops/examples.md +0 -29
  289. moai_adk/templates/.claude/skills/moai-domain-devops/reference.md +0 -31
  290. moai_adk/templates/.claude/skills/moai-domain-frontend/SKILL.md +0 -128
  291. moai_adk/templates/.claude/skills/moai-domain-frontend/examples.md +0 -29
  292. moai_adk/templates/.claude/skills/moai-domain-frontend/reference.md +0 -31
  293. moai_adk/templates/.claude/skills/moai-domain-ml/SKILL.md +0 -123
  294. moai_adk/templates/.claude/skills/moai-domain-ml/examples.md +0 -29
  295. moai_adk/templates/.claude/skills/moai-domain-ml/reference.md +0 -30
  296. moai_adk/templates/.claude/skills/moai-domain-mobile-app/SKILL.md +0 -123
  297. moai_adk/templates/.claude/skills/moai-domain-mobile-app/examples.md +0 -29
  298. moai_adk/templates/.claude/skills/moai-domain-mobile-app/reference.md +0 -30
  299. moai_adk/templates/.claude/skills/moai-domain-security/SKILL.md +0 -123
  300. moai_adk/templates/.claude/skills/moai-domain-security/examples.md +0 -29
  301. moai_adk/templates/.claude/skills/moai-domain-security/reference.md +0 -30
  302. moai_adk/templates/.claude/skills/moai-domain-web-api/SKILL.md +0 -123
  303. moai_adk/templates/.claude/skills/moai-domain-web-api/examples.md +0 -29
  304. moai_adk/templates/.claude/skills/moai-domain-web-api/reference.md +0 -30
  305. moai_adk/templates/.claude/skills/moai-essentials-debug/SKILL.md +0 -303
  306. moai_adk/templates/.claude/skills/moai-essentials-debug/examples.md +0 -1064
  307. moai_adk/templates/.claude/skills/moai-essentials-debug/reference.md +0 -1047
  308. moai_adk/templates/.claude/skills/moai-essentials-perf/SKILL.md +0 -113
  309. moai_adk/templates/.claude/skills/moai-essentials-perf/examples.md +0 -29
  310. moai_adk/templates/.claude/skills/moai-essentials-perf/reference.md +0 -28
  311. moai_adk/templates/.claude/skills/moai-essentials-refactor/SKILL.md +0 -113
  312. moai_adk/templates/.claude/skills/moai-essentials-refactor/examples.md +0 -29
  313. moai_adk/templates/.claude/skills/moai-essentials-refactor/reference.md +0 -28
  314. moai_adk/templates/.claude/skills/moai-essentials-review/SKILL.md +0 -113
  315. moai_adk/templates/.claude/skills/moai-essentials-review/examples.md +0 -29
  316. moai_adk/templates/.claude/skills/moai-essentials-review/reference.md +0 -28
  317. moai_adk/templates/.claude/skills/moai-foundation-ears/SKILL.md +0 -116
  318. moai_adk/templates/.claude/skills/moai-foundation-ears/examples.md +0 -29
  319. moai_adk/templates/.claude/skills/moai-foundation-ears/reference.md +0 -28
  320. moai_adk/templates/.claude/skills/moai-foundation-git/SKILL.md +0 -122
  321. moai_adk/templates/.claude/skills/moai-foundation-git/examples.md +0 -29
  322. moai_adk/templates/.claude/skills/moai-foundation-git/reference.md +0 -29
  323. moai_adk/templates/.claude/skills/moai-foundation-langs/SKILL.md +0 -113
  324. moai_adk/templates/.claude/skills/moai-foundation-langs/examples.md +0 -29
  325. moai_adk/templates/.claude/skills/moai-foundation-langs/reference.md +0 -28
  326. moai_adk/templates/.claude/skills/moai-foundation-specs/SKILL.md +0 -113
  327. moai_adk/templates/.claude/skills/moai-foundation-specs/examples.md +0 -29
  328. moai_adk/templates/.claude/skills/moai-foundation-specs/reference.md +0 -28
  329. moai_adk/templates/.claude/skills/moai-foundation-tags/SKILL.md +0 -113
  330. moai_adk/templates/.claude/skills/moai-foundation-tags/examples.md +0 -29
  331. moai_adk/templates/.claude/skills/moai-foundation-tags/reference.md +0 -28
  332. moai_adk/templates/.claude/skills/moai-foundation-trust/SKILL.md +0 -307
  333. moai_adk/templates/.claude/skills/moai-foundation-trust/examples.md +0 -0
  334. moai_adk/templates/.claude/skills/moai-foundation-trust/reference.md +0 -1099
  335. moai_adk/templates/.claude/skills/moai-lang-c/SKILL.md +0 -124
  336. moai_adk/templates/.claude/skills/moai-lang-c/examples.md +0 -29
  337. moai_adk/templates/.claude/skills/moai-lang-c/reference.md +0 -31
  338. moai_adk/templates/.claude/skills/moai-lang-cpp/SKILL.md +0 -124
  339. moai_adk/templates/.claude/skills/moai-lang-cpp/examples.md +0 -29
  340. moai_adk/templates/.claude/skills/moai-lang-cpp/reference.md +0 -31
  341. moai_adk/templates/.claude/skills/moai-lang-csharp/SKILL.md +0 -123
  342. moai_adk/templates/.claude/skills/moai-lang-csharp/examples.md +0 -29
  343. moai_adk/templates/.claude/skills/moai-lang-csharp/reference.md +0 -30
  344. moai_adk/templates/.claude/skills/moai-lang-dart/SKILL.md +0 -123
  345. moai_adk/templates/.claude/skills/moai-lang-dart/examples.md +0 -29
  346. moai_adk/templates/.claude/skills/moai-lang-dart/reference.md +0 -30
  347. moai_adk/templates/.claude/skills/moai-lang-go/SKILL.md +0 -127
  348. moai_adk/templates/.claude/skills/moai-lang-go/examples.md +0 -29
  349. moai_adk/templates/.claude/skills/moai-lang-go/reference.md +0 -31
  350. moai_adk/templates/.claude/skills/moai-lang-java/SKILL.md +0 -126
  351. moai_adk/templates/.claude/skills/moai-lang-java/examples.md +0 -29
  352. moai_adk/templates/.claude/skills/moai-lang-java/reference.md +0 -31
  353. moai_adk/templates/.claude/skills/moai-lang-javascript/SKILL.md +0 -125
  354. moai_adk/templates/.claude/skills/moai-lang-javascript/examples.md +0 -29
  355. moai_adk/templates/.claude/skills/moai-lang-javascript/reference.md +0 -32
  356. moai_adk/templates/.claude/skills/moai-lang-kotlin/SKILL.md +0 -124
  357. moai_adk/templates/.claude/skills/moai-lang-kotlin/examples.md +0 -29
  358. moai_adk/templates/.claude/skills/moai-lang-kotlin/reference.md +0 -31
  359. moai_adk/templates/.claude/skills/moai-lang-php/SKILL.md +0 -126
  360. moai_adk/templates/.claude/skills/moai-lang-php/examples.md +0 -29
  361. moai_adk/templates/.claude/skills/moai-lang-php/reference.md +0 -30
  362. moai_adk/templates/.claude/skills/moai-lang-python/SKILL.md +0 -433
  363. moai_adk/templates/.claude/skills/moai-lang-python/examples.md +0 -624
  364. moai_adk/templates/.claude/skills/moai-lang-python/reference.md +0 -316
  365. moai_adk/templates/.claude/skills/moai-lang-r/SKILL.md +0 -123
  366. moai_adk/templates/.claude/skills/moai-lang-r/examples.md +0 -29
  367. moai_adk/templates/.claude/skills/moai-lang-r/reference.md +0 -30
  368. moai_adk/templates/.claude/skills/moai-lang-ruby/SKILL.md +0 -124
  369. moai_adk/templates/.claude/skills/moai-lang-ruby/examples.md +0 -29
  370. moai_adk/templates/.claude/skills/moai-lang-ruby/reference.md +0 -31
  371. moai_adk/templates/.claude/skills/moai-lang-rust/SKILL.md +0 -127
  372. moai_adk/templates/.claude/skills/moai-lang-rust/examples.md +0 -29
  373. moai_adk/templates/.claude/skills/moai-lang-rust/reference.md +0 -31
  374. moai_adk/templates/.claude/skills/moai-lang-scala/SKILL.md +0 -125
  375. moai_adk/templates/.claude/skills/moai-lang-scala/examples.md +0 -29
  376. moai_adk/templates/.claude/skills/moai-lang-scala/reference.md +0 -30
  377. moai_adk/templates/.claude/skills/moai-lang-shell/SKILL.md +0 -123
  378. moai_adk/templates/.claude/skills/moai-lang-shell/examples.md +0 -29
  379. moai_adk/templates/.claude/skills/moai-lang-shell/reference.md +0 -30
  380. moai_adk/templates/.claude/skills/moai-lang-sql/SKILL.md +0 -124
  381. moai_adk/templates/.claude/skills/moai-lang-sql/examples.md +0 -29
  382. moai_adk/templates/.claude/skills/moai-lang-sql/reference.md +0 -31
  383. moai_adk/templates/.claude/skills/moai-lang-swift/SKILL.md +0 -123
  384. moai_adk/templates/.claude/skills/moai-lang-swift/examples.md +0 -29
  385. moai_adk/templates/.claude/skills/moai-lang-swift/reference.md +0 -30
  386. moai_adk/templates/.claude/skills/moai-lang-typescript/SKILL.md +0 -133
  387. moai_adk/templates/.claude/skills/moai-lang-typescript/examples.md +0 -29
  388. moai_adk/templates/.claude/skills/moai-lang-typescript/reference.md +0 -34
  389. moai_adk/templates/.claude/skills/moai-project-documentation.md +0 -622
  390. moai_adk/templates/.github/workflows/c-tag-validation.yml +0 -11
  391. moai_adk/templates/.github/workflows/cpp-tag-validation.yml +0 -11
  392. moai_adk/templates/.github/workflows/csharp-tag-validation.yml +0 -11
  393. moai_adk/templates/.github/workflows/dart-tag-validation.yml +0 -11
  394. moai_adk/templates/.github/workflows/go-tag-validation.yml +0 -130
  395. moai_adk/templates/.github/workflows/java-tag-validation.yml +0 -11
  396. moai_adk/templates/.github/workflows/javascript-tag-validation.yml +0 -135
  397. moai_adk/templates/.github/workflows/kotlin-tag-validation.yml +0 -11
  398. moai_adk/templates/.github/workflows/php-tag-validation.yml +0 -11
  399. moai_adk/templates/.github/workflows/python-tag-validation.yml +0 -118
  400. moai_adk/templates/.github/workflows/release.yml +0 -118
  401. moai_adk/templates/.github/workflows/ruby-tag-validation.yml +0 -11
  402. moai_adk/templates/.github/workflows/rust-tag-validation.yml +0 -11
  403. moai_adk/templates/.github/workflows/shell-tag-validation.yml +0 -11
  404. moai_adk/templates/.github/workflows/swift-tag-validation.yml +0 -11
  405. moai_adk/templates/.github/workflows/tag-report.yml +0 -269
  406. moai_adk/templates/.github/workflows/tag-validation.yml +0 -186
  407. moai_adk/templates/.github/workflows/typescript-tag-validation.yml +0 -154
  408. moai_adk/templates/.moai/config.json +0 -115
  409. moai_adk/templates/workflows/go-tag-validation.yml +0 -30
  410. moai_adk/templates/workflows/javascript-tag-validation.yml +0 -41
  411. moai_adk/templates/workflows/python-tag-validation.yml +0 -42
  412. moai_adk/templates/workflows/typescript-tag-validation.yml +0 -31
  413. moai_adk-0.15.0.dist-info/METADATA +0 -3079
  414. moai_adk-0.15.0.dist-info/RECORD +0 -365
  415. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/WHEEL +0 -0
  416. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/entry_points.txt +0 -0
  417. {moai_adk-0.15.0.dist-info → moai_adk-0.25.4.dist-info}/licenses/LICENSE +0 -0
@@ -0,0 +1,112 @@
1
+ moai_adk/__init__.py,sha256=UcJGsK0pnga9sJlzy0Kcc0qcVmS9d8VobfJfqf7Tq-o,278
2
+ moai_adk/__main__.py,sha256=MpUlge1NRSVM38wWdi_u8MENCP7TdIEzmu8KFaWNFuM,4623
3
+ moai_adk/cli/__init__.py,sha256=QYDg-rGWWZw-IFwvWWtjLFxb84tMHLGD00Cka1LK3s8,53
4
+ moai_adk/cli/main.py,sha256=mYAUkUiQ_SAjfyjsYkmN2uP8-X9rTHcYq4OCHZIPwno,272
5
+ moai_adk/cli/commands/__init__.py,sha256=35JBTiMMOsi2MIa9c4hD6_CRPUid69xS8gLQVym1KW8,595
6
+ moai_adk/cli/commands/analyze.py,sha256=ghCdPnWofx-FzQbJI6LKjj6n1-vmYNoSWsMeoHgzNiY,4278
7
+ moai_adk/cli/commands/backup.py,sha256=t4C6n7iDpQNV0Yno-g_7bteIHZMg6DufdTUYMd01LRw,2447
8
+ moai_adk/cli/commands/doctor.py,sha256=BPfOpMwASxfK6eNN2q5hfyJ0JFhv_2cmQG_pPqYriBE,9842
9
+ moai_adk/cli/commands/improve_user_experience.py,sha256=E1V2vKHXa8YNMxUEZ2Tr6AFFS1NkmjhwvC6wGItMo4w,11097
10
+ moai_adk/cli/commands/init.py,sha256=mk2bH6vSysMI5QzfxOL3tNy4w79HrVk9kIuixvwLR5c,17385
11
+ moai_adk/cli/commands/language.py,sha256=NBGacjtyUxDhpLxnzEXtLW7WsXSYGtnbAiNOIAZMRXY,10284
12
+ moai_adk/cli/commands/migrate.py,sha256=OWAKXVZhqQGoxRKtussQF2bYGGF4zl_JT92v6MoDwUA,4687
13
+ moai_adk/cli/commands/status.py,sha256=I2atOvDLs8emnigdizV224BWduQJ4oImxmvVdknREjc,3435
14
+ moai_adk/cli/commands/update.py,sha256=msIyQ2_dqq2VvRbnCmuFPRXqMUp1mkTF8ku_9jJzJkE,46909
15
+ moai_adk/cli/commands/validate_links.py,sha256=sXe7aK6bsJTFReGzHSSK4HCySVQzkg6WbEqUtp6M8Go,3064
16
+ moai_adk/cli/prompts/__init__.py,sha256=a4_ctS4KEvGtmM9j7z8XIlMkpftohjVb9woUwZu38gE,136
17
+ moai_adk/cli/prompts/init_prompts.py,sha256=pFR0kgiJvMV1Iq81xCc_IT8TgDC1CKgzWaqgeMzjB6s,5978
18
+ moai_adk/core/__init__.py,sha256=c6O2RU2mjE6gUOvHDcQzNJMLFejsoriWM-lAChnWdCQ,42
19
+ moai_adk/core/claude_integration.py,sha256=GxV8qvRe_DTaQuEKHDpFh6F2dS7Yp5Xkqdqd4PYr89k,14267
20
+ moai_adk/core/command_helpers.py,sha256=-9tddnF7x1mCfiIWF7bNDJbHWqqD5ZazVkH4hKogeVc,7517
21
+ moai_adk/core/context_manager.py,sha256=Y2DS9I_JVMwGIwQgtRjKk8AFzvIaamS-Vmr7ON4EN28,7804
22
+ moai_adk/core/error_recovery_system.py,sha256=4nrmCLokADGlfwSorD_kq7f6sSrpbSdmVnUYXG7u3Ws,44678
23
+ moai_adk/core/issue_creator.py,sha256=ExHGPSr1_8J0GbvPzCESDW3ggjlsAuxXy9N8qc9xzhM,9618
24
+ moai_adk/core/language_config.py,sha256=wnJIroHY9wuo6BExmQb3iRGeXqq_VnG0TO2agmgEF8Y,5309
25
+ moai_adk/core/language_validator.py,sha256=MJvZ9rfDQLUwj86R81WnaeHeqDZkTQjTYY9PMh2aEuY,19036
26
+ moai_adk/core/rollback_manager.py,sha256=tZFL7bdmoDrIG80PBaS5gN0hkKdvAeOA9SPBxhEPni0,37895
27
+ moai_adk/core/session_manager.py,sha256=sGm34ehigMkj3kR4kHbF2k6Nj8GbUYqi7PU60sBrekQ,20744
28
+ moai_adk/core/spec_status_manager.py,sha256=WztukAAqltr_TRarYdQK5K9R19rH0fW-7HcHgOTYyNI,18414
29
+ moai_adk/core/template_engine.py,sha256=IU3Kehk0jSv0CeWvPtMrC66PMD-pzak9rDMTOu6ZHLQ,10044
30
+ moai_adk/core/analysis/__init__.py,sha256=9kyEqSwDrbR6SFTCeH0CqsiLju5lJQ_7ZKJDkr-B7AM,181
31
+ moai_adk/core/analysis/session_analyzer.py,sha256=y9_lQCQq78k3Jth8kQYsNUIaCMosWo6TWT_b1QcRL_0,16135
32
+ moai_adk/core/config/__init__.py,sha256=2uZARVqKpGllLfRafhI-vd2p0rYbpcfX7807_BttAg8,526
33
+ moai_adk/core/config/auto_spec_config.py,sha256=4m909EWIFS_EZuULkU90mGZ5c3UnrzKvtaF1ed05RUY,13408
34
+ moai_adk/core/config/migration.py,sha256=AVS-rR0BEdmbgMChJp2d1p33WZF-BJfHyvXKWp5IJMU,7696
35
+ moai_adk/core/diagnostics/__init__.py,sha256=aF-qC2CW0wxZDpxnlh-TILYs3kqwOIj2EjXYEXY-2j8,387
36
+ moai_adk/core/diagnostics/slash_commands.py,sha256=QV8K6MsFbJ8omeWh7nA6Ug22I2U8unU-sTrMR7KlU64,4565
37
+ moai_adk/core/git/__init__.py,sha256=EuXAXSU3HKJi51NtPBtgOmn8GayL6CVmfwpCMg7Naag,616
38
+ moai_adk/core/git/branch.py,sha256=Ng5Et1aIrk-M5NqPg7QL9jkIAHjo3Cj1D1gHFdhIeRI,531
39
+ moai_adk/core/git/branch_manager.py,sha256=ecp0_EZ5OWSXvnQCIqGpHeY6wzK3EOE71LFCdsr-ehQ,4053
40
+ moai_adk/core/git/checkpoint.py,sha256=5LD8Yi5OqIdMtZ-w5NQL_WM7hiDs3qG8q3x4Sc65ttA,4230
41
+ moai_adk/core/git/commit.py,sha256=IbkD8mp6qGYCkDXqXFKoJeArbV1yoyOH9LGRaVnhp_k,1957
42
+ moai_adk/core/git/event_detector.py,sha256=eqkUMeWyHEfzFFnSNXNxqvQxwZoOFkn6-u1aW7Z9pW8,2171
43
+ moai_adk/core/git/manager.py,sha256=CCgtKdwbyZ97y7dujIh43QILTOyMbZdISHkhd6vOZaA,3548
44
+ moai_adk/core/hooks/post_tool_auto_spec_completion.py,sha256=SFnclKFZ5bYLzcCI2_Jla30Jq3TngzKCiRGc0vjBq1M,29579
45
+ moai_adk/core/integration/__init__.py,sha256=2B-VsFn2Qp7_K9qhi20HmQm_23K4eqYLE_x0H7L-r8s,575
46
+ moai_adk/core/integration/engine.py,sha256=Z4fRKHh_2sdhXDMSbvENZLSvyrawLcbuHux4Dw55yHg,5467
47
+ moai_adk/core/integration/integration_tester.py,sha256=_E2FCZilOkySW8TBfpZ59CTjzAh2ADOXD-De-7htoIg,6879
48
+ moai_adk/core/integration/models.py,sha256=9g_VfjzAXgy2gdKVy-ek2h9RjY4-vTtV1RYtVF0pexI,1886
49
+ moai_adk/core/integration/utils.py,sha256=YA6jEPZivPITw6Z7z6-Geh3k-vJ_A3JaS56myZqoMuo,5699
50
+ moai_adk/core/mcp/setup.py,sha256=OIwqcyc9NFn5-UlZn0gYKjuGl4PLm1qgAUmmVGPjWb4,4222
51
+ moai_adk/core/migration/__init__.py,sha256=4rceVhv6HQ0bq1W6W4jqsHJF5xG6TrwRlsbvARQo6EY,439
52
+ moai_adk/core/migration/backup_manager.py,sha256=tjQ95eZ3wlTwgKncD39tsVbzE5kXsmPIjKZN_LXYZKw,6841
53
+ moai_adk/core/migration/file_migrator.py,sha256=mWtOYheBbOSrOLrtCCwkRvrXkpPu1EIIvkaG3k8ALc8,6674
54
+ moai_adk/core/migration/version_detector.py,sha256=rlQL42Rwkaa9H3ZpQJX1rynmHdcapjgoKAvAZ5pvzhw,4741
55
+ moai_adk/core/migration/version_migrator.py,sha256=f5z6f5vaqlEDM6V_uHdtFd8hwCV-5roWx_9VuqRoNMk,8088
56
+ moai_adk/core/performance/__init__.py,sha256=KmMLRqNtwXSifFWPQk9W23bon0ni0llUOWljgFVtP6U,175
57
+ moai_adk/core/performance/cache_system.py,sha256=evDWAULuibk2Y6Bh3fDDGhdjnXwEzlWW--YQya7NE7k,9389
58
+ moai_adk/core/performance/parallel_processor.py,sha256=8YIFCVR_I9cS36VgP321Asz9PGzKQRMjVl22aEu6eYg,3867
59
+ moai_adk/core/project/__init__.py,sha256=9dcHdCUMbJNG2jGP_-eynQU5R4IjYbPAKk7ybp8A81Y,52
60
+ moai_adk/core/project/backup_utils.py,sha256=vyL3bA7M8tEIiVtbuxJMrqfG221Um7eknMEjZHro6LM,1660
61
+ moai_adk/core/project/checker.py,sha256=VZ_AEhNXqOLTWierTXsfqjJPDFACJ90izfUz03R_Uek,9410
62
+ moai_adk/core/project/detector.py,sha256=71cocO6LYuLyUhtSZfd0ilCKuA4Fp43MxWU3sd_IvFg,8935
63
+ moai_adk/core/project/initializer.py,sha256=5Y_N6-e1q0JYLE5eqBEcl66MxusF00vGRYnx-yFQA7E,10291
64
+ moai_adk/core/project/phase_executor.py,sha256=C7Sx2MlDdX5s23Oox0ZIPfux32uOB7oqnwI-lySQSIQ,25534
65
+ moai_adk/core/project/validator.py,sha256=PkQU9klRLGrKWGVFsChSkoacqiH5A2wwp70YTOv2KyQ,4426
66
+ moai_adk/core/quality/__init__.py,sha256=fBOdfexGDfvibVW_6CRgjV8oGxvbCrTSjbb-JLMnBHM,155
67
+ moai_adk/core/quality/trust_checker.py,sha256=jQeyuqZAn84E-Z-fVBr6U227NwY5KS8e2cxEFzBth_g,13035
68
+ moai_adk/core/quality/validators/__init__.py,sha256=B4qQWr7ECxr-AmXWZYHkzXfg-9CMvt-ZVEfTWa-peog,205
69
+ moai_adk/core/quality/validators/base_validator.py,sha256=BtBaLuDCGdspu0N-o1dNt0CRaiOKMnnHQIxKEOM1lbU,453
70
+ moai_adk/core/spec/confidence_scoring.py,sha256=npA18V_Kj2hQFEXjTAP7aB2Eu4teJ3Fkv0XNTz553l0,28309
71
+ moai_adk/core/spec/ears_template_engine.py,sha256=KdfYbdgeJrcLRWhLoZxoLlMEF3rtOtCdAevUlVMR2S8,41004
72
+ moai_adk/core/spec/quality_validator.py,sha256=Un1o6PX25j9KxNSgydCJhdjoCGTe0dwOUAQ43vUisfs,25817
73
+ moai_adk/core/template/__init__.py,sha256=VVphg9ctDfLdhuTg23-nDXDsrUAF6X0xAR_1k-srBtY,281
74
+ moai_adk/core/template/backup.py,sha256=SV5VY0axPk-Vi6XXxqW5hVIQV9rAHfAfYjlT7u66SYA,4468
75
+ moai_adk/core/template/config.py,sha256=prRS_fH4fkYQHBQa16jzR8tEVLHjJ8X6tlbA0jnMq-U,3486
76
+ moai_adk/core/template/languages.py,sha256=S2OdZV001sypeK5NCIfGJkVd0Hv-2dofRWj8ycL4-r4,1546
77
+ moai_adk/core/template/merger.py,sha256=Sz0ZzxNuu1yd8DCWC_ad-y-If9GQSorDaKB14ZE4IdQ,9240
78
+ moai_adk/core/template/processor.py,sha256=zII2na-RHKaY-3vUaErqZiHoEm6P0xfonvsYC7XMLKI,40768
79
+ moai_adk/foundation/git/commit_templates.py,sha256=DYI4_ECUvQbxTYYEe87tGm5n5l6O3_WBPxWJCYOTZFk,21867
80
+ moai_adk/foundation/trust/trust_principles.py,sha256=RTIWbl8tDpjXdT0nwqCQ57vMwlgSw8XKra49FxzcfWQ,27549
81
+ moai_adk/foundation/trust/validation_checklist.py,sha256=hm_f2Ju0z-e3V4y0aoN5ZioLVp2zvTaaskefCA7bBZY,67006
82
+ moai_adk/statusline/__init__.py,sha256=7fY3L9o5xThHcG1feEvOMxTreUyF-xSCr68WgBegOng,1029
83
+ moai_adk/statusline/alfred_detector.py,sha256=h5k3kkVZ8yj1L3t_6gzIOyqZrIGkey_J2d3IRDRj_44,2896
84
+ moai_adk/statusline/config.py,sha256=MCGQLFQsw5p3XSw7YRymL7fW7C_1qVf3hemDTFssM7g,13192
85
+ moai_adk/statusline/enhanced_output_style_detector.py,sha256=k3fmgvSWMIXFgXYDacsQrwjWqSt9bgysHstvMU8u9q0,12660
86
+ moai_adk/statusline/git_collector.py,sha256=WxEQHM7l5-9l7afdsmsqncOF1bXsI-N8yb38sj9_X64,5416
87
+ moai_adk/statusline/main.py,sha256=wUJYSCwrt9go-6gXAusihtP9l7O1ZJLOOqr2vuGSyyI,5995
88
+ moai_adk/statusline/metrics_tracker.py,sha256=mv9hJpn_kYqjDyVCNQGeOZMOQcQZfQhhs25DVpOuI_Q,2319
89
+ moai_adk/statusline/renderer.py,sha256=PeZiS_RQICf5A5VolRx7rb5h5oNTreMKjPIJgnPaQKs,10957
90
+ moai_adk/statusline/update_checker.py,sha256=o5Z1b5YWIIQGBdLLXCm_2wkA5a0srz7b9eUMtm2GVFU,4154
91
+ moai_adk/statusline/version_reader.py,sha256=k3-r9tqxeyUsnn3ecqaSPYKK4Yoi4jJ7UnMbgWDhCXY,19975
92
+ moai_adk/templates/.gitignore,sha256=H6spcw0CATnHES9J3SRCwVKhi9dKLPTU_uif_h747mA,1049
93
+ moai_adk/templates/.mcp.json,sha256=sL46WYMvZ9GprPLtPU6uH5Jrtb_OrK0GstMsBHKjV8I,497
94
+ moai_adk/templates/CLAUDE.md,sha256=Suh2ywMQBYSNEO3Yjj5_Kboe0RTciCz8rbanY1tV9Kg,14562
95
+ moai_adk/templates/.git-hooks/pre-commit,sha256=86UIhXMqJ4i24mKrLdzvyWXYSMK__EtXGSpE19wgVw4,1802
96
+ moai_adk/templates/.git-hooks/pre-push,sha256=-tmtXRXABK4NmJIpWLnQe-yQqI_8blY81OItGSzUWpI,11131
97
+ moai_adk/templates/.github/workflows/moai-gitflow.yml,sha256=W2ak2laGgjZV-sxr9xh0JZWBlNdzDzyr717x8-5H3UQ,14640
98
+ moai_adk/templates/.github/workflows/moai-release-create.yml,sha256=KrHGkAep6iRyeLUh3YEP1XJCY7UO28lzqQY_DmwFkvw,2956
99
+ moai_adk/templates/.github/workflows/moai-release-pipeline.yml,sha256=k_tOYi09Y1GEdi934kxqjrGg62MAaNrQqEn4hWIWWlM,6573
100
+ moai_adk/templates/.github/workflows/spec-issue-sync.yml,sha256=LWcsf-Oorj2sLQgXb_Nr5D4tvVv9erZIiqruCdEChvg,13194
101
+ moai_adk/utils/__init__.py,sha256=HVKHRoiab3OdA1GH1TCsd-ScGwApYFeftd2wljNu4a4,138
102
+ moai_adk/utils/banner.py,sha256=if87ZDtQ-DeT3bm_x-vF4uhWAY9bG394-jWVZRavivw,1813
103
+ moai_adk/utils/common.py,sha256=nosmKfrdtWru_pm1rC9d8ysDERf7IQnuOfRvC4v546k,9545
104
+ moai_adk/utils/link_validator.py,sha256=pLq1lwcws7sQwyWgZj6zBw8wn2f15OV4v0tFHH2Ktg4,8245
105
+ moai_adk/utils/logger.py,sha256=bwC9wDYJMHvcVz5dfBf9HT5b_bVkqE1Ka9QQojf2hr4,4628
106
+ moai_adk/utils/safe_file_reader.py,sha256=sCw2L32z04tKs5VoB4vUIYx_clDZj6m0S4uhjgcMfTw,5993
107
+ moai_adk/utils/user_experience.py,sha256=c7K5pbb-9kMMWyC9hqpt86o-zaBiQPoOtFkBQ_nuug0,18924
108
+ moai_adk-0.25.4.dist-info/METADATA,sha256=ZUnyMtLqZqLCGhBCv8OMq87vRFCygDl7I-oP5nmOhvE,83686
109
+ moai_adk-0.25.4.dist-info/WHEEL,sha256=qtCwoSJWgHk21S1Kb4ihdzI2rlJ1ZKaIurTj_ngOhyQ,87
110
+ moai_adk-0.25.4.dist-info/entry_points.txt,sha256=P9no1794UipqH72LP-ltdyfVd_MeB1WKJY_6-JQgV3U,52
111
+ moai_adk-0.25.4.dist-info/licenses/LICENSE,sha256=M1M2b07fWcSWRM6_P3wbZKndZvyfHyYk_Wu9bS8F7o8,1069
112
+ moai_adk-0.25.4.dist-info/RECORD,,
@@ -1,86 +0,0 @@
1
- #!/usr/bin/env python3
2
- # @CODE:DOC-TAG-004 | TAG validation core module (Components 1, 2, 3 & 4)
3
- """TAG validation and management for MoAI-ADK
4
-
5
- This module provides TAG validation functionality for:
6
- - Pre-commit hook validation (Component 1)
7
- - CI/CD pipeline validation (Component 2)
8
- - Central validation system (Component 3)
9
- - Documentation & Reporting (Component 4)
10
- - TAG format checking
11
- - Duplicate detection
12
- - Orphan detection
13
- - Chain integrity validation
14
- """
15
-
16
- # Component 1: Pre-commit validator
17
- # Component 2: CI/CD validator
18
- from .ci_validator import CIValidator
19
- from .pre_commit_validator import (
20
- PreCommitValidator,
21
- ValidationError,
22
- ValidationResult,
23
- ValidationWarning,
24
- )
25
-
26
- # Component 4: Documentation & Reporting
27
- from .reporter import (
28
- CoverageAnalyzer,
29
- CoverageMetrics,
30
- InventoryGenerator,
31
- MatrixGenerator,
32
- ReportFormatter,
33
- ReportGenerator,
34
- ReportResult,
35
- StatisticsGenerator,
36
- StatisticsReport,
37
- TagInventory,
38
- TagMatrix,
39
- )
40
-
41
- # Component 3: Central validation system
42
- from .validator import (
43
- CentralValidationResult,
44
- CentralValidator,
45
- ChainValidator,
46
- DuplicateValidator,
47
- FormatValidator,
48
- OrphanValidator,
49
- TagValidator,
50
- ValidationConfig,
51
- ValidationIssue,
52
- ValidationStatistics,
53
- )
54
-
55
- __all__ = [
56
- # Component 1
57
- "PreCommitValidator",
58
- "ValidationResult",
59
- "ValidationError",
60
- "ValidationWarning",
61
- # Component 2
62
- "CIValidator",
63
- # Component 3
64
- "ValidationConfig",
65
- "TagValidator",
66
- "DuplicateValidator",
67
- "OrphanValidator",
68
- "ChainValidator",
69
- "FormatValidator",
70
- "CentralValidator",
71
- "CentralValidationResult",
72
- "ValidationIssue",
73
- "ValidationStatistics",
74
- # Component 4
75
- "TagInventory",
76
- "TagMatrix",
77
- "InventoryGenerator",
78
- "MatrixGenerator",
79
- "CoverageAnalyzer",
80
- "StatisticsGenerator",
81
- "ReportFormatter",
82
- "ReportGenerator",
83
- "CoverageMetrics",
84
- "StatisticsReport",
85
- "ReportResult",
86
- ]
@@ -1,463 +0,0 @@
1
- #!/usr/bin/env python3
2
- # @CODE:DOC-TAG-004 | Component 2: CI/CD pipeline TAG validator
3
- """CI/CD TAG validation module for GitHub Actions
4
-
5
- This module extends PreCommitValidator for CI/CD environments:
6
- - Fetches PR changed files via GitHub API
7
- - Generates structured validation reports (JSON/markdown)
8
- - Posts validation results as PR comments
9
- - Supports strict mode (block merge on warnings) and info mode
10
-
11
- Used by GitHub Actions workflow to validate TAGs on every PR.
12
- """
13
-
14
- import json
15
- import os
16
- from typing import Any, Dict, List, Optional
17
-
18
- import requests
19
- from requests.adapters import HTTPAdapter
20
- from urllib3.util import Retry
21
-
22
- from .pre_commit_validator import (
23
- PreCommitValidator,
24
- ValidationResult,
25
- )
26
-
27
-
28
- class CIValidator(PreCommitValidator):
29
- """CI/CD TAG validator for GitHub Actions
30
-
31
- Extends PreCommitValidator with CI/CD-specific features:
32
- - GitHub API integration for PR file detection
33
- - Structured report generation for automation
34
- - Markdown comment formatting for PR feedback
35
- - Environment variable support for GitHub Actions
36
-
37
- Args:
38
- github_token: GitHub API token (default: from GITHUB_TOKEN env)
39
- repo_owner: Repository owner (default: from GITHUB_REPOSITORY env)
40
- repo_name: Repository name (default: from GITHUB_REPOSITORY env)
41
- strict_mode: Treat warnings as errors
42
- check_orphans: Enable orphan TAG detection
43
- tag_pattern: Custom TAG regex pattern
44
- """
45
-
46
- def __init__(
47
- self,
48
- github_token: Optional[str] = None,
49
- repo_owner: Optional[str] = None,
50
- repo_name: Optional[str] = None,
51
- strict_mode: bool = False,
52
- check_orphans: bool = True,
53
- tag_pattern: Optional[str] = None
54
- ):
55
- super().__init__(strict_mode, check_orphans, tag_pattern)
56
-
57
- # GitHub configuration from environment or parameters
58
- self.github_token = github_token or os.environ.get('GITHUB_TOKEN', '')
59
-
60
- # Parse repo info from GITHUB_REPOSITORY (format: "owner/repo")
61
- repo_full = os.environ.get('GITHUB_REPOSITORY', '')
62
- if '/' in repo_full and not repo_owner and not repo_name:
63
- parts = repo_full.split('/', 1)
64
- self.repo_owner = parts[0]
65
- self.repo_name = parts[1]
66
- else:
67
- self.repo_owner = repo_owner or ''
68
- self.repo_name = repo_name or ''
69
-
70
- def get_pr_changed_files(self, pr_number: int) -> List[str]:
71
- """Fetch list of changed files in a PR via GitHub API
72
-
73
- Args:
74
- pr_number: Pull request number
75
-
76
- Returns:
77
- List of relative file paths changed in the PR
78
- """
79
- if not self.github_token or not self.repo_owner or not self.repo_name:
80
- return []
81
-
82
- url = (
83
- f"https://api.github.com/repos/"
84
- f"{self.repo_owner}/{self.repo_name}/pulls/{pr_number}/files"
85
- )
86
-
87
- headers = {
88
- 'Authorization': f'Bearer {self.github_token}',
89
- 'Accept': 'application/vnd.github.v3+json'
90
- }
91
-
92
- # Create session with retry strategy
93
- session = requests.Session()
94
- retry = Retry(
95
- total=3,
96
- backoff_factor=0.5,
97
- status_forcelist=[500, 502, 503, 504],
98
- allowed_methods=["GET"]
99
- )
100
- adapter = HTTPAdapter(max_retries=retry)
101
- session.mount("https://", adapter)
102
-
103
- try:
104
- # Dual timeout: (connect_timeout, read_timeout)
105
- response = session.get(
106
- url,
107
- headers=headers,
108
- timeout=(5, 10)
109
- )
110
- response.raise_for_status()
111
-
112
- files_data = response.json()
113
- return [file_info['filename'] for file_info in files_data]
114
-
115
- except requests.exceptions.Timeout:
116
- # Network timeout - return empty list gracefully
117
- return []
118
- except requests.exceptions.HTTPError as e:
119
- # HTTP error (4xx, 5xx)
120
- if e.response.status_code == 404:
121
- # PR not found
122
- return []
123
- # Other HTTP errors: log but continue
124
- return []
125
- except requests.exceptions.RequestException:
126
- # Network/connection errors
127
- return []
128
- finally:
129
- session.close()
130
-
131
- def validate_pr_changes(
132
- self,
133
- pr_number: int,
134
- base_branch: str = "main"
135
- ) -> ValidationResult:
136
- """Validate TAG annotations in PR changed files
137
-
138
- Main CI/CD validation method:
139
- 1. Fetch changed files from GitHub API
140
- 2. Run validation checks on those files
141
- 3. Return structured validation result
142
-
143
- Args:
144
- pr_number: Pull request number
145
- base_branch: Base branch name (not used currently)
146
-
147
- Returns:
148
- ValidationResult with errors and warnings
149
- """
150
- # Get PR changed files
151
- files = self.get_pr_changed_files(pr_number)
152
-
153
- if not files:
154
- return ValidationResult(is_valid=True)
155
-
156
- # Validate the changed files
157
- return self.validate_files(files)
158
-
159
- def generate_report(self, result: ValidationResult) -> Dict[str, Any]:
160
- """Generate structured validation report
161
-
162
- Creates JSON-serializable report with:
163
- - Status (success/failure/success_with_warnings)
164
- - Error details (message, tag, locations)
165
- - Warning details (message, tag, location)
166
- - Statistics (counts)
167
- - Configuration (strict_mode)
168
-
169
- Args:
170
- result: ValidationResult from validation
171
-
172
- Returns:
173
- Dictionary with structured report data
174
- """
175
- # Determine status
176
- if not result.is_valid:
177
- status = 'failure'
178
- elif result.warnings:
179
- status = 'success_with_warnings'
180
- else:
181
- status = 'success'
182
-
183
- # Build error list
184
- errors = []
185
- for error in result.errors:
186
- errors.append({
187
- 'message': error.message,
188
- 'tag': error.tag,
189
- 'locations': [
190
- {'file': filepath, 'line': line_num}
191
- for filepath, line_num in error.locations
192
- ]
193
- })
194
-
195
- # Build warning list
196
- warnings = []
197
- for warning in result.warnings:
198
- warnings.append({
199
- 'message': warning.message,
200
- 'tag': warning.tag,
201
- 'location': {
202
- 'file': warning.location[0],
203
- 'line': warning.location[1]
204
- }
205
- })
206
-
207
- # Calculate statistics
208
- statistics = {
209
- 'total_errors': len(result.errors),
210
- 'total_warnings': len(result.warnings),
211
- 'total_issues': len(result.errors) + len(result.warnings)
212
- }
213
-
214
- # Build complete report
215
- report = {
216
- 'status': status,
217
- 'is_valid': result.is_valid,
218
- 'strict_mode': self.strict_mode,
219
- 'summary': self._generate_summary(result),
220
- 'errors': errors,
221
- 'warnings': warnings,
222
- 'statistics': statistics
223
- }
224
-
225
- return report
226
-
227
- def _generate_summary(self, result: ValidationResult) -> str:
228
- """Generate human-readable summary text
229
-
230
- Args:
231
- result: ValidationResult
232
-
233
- Returns:
234
- Summary string
235
- """
236
- if result.is_valid and not result.warnings:
237
- return "All TAG validations passed. No issues found."
238
- elif result.is_valid and result.warnings:
239
- return f"Validation passed with {len(result.warnings)} warning(s)."
240
- else:
241
- return f"Validation failed with {len(result.errors)} error(s)."
242
-
243
- def format_pr_comment(
244
- self,
245
- result: ValidationResult,
246
- pr_url: str
247
- ) -> str:
248
- """Format validation result as markdown PR comment
249
-
250
- Creates formatted markdown comment with:
251
- - Status indicator (emoji)
252
- - Summary message
253
- - Error/warning table
254
- - Action items
255
- - Documentation links
256
-
257
- Args:
258
- result: ValidationResult from validation
259
- pr_url: URL of the pull request
260
-
261
- Returns:
262
- Markdown-formatted comment string
263
- """
264
- lines = []
265
-
266
- # Header with status indicator
267
- if result.is_valid and not result.warnings:
268
- lines.append("## ✅ TAG Validation Passed")
269
- lines.append("")
270
- lines.append("All TAG annotations are valid. No issues found.")
271
- elif result.is_valid and result.warnings:
272
- lines.append("## ⚠️ TAG Validation Passed with Warnings")
273
- lines.append("")
274
- lines.append(f"Validation passed but found {len(result.warnings)} warning(s).")
275
- else:
276
- lines.append("## ❌ TAG Validation Failed")
277
- lines.append("")
278
- lines.append(f"Found {len(result.errors)} error(s) that must be fixed.")
279
-
280
- lines.append("")
281
-
282
- # Error table
283
- if result.errors:
284
- lines.append("### Errors")
285
- lines.append("")
286
- lines.append("| TAG | Issue | Location |")
287
- lines.append("|-----|-------|----------|")
288
-
289
- for error in result.errors:
290
- tag = error.tag
291
- message = error.message
292
- locations = ', '.join([
293
- f"`{f}:{line}`" for f, line in error.locations[:3]
294
- ])
295
- if len(error.locations) > 3:
296
- locations += f" (+{len(error.locations) - 3} more)"
297
-
298
- lines.append(f"| `{tag}` | {message} | {locations} |")
299
-
300
- lines.append("")
301
-
302
- # Warning table
303
- if result.warnings:
304
- lines.append("### Warnings")
305
- lines.append("")
306
- lines.append("| TAG | Issue | Location |")
307
- lines.append("|-----|-------|----------|")
308
-
309
- for warning in result.warnings:
310
- tag = warning.tag
311
- message = warning.message
312
- location = f"`{warning.location[0]}:{warning.location[1]}`"
313
-
314
- lines.append(f"| `{tag}` | {message} | {location} |")
315
-
316
- lines.append("")
317
-
318
- # Action items
319
- if result.errors or result.warnings:
320
- lines.append("### How to Fix")
321
- lines.append("")
322
-
323
- if result.errors:
324
- lines.append("**Errors (must fix):**")
325
- lines.append("- Remove duplicate TAG declarations")
326
- lines.append("- Ensure TAGs follow format: `@PREFIX:DOMAIN-TYPE-NNN`")
327
- lines.append("")
328
-
329
- if result.warnings:
330
- lines.append("**Warnings (recommended):**")
331
- lines.append("- Add corresponding TEST tags for CODE tags")
332
- lines.append("- Add corresponding CODE tags for TEST tags")
333
- lines.append("- Complete TAG chain: SPEC → CODE → TEST → DOC")
334
- lines.append("")
335
-
336
- # Documentation link
337
- lines.append("---")
338
- lines.append("")
339
- lines.append("📚 **Documentation:** [TAG System Guide](.moai/memory/tag-system-guide.md)")
340
- lines.append("")
341
- lines.append(f"🔗 **PR:** {pr_url}")
342
-
343
- return "\n".join(lines)
344
-
345
- def get_pr_number_from_event(self) -> Optional[int]:
346
- """Extract PR number from GitHub Actions event file
347
-
348
- Reads GITHUB_EVENT_PATH to get PR number from event payload.
349
-
350
- Returns:
351
- PR number or None if not found
352
- """
353
- event_path = os.environ.get('GITHUB_EVENT_PATH')
354
- if not event_path:
355
- return None
356
-
357
- try:
358
- with open(event_path, 'r') as f:
359
- event_data = json.load(f)
360
- return event_data.get('pull_request', {}).get('number')
361
- except Exception:
362
- return None
363
-
364
- def generate_tag_report_link(self, pr_number: int) -> str:
365
- """Generate link to TAG reports for this PR
366
-
367
- Integration point with Component 4 (Reporting).
368
- Provides link to automated TAG reports generated by GitHub Actions.
369
-
370
- Args:
371
- pr_number: Pull request number
372
-
373
- Returns:
374
- Markdown link to TAG reports
375
- """
376
- # Link to GitHub Actions artifacts or docs directory
377
- if self.repo_owner and self.repo_name:
378
- docs_url = (
379
- f"https://github.com/{self.repo_owner}/{self.repo_name}/tree/main/docs"
380
- )
381
- return f"📊 [View TAG Reports]({docs_url})"
382
- else:
383
- return "📊 TAG Reports: See docs/ directory"
384
-
385
-
386
- def main():
387
- """CLI entry point for CI/CD validation"""
388
- import argparse
389
- import sys
390
-
391
- parser = argparse.ArgumentParser(
392
- description="Validate TAG annotations in GitHub PR"
393
- )
394
- parser.add_argument(
395
- "--pr-number",
396
- type=int,
397
- help="Pull request number (default: from GitHub Actions event)"
398
- )
399
- parser.add_argument(
400
- "--strict",
401
- action="store_true",
402
- help="Treat warnings as errors"
403
- )
404
- parser.add_argument(
405
- "--no-orphan-check",
406
- action="store_true",
407
- help="Disable orphan TAG checking"
408
- )
409
- parser.add_argument(
410
- "--output-json",
411
- help="Output report to JSON file"
412
- )
413
- parser.add_argument(
414
- "--output-comment",
415
- help="Output PR comment to file"
416
- )
417
-
418
- args = parser.parse_args()
419
-
420
- validator = CIValidator(
421
- strict_mode=args.strict,
422
- check_orphans=not args.no_orphan_check
423
- )
424
-
425
- # Get PR number
426
- pr_number = args.pr_number
427
- if not pr_number:
428
- pr_number = validator.get_pr_number_from_event()
429
-
430
- if not pr_number:
431
- print("Error: Could not determine PR number", file=sys.stderr)
432
- sys.exit(1)
433
-
434
- # Run validation
435
- result = validator.validate_pr_changes(pr_number)
436
-
437
- # Generate report
438
- report = validator.generate_report(result)
439
-
440
- # Output JSON report if requested
441
- if args.output_json:
442
- with open(args.output_json, 'w') as f:
443
- json.dump(report, f, indent=2)
444
-
445
- # Output PR comment if requested
446
- if args.output_comment:
447
- pr_url = (
448
- f"https://github.com/{validator.repo_owner}/"
449
- f"{validator.repo_name}/pull/{pr_number}"
450
- )
451
- comment = validator.format_pr_comment(result, pr_url)
452
- with open(args.output_comment, 'w') as f:
453
- f.write(comment)
454
-
455
- # Print summary
456
- print(result.format())
457
-
458
- # Exit with error code if validation failed
459
- sys.exit(0 if result.is_valid else 1)
460
-
461
-
462
- if __name__ == "__main__":
463
- main()