aiwf 0.3.7 β†’ 0.3.12

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.
Files changed (605) hide show
  1. package/CHANGELOG.md +97 -0
  2. package/README.ko.md +114 -28
  3. package/README.md +152 -40
  4. package/docs/AI-WORKFLOW.md +121 -19
  5. package/docs/API_DOCUMENTATION.md +1 -1
  6. package/docs/API_REFERENCE.md +1 -1
  7. package/docs/CLI_USAGE_GUIDE.ko.md +634 -0
  8. package/docs/CLI_USAGE_GUIDE.md +339 -178
  9. package/docs/COMMANDS_GUIDE.ko.md +308 -4
  10. package/docs/COMMANDS_GUIDE.md +117 -0
  11. package/docs/CONTRIBUTING.ko.md +6 -6
  12. package/docs/CONTRIBUTING.md +6 -6
  13. package/docs/DEVELOPMENT_GUIDE.ko.md +440 -0
  14. package/docs/DEVELOPMENT_GUIDE.md +1 -1
  15. package/docs/EXAMPLES.md +8 -6
  16. package/docs/GETTING_STARTED.md +6 -3
  17. package/docs/STATE_MANAGEMENT_GUIDE.ko.md +278 -0
  18. package/docs/STATE_MANAGEMENT_GUIDE.md +278 -0
  19. package/docs/TROUBLESHOOTING.md +14 -13
  20. package/docs/guides/checkpoint-system-guide-ko.md +356 -0
  21. package/docs/guides/checkpoint-system-guide.md +356 -0
  22. package/docs/guides/independent-sprint-guide-ko.md +321 -0
  23. package/docs/guides/independent-sprint-guide.md +321 -0
  24. package/package.json +30 -3
  25. package/scripts/update-file-lists.js +267 -0
  26. package/src/cli/checkpoint-cli.js +417 -0
  27. package/src/cli/index.js +461 -0
  28. package/src/cli/sprint-cli.js +287 -0
  29. package/src/commands/compress.js +60 -0
  30. package/src/commands/create-project.js +23 -17
  31. package/src/commands/evaluate.js +459 -0
  32. package/src/commands/persona.js +37 -16
  33. package/src/commands/sprint-independent.js +393 -0
  34. package/src/commands/state-refactored.js +419 -0
  35. package/src/commands/state.js +1164 -0
  36. package/src/commands/token.js +312 -0
  37. package/src/commands/yolo-config.js +502 -0
  38. package/src/config/file-lists.js +147 -0
  39. package/src/config/yolo-config-template.yaml +168 -0
  40. package/src/lib/file-downloader.js +7 -72
  41. package/src/lib/github-integration.js +402 -0
  42. package/src/lib/resource-loader-enhanced.js +399 -0
  43. package/src/lib/resource-loader.js +250 -0
  44. package/{claude-code/aiwf/ko β†’ src/lib/resources}/commands/ai-persona.js +1 -1
  45. package/src/lib/state/priority-calculator.js +217 -0
  46. package/src/lib/state/state-index.js +155 -0
  47. package/src/lib/state/task-scanner.js +328 -0
  48. package/src/utils/checkpoint-manager.js +425 -0
  49. package/src/utils/engineering-guard.js +389 -0
  50. package/.aiwf/00_PROJECT_MANIFEST.md +0 -196
  51. package/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +0 -121
  52. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_ADVANCED_USE_CASES.md +0 -412
  53. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_API_REFERENCE.md +0 -361
  54. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_COMMANDS_GUIDE.md +0 -254
  55. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_FAQ.md +0 -365
  56. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +0 -305
  57. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_USER_GUIDE.md +0 -416
  58. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +0 -247
  59. package/.aiwf/02_REQUIREMENTS/CLAUDE.md +0 -78
  60. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md +0 -34
  61. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/PRD_Context_Engineering_Enhancement.md +0 -108
  62. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_AI_Persona_System.md +0 -299
  63. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Feature_Ledger_System.md +0 -330
  64. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Token_Optimization.md +0 -833
  65. package/.aiwf/02_REQUIREMENTS/M03_Simone_Integration_Enhancement/M03_milestone_meta.md +0 -55
  66. package/.aiwf/02_REQUIREMENTS/M03_Simone_Integration_Enhancement/SPECS_AIWF_Simplified_Plan.md +0 -221
  67. package/.aiwf/03_SPRINTS/CLAUDE.md +0 -83
  68. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md +0 -95
  69. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX01_S01_Feature_Ledger_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +0 -111
  70. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX02_S01_Feature_Ledger_CLI_/353/252/205/353/240/271/354/226/264_/352/260/234/353/260/234.md +0 -115
  71. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX03_S01_Git_/354/227/260/353/217/231_Feature_/354/266/224/354/240/201.md +0 -141
  72. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX04_S01_Feature_Ledger_/353/254/270/354/204/234/355/231/224.md +0 -114
  73. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX05_S01_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/215/260/354/235/264/355/204/260_/352/265/254/354/241/260_/354/204/244/352/263/204.md +0 -123
  74. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX06_S01_/355/216/230/353/245/264/354/206/214/353/202/230_/352/264/200/353/246/254_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +0 -114
  75. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX07_S01_Context_/354/225/225/354/266/225_/354/225/204/355/202/244/355/205/215/354/262/230_/354/204/244/352/263/204.md +0 -114
  76. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX08_S01_/355/206/240/355/201/260_/354/266/224/354/240/201_/354/213/234/354/212/244/355/205/234_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +0 -112
  77. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX09_S01_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/355/224/204/353/241/234/355/206/240/355/203/200/354/236/205.md +0 -118
  78. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX10_S01_update_docs_/353/252/205/353/240/271/354/226/264_/353/263/265/352/265/254.md +0 -118
  79. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX11_S01_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_Suite_/352/265/254/354/266/225.md +0 -128
  80. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX12_S01_/354/204/261/353/212/245_/354/265/234/354/240/201/355/231/224_/353/260/217_/353/254/270/354/204/234/355/231/224.md +0 -122
  81. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/S02_M02_sprint_meta.md +0 -107
  82. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX01_S02_AI_/355/216/230/353/245/264/354/206/214/353/202/230_/353/252/205/353/240/271/354/226/264_/352/265/254/355/230/204.md +0 -129
  83. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX02_S02_/355/216/230/353/245/264/354/206/214/353/202/230_/354/273/250/355/205/215/354/212/244/355/212/270_/354/240/201/354/232/251_/354/213/234/354/212/244/355/205/234.md +0 -152
  84. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX03_S02_Context_/354/225/225/354/266/225_/354/225/214/352/263/240/353/246/254/354/246/230_/352/265/254/355/230/204.md +0 -186
  85. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX05_S02_S02_/355/206/265/355/225/251_/355/205/214/354/212/244/355/212/270_/353/260/217_/353/254/270/354/204/234/355/231/224.md +0 -192
  86. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/TX4_S02_Feature_Git_/354/227/260/353/217/231_/353/260/217_/354/236/220/353/217/231/355/231/224.md +0 -162
  87. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_FINAL_SPRINT_SUMMARY.md +0 -137
  88. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_M02_sprint_meta.md +0 -105
  89. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX14_S03_M02_/353/247/210/354/235/274/354/212/244/355/206/244_/354/265/234/354/242/205_/352/262/200/354/246/235_/353/260/217_/353/254/270/354/204/234/355/231/224.md +0 -214
  90. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX15_S03_/352/270/260/353/263/270_/355/224/204/353/241/234/354/240/235/355/212/270_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +0 -177
  91. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX16_S03_/354/230/244/355/224/204/353/235/274/354/235/270_/355/205/234/355/224/214/353/246/277_/354/272/220/354/213/234_/354/213/234/354/212/244/355/205/234.md +0 -206
  92. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/TX_T13_S03_AI_/353/217/204/352/265/254_/355/206/265/355/225/251_/355/205/234/355/224/214/353/246/277_/352/260/234/353/260/234.md +0 -151
  93. package/.aiwf/04_GENERAL_TASKS/CLAUDE.md +0 -96
  94. package/.aiwf/04_GENERAL_TASKS/TX001_complete_english_translation.md +0 -127
  95. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_GIT_INTEGRATION.md +0 -314
  96. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_INTEGRATION_GUIDE.md +0 -227
  97. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_LEDGER_INDEX.md +0 -23
  98. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_SCHEMA.md +0 -205
  99. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_STATE_DIAGRAM.md +0 -190
  100. package/.aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication_system.md +0 -47
  101. package/.aiwf/06_FEATURE_LEDGERS/active/FL002_user_authentication_system.md +0 -47
  102. package/.aiwf/07_AI_PERSONAS/architect/best_practices.md +0 -104
  103. package/.aiwf/07_AI_PERSONAS/architect/context_rules.md +0 -46
  104. package/.aiwf/07_AI_PERSONAS/architect/knowledge_base.md +0 -235
  105. package/.aiwf/07_AI_PERSONAS/backend/best_practices.md +0 -363
  106. package/.aiwf/07_AI_PERSONAS/backend/context_rules.md +0 -61
  107. package/.aiwf/07_AI_PERSONAS/backend/knowledge_base.md +0 -623
  108. package/.aiwf/07_AI_PERSONAS/data_analyst/best_practices.md +0 -32
  109. package/.aiwf/07_AI_PERSONAS/data_analyst/context_rules.md +0 -43
  110. package/.aiwf/07_AI_PERSONAS/data_analyst/knowledge_base.md +0 -36
  111. package/.aiwf/07_AI_PERSONAS/frontend/best_practices.md +0 -31
  112. package/.aiwf/07_AI_PERSONAS/frontend/context_rules.md +0 -43
  113. package/.aiwf/07_AI_PERSONAS/frontend/knowledge_base.md +0 -32
  114. package/.aiwf/07_AI_PERSONAS/security/best_practices.md +0 -63
  115. package/.aiwf/07_AI_PERSONAS/security/context_rules.md +0 -53
  116. package/.aiwf/07_AI_PERSONAS/security/knowledge_base.md +0 -93
  117. package/.aiwf/10_PERSONAS/active.json +0 -1
  118. package/.aiwf/10_STATE_OF_PROJECT/2025-07-09-07-20-solid-progress.md +0 -144
  119. package/.aiwf/98_PROMPTS/SAAS_DEVELOPMENT_GUIDE.md +0 -302
  120. package/.aiwf/98_PROMPTS/github_integration.md +0 -130
  121. package/.aiwf/98_PROMPTS/useful-prompts.md +0 -31
  122. package/.aiwf/98_PROMPTS/vibe-front-prompts.md +0 -89
  123. package/.aiwf/99_TEMPLATES/adr_template.md +0 -49
  124. package/.aiwf/99_TEMPLATES/feature_template.md +0 -263
  125. package/.aiwf/99_TEMPLATES/milestone_meta_template.md +0 -25
  126. package/.aiwf/99_TEMPLATES/project_manifest_template.md +0 -39
  127. package/.aiwf/99_TEMPLATES/sprint_meta_template.md +0 -23
  128. package/.aiwf/99_TEMPLATES/task_template.md +0 -36
  129. package/.aiwf/CLAUDE.md +0 -76
  130. package/.aiwf/ai-tools/README.md +0 -105
  131. package/.aiwf/ai-tools/augment/README.md +0 -371
  132. package/.aiwf/ai-tools/augment/config.json +0 -30
  133. package/.aiwf/ai-tools/augment/template/.augment/aiwf-integration.md +0 -387
  134. package/.aiwf/ai-tools/augment/template/.augment/augment.yaml +0 -347
  135. package/.aiwf/ai-tools/augment/template/augment.config.json +0 -64
  136. package/.aiwf/ai-tools/claude-code/README.md +0 -151
  137. package/.aiwf/ai-tools/claude-code/config.json +0 -28
  138. package/.aiwf/ai-tools/claude-code/template/CLAUDE.md +0 -91
  139. package/.aiwf/ai-tools/cursor/README.md +0 -314
  140. package/.aiwf/ai-tools/cursor/config.json +0 -29
  141. package/.aiwf/ai-tools/cursor/template/.cursorrules +0 -362
  142. package/.aiwf/ai-tools/github-copilot/README.md +0 -195
  143. package/.aiwf/ai-tools/github-copilot/config.json +0 -24
  144. package/.aiwf/ai-tools/github-copilot/template/.github/copilot-instructions.md +0 -202
  145. package/.aiwf/ai-tools/windsurf/README.md +0 -355
  146. package/.aiwf/ai-tools/windsurf/config.json +0 -29
  147. package/.aiwf/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +0 -260
  148. package/.aiwf/ai-tools/windsurf/template/.windsurf/windsurf.config.js +0 -312
  149. package/.aiwf/ai-tools/windsurf/template/windsurf.config.json +0 -63
  150. package/.aiwf/config/language.json +0 -6
  151. package/.aiwf/feature-ledger/FL-001-authentication.json +0 -52
  152. package/.aiwf/feature-ledger/feature-index.json +0 -20
  153. package/.aiwf/installed.flag +0 -1
  154. package/.aiwf/metrics/metrics.json +0 -18
  155. package/.aiwf/personas/current.json +0 -5
  156. package/.aiwf/scripts/cache-templates.js +0 -209
  157. package/.aiwf/scripts/create-offline.js +0 -86
  158. package/.aiwf/scripts/create-project.js +0 -151
  159. package/.aiwf/scripts/feature-progress-calculator.cjs +0 -236
  160. package/.aiwf/scripts/git-integration.cjs +0 -391
  161. package/.aiwf/scripts/install-git-hooks.cjs +0 -226
  162. package/.aiwf/scripts/test-commit-parsing.cjs +0 -125
  163. package/.aiwf/scripts/update-feature-status.cjs +0 -198
  164. package/.aiwf/test-results-s02.json +0 -36
  165. package/.claude/commands/aiwf/aiwf_add_task_to_sprint.md +0 -283
  166. package/.claude/commands/aiwf/aiwf_changelog.md +0 -82
  167. package/.claude/commands/aiwf/aiwf_code_review.md +0 -88
  168. package/.claude/commands/aiwf/aiwf_commit.md +0 -160
  169. package/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +0 -53
  170. package/.claude/commands/aiwf/aiwf_compress_context.md +0 -116
  171. package/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +0 -48
  172. package/.claude/commands/aiwf/aiwf_compress_stats.md +0 -79
  173. package/.claude/commands/aiwf/aiwf_compress_with_persona.md +0 -51
  174. package/.claude/commands/aiwf/aiwf_create_feature_ledger.md +0 -54
  175. package/.claude/commands/aiwf/aiwf_create_general_task.md +0 -147
  176. package/.claude/commands/aiwf/aiwf_create_milestone_plan.md +0 -194
  177. package/.claude/commands/aiwf/aiwf_create_prd.md +0 -280
  178. package/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +0 -189
  179. package/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +0 -121
  180. package/.claude/commands/aiwf/aiwf_default_mode.md +0 -44
  181. package/.claude/commands/aiwf/aiwf_discuss_review.md +0 -29
  182. package/.claude/commands/aiwf/aiwf_do_task.md +0 -109
  183. package/.claude/commands/aiwf/aiwf_docs.md +0 -225
  184. package/.claude/commands/aiwf/aiwf_evaluate.md +0 -92
  185. package/.claude/commands/aiwf/aiwf_get_feature_details.md +0 -78
  186. package/.claude/commands/aiwf/aiwf_infinite.md +0 -202
  187. package/.claude/commands/aiwf/aiwf_initialize.md +0 -134
  188. package/.claude/commands/aiwf/aiwf_install_git_hooks.md +0 -63
  189. package/.claude/commands/aiwf/aiwf_issue_create.md +0 -65
  190. package/.claude/commands/aiwf/aiwf_link_feature_branch.md +0 -43
  191. package/.claude/commands/aiwf/aiwf_link_feature_commit.md +0 -46
  192. package/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +0 -57
  193. package/.claude/commands/aiwf/aiwf_list_features.md +0 -54
  194. package/.claude/commands/aiwf/aiwf_mermaid.md +0 -272
  195. package/.claude/commands/aiwf/aiwf_persona_architect.md +0 -48
  196. package/.claude/commands/aiwf/aiwf_persona_backend.md +0 -37
  197. package/.claude/commands/aiwf/aiwf_persona_data_analyst.md +0 -37
  198. package/.claude/commands/aiwf/aiwf_persona_frontend.md +0 -37
  199. package/.claude/commands/aiwf/aiwf_persona_security.md +0 -48
  200. package/.claude/commands/aiwf/aiwf_persona_status.md +0 -50
  201. package/.claude/commands/aiwf/aiwf_pr_create.md +0 -76
  202. package/.claude/commands/aiwf/aiwf_prime.md +0 -9
  203. package/.claude/commands/aiwf/aiwf_project_review.md +0 -261
  204. package/.claude/commands/aiwf/aiwf_switch_language.md +0 -160
  205. package/.claude/commands/aiwf/aiwf_test.md +0 -124
  206. package/.claude/commands/aiwf/aiwf_testing_review.md +0 -198
  207. package/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +0 -210
  208. package/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +0 -460
  209. package/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +0 -165
  210. package/.claude/commands/aiwf/aiwf_ultrathink_general.md +0 -305
  211. package/.claude/commands/aiwf/aiwf_update_docs_kr.md +0 -25
  212. package/.claude/commands/aiwf/aiwf_update_feature_status.md +0 -53
  213. package/.claude/commands/aiwf/aiwf_yolo.md +0 -300
  214. package/.eslintrc.json +0 -26
  215. package/.prettierrc +0 -10
  216. package/CLAUDE.md +0 -254
  217. package/RELEASE_NOTES_M02.md +0 -177
  218. package/TEST_RECOVERY_PLAN.md +0 -68
  219. package/claude-code/aiwf/en/.aiwf/00_PROJECT_MANIFEST.md +0 -49
  220. package/claude-code/aiwf/en/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +0 -55
  221. package/claude-code/aiwf/en/.aiwf/02_REQUIREMENTS/CLAUDE.md +0 -78
  222. package/claude-code/aiwf/en/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +0 -42
  223. package/claude-code/aiwf/en/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +0 -73
  224. package/claude-code/aiwf/en/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -98
  225. package/claude-code/aiwf/en/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -232
  226. package/claude-code/aiwf/en/.aiwf/03_SPRINTS/CLAUDE.md +0 -83
  227. package/claude-code/aiwf/en/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +0 -49
  228. package/claude-code/aiwf/en/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +0 -60
  229. package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/CLAUDE.md +0 -96
  230. package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +0 -54
  231. package/claude-code/aiwf/en/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +0 -58
  232. package/claude-code/aiwf/en/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +0 -119
  233. package/claude-code/aiwf/en/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +0 -124
  234. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +0 -139
  235. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +0 -155
  236. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +0 -122
  237. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +0 -141
  238. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +0 -177
  239. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +0 -149
  240. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/index.json +0 -5
  241. package/claude-code/aiwf/en/.aiwf/10_STATE_OF_PROJECT/sync-index.js +0 -78
  242. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/github_integration.md +0 -130
  243. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/useful-prompts.md +0 -31
  244. package/claude-code/aiwf/en/.aiwf/98_PROMPTS/vibe-front-prompts.md +0 -89
  245. package/claude-code/aiwf/en/.aiwf/99_TEMPLATES/adr_template.md +0 -49
  246. package/claude-code/aiwf/en/.aiwf/99_TEMPLATES/milestone_meta_template.md +0 -25
  247. package/claude-code/aiwf/en/.aiwf/99_TEMPLATES/project_manifest_template.md +0 -39
  248. package/claude-code/aiwf/en/.aiwf/99_TEMPLATES/sprint_meta_template.md +0 -23
  249. package/claude-code/aiwf/en/.aiwf/99_TEMPLATES/task_template.md +0 -36
  250. package/claude-code/aiwf/en/.aiwf/CLAUDE.md +0 -74
  251. package/claude-code/aiwf/en/.aiwf/README.md +0 -97
  252. package/claude-code/aiwf/en/.claude/CLAUDE_BE.md +0 -276
  253. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_changelog.md +0 -82
  254. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_code_review.md +0 -88
  255. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_commit.md +0 -160
  256. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_feature_ledger.md +0 -54
  257. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_general_task.md +0 -147
  258. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_milestone_plan.md +0 -194
  259. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_prd.md +0 -272
  260. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +0 -189
  261. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +0 -121
  262. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_testcase.md +0 -561
  263. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_default_mode.md +0 -66
  264. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_discuss_review.md +0 -29
  265. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_do_task.md +0 -109
  266. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_docs.md +0 -225
  267. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_get_feature_details.md +0 -78
  268. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_infinite.md +0 -202
  269. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_initialize.md +0 -134
  270. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_issue_create.md +0 -65
  271. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +0 -57
  272. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_list_features.md +0 -54
  273. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_mermaid.md +0 -272
  274. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_architect.md +0 -60
  275. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_backend.md +0 -60
  276. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_data_analyst.md +0 -60
  277. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_frontend.md +0 -60
  278. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_security.md +0 -60
  279. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_status.md +0 -72
  280. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_pr_create.md +0 -76
  281. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_prime.md +0 -9
  282. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_project_review.md +0 -261
  283. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_switch_language.md +0 -160
  284. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_test.md +0 -125
  285. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_testing_review.md +0 -198
  286. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +0 -206
  287. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +0 -460
  288. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +0 -165
  289. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_ultrathink_general.md +0 -362
  290. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_update_feature_status.md +0 -53
  291. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_yolo.md +0 -300
  292. package/claude-code/aiwf/en/.claude/mcp.json +0 -31
  293. package/claude-code/aiwf/en/.claude/settings.json +0 -102
  294. package/claude-code/aiwf/en/commands/ai-persona.js +0 -667
  295. package/claude-code/aiwf/en/commands/compress-context.js +0 -355
  296. package/claude-code/aiwf/en/commands/feature-ledger.js +0 -565
  297. package/claude-code/aiwf/en/config/commit-patterns.js +0 -103
  298. package/claude-code/aiwf/en/hooks/install-hooks.sh +0 -100
  299. package/claude-code/aiwf/en/hooks/post-commit +0 -84
  300. package/claude-code/aiwf/en/tests/compression-test-suite.js +0 -1252
  301. package/claude-code/aiwf/en/tests/test-git-integration.js +0 -164
  302. package/claude-code/aiwf/en/tests/token-tracking.test.js +0 -537
  303. package/claude-code/aiwf/en/utils/context-compressor.js +0 -583
  304. package/claude-code/aiwf/en/utils/git-utils.js +0 -220
  305. package/claude-code/aiwf/en/utils/text-summarizer.js +0 -487
  306. package/claude-code/aiwf/ko/.aiwf/00_PROJECT_MANIFEST.md +0 -49
  307. package/claude-code/aiwf/ko/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +0 -55
  308. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/CLAUDE.md +0 -78
  309. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/M01_milestone_meta.md +0 -42
  310. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_AMEND_01_Auth_Flow_Update.md +0 -73
  311. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/PRD_Backend_Setup.md +0 -98
  312. package/claude-code/aiwf/ko/.aiwf/02_REQUIREMENTS/M01_Backend_Setup/SPECS_API_V1.md +0 -232
  313. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/CLAUDE.md +0 -83
  314. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/S01_sprint_meta.md +0 -49
  315. package/claude-code/aiwf/ko/.aiwf/03_SPRINTS/S01_M01_Initial_API/T01_S01_Setup_Project_Structure.md +0 -60
  316. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/CLAUDE.md +0 -96
  317. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/T002_API_Rate_Limiting.md +0 -54
  318. package/claude-code/aiwf/ko/.aiwf/04_GENERAL_TASKS/TX001_Refactor_Logging_Module.md +0 -58
  319. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR001_Chosen_Database_System.md +0 -119
  320. package/claude-code/aiwf/ko/.aiwf/05_ARCHITECTURAL_DECISIONS/ADR002_API_Authentication_Method.md +0 -124
  321. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_ID_GENERATOR.md +0 -138
  322. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_INDEX.md +0 -186
  323. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_METADATA.md +0 -240
  324. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_WORKFLOW.md +0 -183
  325. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/README.md +0 -94
  326. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL001_/354/202/254/354/232/251/354/236/220_/354/235/270/354/246/235_/354/213/234/354/212/244/355/205/234.md +0 -154
  327. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/active/FL002_ai_/355/216/230/353/245/264/354/206/214/353/202/230_/354/213/234/354/212/244/355/205/234.md +0 -272
  328. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/completed/FL003_/353/213/244/352/265/255/354/226/264_/353/252/205/353/240/271/354/226/264_/355/221/234/354/244/200/355/231/224.md +0 -266
  329. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_schema.json +0 -122
  330. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_validator.cjs +0 -406
  331. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-needs-focus.md +0 -139
  332. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-12-12-00-test-alignment.md +0 -155
  333. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-13-00-50-solid-progress.md +0 -122
  334. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-14-08-30-infrastructure-challenges.md +0 -141
  335. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-16-21-48-critical-foundation-issues.md +0 -177
  336. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/2025-06-17-15-08-solid-progress.md +0 -149
  337. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/index.json +0 -5
  338. package/claude-code/aiwf/ko/.aiwf/10_STATE_OF_PROJECT/sync-index.js +0 -78
  339. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/github_integration.md +0 -130
  340. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/useful-prompts.md +0 -31
  341. package/claude-code/aiwf/ko/.aiwf/98_PROMPTS/vibe-front-prompts.md +0 -89
  342. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/adr_template.md +0 -49
  343. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/milestone_meta_template.md +0 -25
  344. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/project_manifest_template.md +0 -39
  345. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/sprint_meta_template.md +0 -23
  346. package/claude-code/aiwf/ko/.aiwf/99_TEMPLATES/task_template.md +0 -36
  347. package/claude-code/aiwf/ko/.aiwf/CLAUDE.md +0 -76
  348. package/claude-code/aiwf/ko/.aiwf/README.md +0 -97
  349. package/claude-code/aiwf/ko/.claude/CLAUDE_BE.md +0 -276
  350. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_changelog.md +0 -82
  351. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_code_review.md +0 -88
  352. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_commit.md +0 -160
  353. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +0 -53
  354. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_context.md +0 -116
  355. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +0 -48
  356. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_stats.md +0 -79
  357. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_with_persona.md +0 -51
  358. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_feature_ledger.md +0 -54
  359. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_general_task.md +0 -147
  360. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_milestone_plan.md +0 -194
  361. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_prd.md +0 -280
  362. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprint_tasks.md +0 -189
  363. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_sprints_from_milestone.md +0 -121
  364. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_testcase.md +0 -561
  365. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_default_mode.md +0 -44
  366. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_discuss_review.md +0 -29
  367. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_do_task.md +0 -109
  368. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_docs.md +0 -225
  369. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_evaluate.md +0 -92
  370. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_get_feature_details.md +0 -78
  371. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_infinite.md +0 -202
  372. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_initialize.md +0 -134
  373. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_issue_create.md +0 -65
  374. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +0 -57
  375. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_list_features.md +0 -54
  376. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_mermaid.md +0 -272
  377. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_architect.md +0 -48
  378. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_backend.md +0 -37
  379. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_data_analyst.md +0 -37
  380. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_frontend.md +0 -37
  381. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_security.md +0 -48
  382. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_status.md +0 -50
  383. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_pr_create.md +0 -76
  384. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_prime.md +0 -9
  385. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_project_review.md +0 -261
  386. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_switch_language.md +0 -160
  387. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_test.md +0 -124
  388. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_testing_review.md +0 -198
  389. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_tm-run-all-subtask.md +0 -210
  390. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_advanced.md +0 -460
  391. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_code_basic.md +0 -165
  392. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_ultrathink_general.md +0 -305
  393. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_docs_kr.md +0 -25
  394. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_feature_status.md +0 -53
  395. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +0 -300
  396. package/claude-code/aiwf/ko/.claude/mcp.json +0 -31
  397. package/claude-code/aiwf/ko/.claude/settings.json +0 -102
  398. package/claude-code/aiwf/ko/CLAUDE.md +0 -76
  399. package/claude-code/aiwf/ko/ai-tools/README.md +0 -105
  400. package/claude-code/aiwf/ko/ai-tools/augment/README.md +0 -371
  401. package/claude-code/aiwf/ko/ai-tools/augment/config.json +0 -30
  402. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/aiwf-integration.md +0 -387
  403. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/augment.yaml +0 -347
  404. package/claude-code/aiwf/ko/ai-tools/augment/template/augment.config.json +0 -64
  405. package/claude-code/aiwf/ko/ai-tools/claude-code/README.md +0 -151
  406. package/claude-code/aiwf/ko/ai-tools/claude-code/config.json +0 -28
  407. package/claude-code/aiwf/ko/ai-tools/claude-code/template/CLAUDE.md +0 -91
  408. package/claude-code/aiwf/ko/ai-tools/cursor/README.md +0 -314
  409. package/claude-code/aiwf/ko/ai-tools/cursor/config.json +0 -29
  410. package/claude-code/aiwf/ko/ai-tools/cursor/template/.cursorrules +0 -362
  411. package/claude-code/aiwf/ko/ai-tools/github-copilot/README.md +0 -195
  412. package/claude-code/aiwf/ko/ai-tools/github-copilot/config.json +0 -24
  413. package/claude-code/aiwf/ko/ai-tools/github-copilot/template/.github/copilot-instructions.md +0 -202
  414. package/claude-code/aiwf/ko/ai-tools/windsurf/README.md +0 -355
  415. package/claude-code/aiwf/ko/ai-tools/windsurf/config.json +0 -29
  416. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +0 -260
  417. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/windsurf.config.js +0 -312
  418. package/claude-code/aiwf/ko/ai-tools/windsurf/template/windsurf.config.json +0 -63
  419. package/claude-code/aiwf/ko/commands/feature_commit_report.js +0 -370
  420. package/claude-code/aiwf/ko/commands/scan_git_history.js +0 -234
  421. package/claude-code/aiwf/ko/commands/sync_feature_commits.js +0 -154
  422. package/claude-code/aiwf/ko/commands/token-tracking.js +0 -443
  423. package/claude-code/aiwf/ko/feature-ledger/FL-001-authentication.json +0 -52
  424. package/claude-code/aiwf/ko/feature-ledger/feature-index.json +0 -20
  425. package/claude-code/aiwf/ko/hooks/install-hooks.sh +0 -100
  426. package/claude-code/aiwf/ko/hooks/post-commit +0 -84
  427. package/claude-code/aiwf/ko/personas/PERSONA_INDEX.md +0 -57
  428. package/claude-code/aiwf/ko/personas/analyst.json +0 -44
  429. package/claude-code/aiwf/ko/personas/architect/best_practices.md +0 -136
  430. package/claude-code/aiwf/ko/personas/architect/knowledge_base.md +0 -377
  431. package/claude-code/aiwf/ko/personas/architect.json +0 -44
  432. package/claude-code/aiwf/ko/personas/backend/best_practices.md +0 -766
  433. package/claude-code/aiwf/ko/personas/backend/knowledge_base.md +0 -1070
  434. package/claude-code/aiwf/ko/personas/data_analyst/best_practices.md +0 -594
  435. package/claude-code/aiwf/ko/personas/data_analyst/knowledge_base.md +0 -1057
  436. package/claude-code/aiwf/ko/personas/developer.json +0 -44
  437. package/claude-code/aiwf/ko/personas/developer.md +0 -37
  438. package/claude-code/aiwf/ko/personas/evaluation_criteria.json +0 -137
  439. package/claude-code/aiwf/ko/personas/frontend/best_practices.md +0 -445
  440. package/claude-code/aiwf/ko/personas/frontend/knowledge_base.md +0 -729
  441. package/claude-code/aiwf/ko/personas/persona-index.json +0 -31
  442. package/claude-code/aiwf/ko/personas/reviewer.json +0 -44
  443. package/claude-code/aiwf/ko/personas/security/best_practices.md +0 -307
  444. package/claude-code/aiwf/ko/personas/security/knowledge_base.md +0 -498
  445. package/claude-code/aiwf/ko/personas/tester.json +0 -44
  446. package/claude-code/aiwf/ko/scripts/cache-templates.js +0 -209
  447. package/claude-code/aiwf/ko/scripts/create-offline.js +0 -86
  448. package/claude-code/aiwf/ko/scripts/create-project.js +0 -151
  449. package/claude-code/aiwf/ko/scripts/feature-progress-calculator.cjs +0 -236
  450. package/claude-code/aiwf/ko/scripts/git-integration.cjs +0 -391
  451. package/claude-code/aiwf/ko/scripts/install-git-hooks.cjs +0 -226
  452. package/claude-code/aiwf/ko/scripts/test-commit-parsing.cjs +0 -125
  453. package/claude-code/aiwf/ko/scripts/update-feature-status.cjs +0 -198
  454. package/claude-code/aiwf/ko/tests/compression-test-suite.js +0 -1252
  455. package/claude-code/aiwf/ko/tests/test-git-integration.js +0 -164
  456. package/claude-code/aiwf/ko/tests/token-tracking.test.js +0 -537
  457. package/claude-code/aiwf/ko/utils/compression-metrics.js +0 -1031
  458. package/claude-code/aiwf/ko/utils/compression-strategies.js +0 -557
  459. package/claude-code/aiwf/ko/utils/content-normalizer.js +0 -455
  460. package/claude-code/aiwf/ko/utils/feature-updater.js +0 -271
  461. package/claude-code/aiwf/ko/utils/importance-classifier.js +0 -645
  462. package/claude-code/aiwf/ko/utils/information-filter.js +0 -710
  463. package/claude-code/aiwf/ko/utils/token-counter.js +0 -177
  464. package/claude-code/aiwf/ko/utils/token-monitor.js +0 -484
  465. package/claude-code/aiwf/ko/utils/token-reporter.js +0 -453
  466. package/claude-code/aiwf/ko/utils/token-storage.js +0 -433
  467. package/claude-code/aiwf/ko/utils/token-tracker.js +0 -283
  468. package/claude-code/docker/Dockerfile +0 -117
  469. package/jest.config.js +0 -23
  470. package/scripts/update-feature-status.js +0 -70
  471. package/tests/application.test.js +0 -260
  472. package/tests/basic.test.js +0 -62
  473. package/tests/commands.test.js +0 -127
  474. package/tests/installer.test.js +0 -129
  475. package/tests/integration/ai-persona-system.test.js +0 -396
  476. package/tests/integration/ai-persona.test.js +0 -390
  477. package/tests/integration/command-integration.test.js +0 -600
  478. package/tests/integration/context-compression.test.js +0 -361
  479. package/tests/integration/feature-ledger.test.js +0 -226
  480. package/tests/integration/git-integration.test.js +0 -307
  481. package/tests/integration/m02-milestone.test.js +0 -420
  482. package/tests/integration/persona-context-application.test.js +0 -508
  483. package/tests/integration/setup.js +0 -174
  484. package/tests/integration/test-persona-aware-compression.js +0 -93
  485. package/tests/integration/test-persona-system/.aiwf/metrics/metrics.json +0 -833
  486. package/tests/integration/test-persona-system/docs/README.md +0 -1
  487. package/tests/integration/test-persona-system/package.json +0 -1
  488. package/tests/integration/test-persona-system/src/auth.js +0 -1
  489. package/tests/integration/test-persona-system/src/index.js +0 -1
  490. package/tests/integration/test-persona-system/test/test.js +0 -1
  491. package/tests/language-utils.test.js +0 -287
  492. package/tests/s02-integration.test.js +0 -422
  493. package/tests/unit/ai-persona-manager.test.js +0 -514
  494. package/tests/unit/sprint-task.test.js +0 -172
  495. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/commands/compress-context.js +0 -0
  496. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/commands/evaluate.js +0 -0
  497. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/commands/feature-ledger.js +0 -0
  498. /package/{claude-code/aiwf/en β†’ src/lib/resources}/commands/feature_commit_report.js +0 -0
  499. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/commands/persona-context-apply.js +0 -0
  500. /package/{claude-code/aiwf/en β†’ src/lib/resources}/commands/scan_git_history.js +0 -0
  501. /package/{claude-code/aiwf/en β†’ src/lib/resources}/commands/sync_feature_commits.js +0 -0
  502. /package/{claude-code/aiwf/en β†’ src/lib/resources}/commands/token-tracking.js +0 -0
  503. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/config/commit-patterns.js +0 -0
  504. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/config/language.json +0 -0
  505. /package/{.aiwf/07_AI_PERSONAS β†’ src/lib/resources/personas}/PERSONA_INDEX.md +0 -0
  506. /package/{.aiwf β†’ src/lib/resources}/personas/analyst.json +0 -0
  507. /package/{.aiwf β†’ src/lib/resources}/personas/architect/best_practices.md +0 -0
  508. /package/{.aiwf β†’ src/lib/resources}/personas/architect/knowledge_base.md +0 -0
  509. /package/{.aiwf β†’ src/lib/resources}/personas/architect.json +0 -0
  510. /package/{.aiwf β†’ src/lib/resources}/personas/backend/best_practices.md +0 -0
  511. /package/{.aiwf β†’ src/lib/resources}/personas/backend/knowledge_base.md +0 -0
  512. /package/{.aiwf β†’ src/lib/resources}/personas/data_analyst/best_practices.md +0 -0
  513. /package/{.aiwf β†’ src/lib/resources}/personas/data_analyst/knowledge_base.md +0 -0
  514. /package/{.aiwf β†’ src/lib/resources}/personas/developer.json +0 -0
  515. /package/{.aiwf/10_PERSONAS β†’ src/lib/resources/personas}/developer.md +0 -0
  516. /package/{.aiwf β†’ src/lib/resources}/personas/evaluation_criteria.json +0 -0
  517. /package/{.aiwf β†’ src/lib/resources}/personas/frontend/best_practices.md +0 -0
  518. /package/{.aiwf β†’ src/lib/resources}/personas/frontend/knowledge_base.md +0 -0
  519. /package/{.aiwf β†’ src/lib/resources}/personas/persona-index.json +0 -0
  520. /package/{.aiwf β†’ src/lib/resources}/personas/reviewer.json +0 -0
  521. /package/{.aiwf β†’ src/lib/resources}/personas/security/best_practices.md +0 -0
  522. /package/{.aiwf β†’ src/lib/resources}/personas/security/knowledge_base.md +0 -0
  523. /package/{.aiwf β†’ src/lib/resources}/personas/tester.json +0 -0
  524. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/README.md +0 -0
  525. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/config.json +0 -0
  526. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.aiwf/config.json +0 -0
  527. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.aiwf/feature-ledger.json +0 -0
  528. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.aiwf/personas/backend-engineer.json +0 -0
  529. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.aiwf/scripts/cli.js +0 -0
  530. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.env.example +0 -0
  531. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/.eslintrc.json +0 -0
  532. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/README.md +0 -0
  533. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/jest.config.js +0 -0
  534. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/nodemon.json +0 -0
  535. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/package.json +0 -0
  536. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/app.ts +0 -0
  537. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/config/swagger.ts +0 -0
  538. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/controllers/aiwfController.ts +0 -0
  539. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/controllers/authController.ts +0 -0
  540. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/controllers/statusController.ts +0 -0
  541. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/index.ts +0 -0
  542. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/middleware/aiwfMiddleware.ts +0 -0
  543. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/middleware/authMiddleware.ts +0 -0
  544. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/middleware/errorHandler.ts +0 -0
  545. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/middleware/notFoundHandler.ts +0 -0
  546. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/middleware/requestLogger.ts +0 -0
  547. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/routes/aiwf.ts +0 -0
  548. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/routes/index.ts +0 -0
  549. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/routes/v1/index.ts +0 -0
  550. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/src/utils/logger.ts +0 -0
  551. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/tests/app.test.ts +0 -0
  552. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/api-server/template/tsconfig.json +0 -0
  553. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/npm-library/config.json +0 -0
  554. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/npm-library/template/LICENSE +0 -0
  555. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/npm-library/template/README.md +0 -0
  556. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/npm-library/template/package.json +0 -0
  557. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/config.json +0 -0
  558. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/.aiwf/config.json +0 -0
  559. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/.aiwf/feature-ledger.json +0 -0
  560. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/.aiwf/personas/fullstack-developer.json +0 -0
  561. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/.aiwf/scripts/cli.js +0 -0
  562. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/.eslintrc.cjs +0 -0
  563. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/README.md +0 -0
  564. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/index.html +0 -0
  565. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/package.json +0 -0
  566. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/postcss.config.js +0 -0
  567. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/public/vite.svg +0 -0
  568. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/App.tsx +0 -0
  569. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/components/Layout.tsx +0 -0
  570. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +0 -0
  571. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +0 -0
  572. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +0 -0
  573. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/index.css +0 -0
  574. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/main.tsx +0 -0
  575. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/pages/AiwfDashboard.tsx +0 -0
  576. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/pages/HomePage.tsx +0 -0
  577. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/pages/NotFound.tsx +0 -0
  578. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/stores/aiwfStore.ts +0 -0
  579. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/types/global.d.ts +0 -0
  580. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/src/vite-env.d.ts +0 -0
  581. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/tailwind.config.js +0 -0
  582. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/tsconfig.json +0 -0
  583. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/tsconfig.node.json +0 -0
  584. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/templates/web-app/template/vite.config.ts +0 -0
  585. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/background-monitor.js +0 -0
  586. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/compression-metrics.js +0 -0
  587. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/compression-strategies.js +0 -0
  588. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/content-normalizer.js +0 -0
  589. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/context-compressor.js +0 -0
  590. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/context-rule-parser.js +0 -0
  591. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/context-token-monitor.js +0 -0
  592. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/context-update-manager.js +0 -0
  593. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/feature-updater.js +0 -0
  594. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/git-utils.js +0 -0
  595. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/importance-classifier.js +0 -0
  596. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/information-filter.js +0 -0
  597. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/persona-aware-compressor.js +0 -0
  598. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/prompt-injector.js +0 -0
  599. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/simplified-evaluator.js +0 -0
  600. /package/{claude-code/aiwf/ko β†’ src/lib/resources}/utils/text-summarizer.js +0 -0
  601. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/token-counter.js +0 -0
  602. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/token-monitor.js +0 -0
  603. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/token-reporter.js +0 -0
  604. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/token-storage.js +0 -0
  605. /package/{claude-code/aiwf/en β†’ src/lib/resources}/utils/token-tracker.js +0 -0
@@ -1,60 +0,0 @@
1
- ---
2
- task_id: T01_S01
3
- sprint_sequence_id: S01
4
- status: in_progress # open | in_progress | pending_review | done | failed | blocked
5
- complexity: Medium # Low | Medium | High
6
- last_updated: 2023-07-15
7
- ---
8
-
9
- # Task: Setup Project Structure (EXAMPLE)
10
-
11
- ## Description
12
-
13
- Set up the initial project structure for the backend API service, including directory organization, dependency installation, and basic configuration.
14
-
15
- **Note: This is an example task to demonstrate the structure of a task in the AIWF framework.**
16
-
17
- ## Goal / Objectives
18
-
19
- - Create a well-organized, scalable project structure
20
- - Set up the Express.js application with middleware
21
- - Configure MongoDB connection
22
- - Implement basic error handling
23
- - Set up environment configuration
24
- - Initialize logging system
25
-
26
- ## Acceptance Criteria
27
-
28
- - [ ] Project structure follows MVC pattern with clear separation of concerns
29
- - [ ] Express application is set up with necessary middleware (CORS, body-parser, etc.)
30
- - [ ] MongoDB connection is configured with error handling
31
- - [ ] Environment variables are properly managed (development vs production)
32
- - [ ] Logger is implemented for request/error tracking
33
- - [ ] Basic error handling middleware is implemented
34
- - [ ] Project runs without errors
35
- - [ ] Initial tests pass
36
-
37
- ## Subtasks
38
-
39
- - [ ] Initialize Node.js project with package.json
40
- - [ ] Install core dependencies (express, mongoose, dotenv, etc.)
41
- - [ ] Create directory structure for routes, controllers, models, middleware
42
- - [ ] Set up Express application with basic middleware
43
- - [ ] Configure MongoDB connection
44
- - [ ] Implement environment-specific configurations
45
- - [ ] Set up logging system
46
- - [ ] Implement error handling middleware
47
- - [ ] Write basic tests to verify configuration
48
-
49
- ## Output Log
50
-
51
- [2023-07-15 14:30:00] Started task
52
- [2023-07-15 14:45:22] Created files: package.json, .env.example
53
- [2023-07-15 15:10:05] Created directory structure and base files: app.js, server.js, config/db.js, config/env.js
54
- [2023-07-15 15:30:18] Created middleware: middleware/auth.js, middleware/error.js
55
- [2023-07-15 15:45:30] Created util files: utils/logger.js
56
- [2023-07-15 16:10:15] Created base routes: routes/index.js
57
- [2023-07-15 16:45:22] Implemented error handling in middleware/error.js
58
- [2023-07-15 17:20:10] Configured logging system in utils/logger.js
59
- [2023-07-15 18:20:45] Added Jest configuration and created sample tests
60
- [2023-07-15 18:35:30] Completed all subtasks, verified server starts successfully
@@ -1,96 +0,0 @@
1
- # General Tasks Instructions
2
-
3
- ## General Task Structure
4
-
5
- General tasks are standalone work items not tied to sprints:
6
-
7
- - Files follow pattern: `T<NNN>_<Description>.md`
8
- - Completed tasks: `TX<NNN>_<Description>.md`
9
-
10
- Always use the template at `.AIWF/99_TEMPLATES/task_template.md` when creating new general tasks.
11
-
12
- ## Task Formatting
13
-
14
- General tasks use standardized YAML frontmatter and sections:
15
-
16
- ```yaml
17
- ---
18
- task_id: T001
19
- status: open # open | in_progress | pending_review | done | failed | blocked
20
- complexity: Medium # Low | Medium | High
21
- last_updated: YYYY-MM-DD HH:MM
22
- github_issue: #123 # Optional: Link to GitHub issue
23
- ---
24
- ```
25
-
26
- The full task structure with all sections is defined in the task template. Always maintain this structure.
27
-
28
- ## Working with General Tasks
29
-
30
- When handling general tasks:
31
-
32
- 1. Check if task has a linked GitHub issue (look for `github_issue` in frontmatter)
33
- 2. Update the status field as you progress
34
- 3. If GitHub issue is linked, update it when starting:
35
- ```bash
36
- gh issue comment {issue_number} --body "πŸš€ Task work has started."
37
- gh issue edit {issue_number} --add-label "in-progress"
38
- ```
39
- 4. Record timestamps in this format (YYYY-MM-DD HH:MM)
40
- 5. Log all significant actions in the Output Log section:
41
-
42
- ```plaintext
43
- [YYYY-MM-DD HH:MM] Started task
44
- [YYYY-MM-DD HH:MM] Modified files: file1.js, file2.js
45
- ```
46
-
47
- 6. Mark subtasks as they're completed: `- [x] Completed subtask`
48
- 7. Use the Acceptance Criteria as your primary completion checklist
49
- 8. Ensure all sections from the task template are preserved
50
-
51
- ## Task Completion Process
52
-
53
- When a task is complete:
54
-
55
- 1. Update status to "done"
56
- 2. Update all Acceptance Criteria with [x]
57
- 3. Add final Output Log entry
58
- 4. If GitHub issue is linked, update it:
59
- ```bash
60
- gh issue comment {issue_number} --body "βœ… Task has been completed."
61
- gh issue edit {issue_number} --remove-label "in-progress" --add-label "completed"
62
- ```
63
- 5. Rename file from T... to TX... (e.g., `TX001_Task_Name.md`)
64
-
65
- ## GitHub Integration
66
-
67
- ### Creating Issues from Tasks
68
-
69
- To create a GitHub issue from a general task:
70
-
71
- ```bash
72
- /project:aiwf:issue_create {task_id}
73
- ```
74
-
75
- ### Linking Existing Issues
76
-
77
- Add to task frontmatter:
78
-
79
- ```yaml
80
- github_issue: #123
81
- ```
82
-
83
- ### Commit Integration
84
-
85
- When committing changes for a task with a linked issue:
86
-
87
- - Use `fixes #123` to auto-close the issue
88
- - Use `relates to #123` to reference without closing
89
-
90
- ### Pull Request Creation
91
-
92
- After task completion, create a PR:
93
-
94
- ```bash
95
- /project:aiwf:pr_create {task_id}
96
- ```
@@ -1,54 +0,0 @@
1
- ---
2
- task_id: T002
3
- status: in_progress # open | in_progress | pending_review | done | failed | blocked
4
- complexity: Medium # Low | Medium | High
5
- last_updated: 2023-07-25T09:15:00Z
6
- ---
7
-
8
- # Task: API Rate Limiting (EXAMPLE)
9
-
10
- ## Description
11
-
12
- Implement rate limiting for the API to prevent abuse and ensure fair usage across all clients. This task involves adding middleware to track and limit requests based on client IP or API key.
13
-
14
- **Note: This is an example general task to demonstrate how non-sprint-specific tasks might be structured in the AIWF framework.**
15
-
16
- ## Goal / Objectives
17
-
18
- - Protect API endpoints from abuse and excessive requests
19
- - Implement configurable rate limits based on client authentication
20
- - Track usage statistics for billing and monitoring
21
- - Provide clear feedback to clients when limits are exceeded
22
- - Ensure minimal performance impact on normal API operation
23
-
24
- ## Acceptance Criteria
25
-
26
- - [ ] Rate limiting is applied to all public API endpoints
27
- - [ ] Different rate limits are configurable based on client tier/authentication
28
- - [ ] Response headers include rate limit information (limit, remaining, reset)
29
- - [ ] When limit is exceeded, a 429 status code is returned with appropriate error message
30
- - [ ] Rate limiting can be temporarily disabled for specific clients if needed
31
- - [ ] Implementation has minimal impact on response times (<10ms overhead)
32
- - [ ] Usage statistics are collected for monitoring and analysis
33
-
34
- ## Subtasks
35
-
36
- - [x] Research rate limiting strategies and best practices
37
- - [x] Evaluate libraries (express-rate-limit, rate-limiter-flexible, etc.)
38
- - [x] Design rate limit tiers for different client types
39
- - [ ] Implement rate limiting middleware
40
- - [ ] Add custom response headers
41
- - [ ] Create storage adapter for distributed rate limiting
42
- - [ ] Implement override mechanism for special cases
43
- - [ ] Add monitoring and alerts for rate limit events
44
- - [ ] Document rate limiting behavior for API consumers
45
-
46
- ## Output Log
47
-
48
- _(This section is populated as work progresses on the task)_
49
-
50
- [2023-07-23 10:30:00] Started task
51
- [2023-07-23 13:45:22] Completed research on rate limiting strategies
52
- [2023-07-24 09:15:30] Evaluated rate-limiter-flexible and express-rate-limit libraries
53
- [2023-07-24 15:50:15] Decided on rate-limiter-flexible for implementation
54
- [2023-07-25 09:15:00] Designed rate limit tiers for different client authentication levels
@@ -1,58 +0,0 @@
1
- ---
2
- task_id: T001
3
- status: done # open | in_progress | pending_review | done | failed | blocked
4
- complexity: Medium # Low | Medium | High
5
- last_updated: 2023-07-22T16:45:00Z
6
- ---
7
-
8
- # Task: Refactor Logging Module (EXAMPLE)
9
-
10
- ## Description
11
-
12
- The current logging implementation is basic and needs to be enhanced to provide better visibility and monitoring capabilities. This task involves refactoring the logging module to add structured logging, log rotation, and improved error tracking.
13
-
14
- **Note: This is an example general task to demonstrate how non-sprint-specific tasks might be structured in the AIWF framework.**
15
-
16
- ## Goal / Objectives
17
-
18
- - Implement structured JSON logging for better parsing by log analysis tools
19
- - Add log rotation to prevent log files from growing too large
20
- - Enable different log levels based on environment
21
- - Add request ID tracking for tracing requests through the system
22
- - Improve error logging with stack traces and contextual information
23
-
24
- ## Acceptance Criteria
25
-
26
- - [x] Logs are output in structured JSON format
27
- - [x] Log files are rotated based on size and/or date
28
- - [x] Different log levels are used appropriately (debug, info, warn, error)
29
- - [x] Each request has a unique ID that is logged with every related log entry
30
- - [x] Error logs include stack traces and relevant request information
31
- - [x] Performance impact of logging is minimal
32
- - [x] Documentation is updated to reflect new logging capabilities
33
-
34
- ## Subtasks
35
-
36
- - [x] Evaluate and select appropriate logging libraries and tools
37
- - [x] Design the structured log format with required fields
38
- - [x] Implement log rotation configuration
39
- - [x] Add request ID middleware for request tracking
40
- - [x] Enhance error logging with more contextual information
41
- - [x] Update logging throughout the application to use new formats
42
- - [x] Write tests for logging functionality
43
- - [x] Document the new logging system
44
-
45
- ## Output Log
46
-
47
- _(This section is populated as work progresses on the task)_
48
-
49
- [2023-07-15 10:30:00] Started task
50
- [2023-07-15 11:15:22] Researched logging libraries: winston, pino, bunyan
51
- [2023-07-15 13:45:30] Created prototype with winston for structured JSON logging
52
- [2023-07-15 15:20:15] Implemented log rotation with winston-daily-rotate-file
53
- [2023-07-15 16:40:05] Added request ID middleware
54
- [2023-07-15 17:30:18] Enhanced error logging with stack traces and context
55
- [2023-07-16 09:15:40] Updated application code to use new logging format
56
- [2023-07-18 14:22:10] Wrote tests for logging functionality
57
- [2023-07-20 11:05:33] Updated documentation with logging guidelines
58
- [2023-07-22 16:45:00] Task completed
@@ -1,119 +0,0 @@
1
- # ADR 001: Chosen Database System (EXAMPLE)
2
-
3
- ## Status
4
-
5
- Accepted
6
-
7
- ## Date
8
-
9
- 2023-07-05
10
-
11
- ## Context
12
-
13
- The backend system needs a database to store user accounts, projects, tasks, and other application data. The choice of database system will impact performance, scalability, development speed, and maintenance requirements.
14
-
15
- **Note: This is an example Architecture Decision Record to demonstrate how ADRs might be structured in the AIWF framework.**
16
-
17
- We evaluated several options including:
18
-
19
- - Relational databases (PostgreSQL, MySQL)
20
- - Document databases (MongoDB, CouchDB)
21
- - Key-value stores (Redis, DynamoDB)
22
-
23
- ## Decision
24
-
25
- We will use **MongoDB** as the primary database for this project.
26
-
27
- ## Rationale
28
-
29
- The decision was based on the following factors:
30
-
31
- 1. **Schema Flexibility**: The project requirements are expected to evolve rapidly during development. MongoDB's flexible schema allows us to iterate quickly without needing migrations for every model change.
32
-
33
- 2. **JSON-Native Data Model**: Our API communicates in JSON, and MongoDB's BSON format aligns well with our data structures. This reduces the object-relational impedance mismatch.
34
-
35
- 3. **Scalability**: MongoDB's horizontal scaling capabilities via sharding will support our growth projections.
36
-
37
- 4. **Developer Productivity**: The team has prior experience with MongoDB and Mongoose ODM, which will accelerate development.
38
-
39
- 5. **Performance**: For our read-heavy workloads with relatively simple query patterns, MongoDB offers good performance characteristics.
40
-
41
- 6. **Ecosystem**: The robust Node.js ecosystem around MongoDB with libraries like Mongoose provides tools for validation, middleware, and other features that align with our development approach.
42
-
43
- Some concerns were raised about:
44
-
45
- - Lack of ACID transactions across multiple documents (though MongoDB does support multi-document transactions now)
46
- - Potential for data duplication in document model
47
-
48
- We determined these concerns were manageable for our use case and outweighed by the benefits.
49
-
50
- ## Alternatives Considered
51
-
52
- ### PostgreSQL
53
-
54
- Pros:
55
-
56
- - Mature, proven technology with strong ACID compliance
57
- - Excellent for complex relational data and joins
58
- - Support for JSON data types provides some schema flexibility
59
-
60
- Cons:
61
-
62
- - Schema migrations could slow development velocity
63
- - Object-relational mapping adds complexity
64
- - Less natural fit for our document-oriented data model
65
-
66
- ### DynamoDB
67
-
68
- Pros:
69
-
70
- - Fully managed service with automatic scaling
71
- - Predictable performance with guaranteed low-latency
72
- - Strong consistency options
73
-
74
- Cons:
75
-
76
- - Less flexible query capabilities
77
- - AWS lock-in
78
- - Potentially higher cost for our access patterns
79
- - Less familiar to the development team
80
-
81
- ## Consequences
82
-
83
- ### Positive
84
-
85
- - Faster initial development due to schema flexibility
86
- - Easier object mapping between API and database
87
- - Good performance for our expected read-heavy workloads
88
- - Simplified deployment with MongoDB Atlas
89
-
90
- ### Negative
91
-
92
- - Will require care when modeling relationships between data
93
- - May need supplementary systems (like Redis) for certain use cases
94
- - Need to handle eventual consistency in some parts of the application
95
-
96
- ### Neutral
97
-
98
- - Team will need to follow MongoDB best practices for schema design
99
- - We'll use Mongoose ODM to provide schema validation and middleware
100
-
101
- ## Implementation Notes
102
-
103
- - We will use MongoDB Atlas as the managed service for all environments
104
- - Mongoose will be our ODM of choice
105
- - Initial indexes will be created for user email, project names, and task status
106
- - We will implement soft deletion for most entities
107
- - Data validation will happen at both the Mongoose schema level and API input level
108
-
109
- ## Related Decisions
110
-
111
- - ADR002: API Authentication Method
112
- - ADR004: Caching Strategy (pending)
113
-
114
- ## References
115
-
116
- - [MongoDB Documentation](https://docs.mongodb.com/)
117
- - [Mongoose Documentation](https://mongoosejs.com/docs/)
118
- - MongoDB vs PostgreSQL comparison analysis (internal document)
119
- - Performance benchmark results (internal document)
@@ -1,124 +0,0 @@
1
- # ADR 002: API Authentication Method (EXAMPLE)
2
-
3
- ## Status
4
-
5
- Accepted
6
-
7
- ## Date
8
-
9
- 2023-07-08
10
-
11
- ## Context
12
-
13
- Our API requires a secure authentication mechanism to identify users, protect resources, and control access to endpoints. We needed to select an approach that balances security, usability, and compatibility with our chosen tech stack.
14
-
15
- **Note: This is an example Architecture Decision Record to demonstrate how ADRs might be structured in the AIWF framework.**
16
-
17
- Several authentication strategies were considered:
18
-
19
- - Session-based authentication with cookies
20
- - JWT (JSON Web Tokens)
21
- - OAuth 2.0
22
- - API keys
23
- - Combinations of the above
24
-
25
- ## Decision
26
-
27
- We will use **JWT (JSON Web Tokens)** as our primary authentication method, with OAuth 2.0 support for social logins.
28
-
29
- ## Rationale
30
-
31
- Our decision was based on the following factors:
32
-
33
- 1. **Statelessness**: JWTs are self-contained and don't require server-side session storage, aligning well with our API-first, potentially distributed architecture.
34
-
35
- 2. **Performance**: Token validation can happen without database lookups for each request, improving API response times.
36
-
37
- 3. **Cross-domain compatibility**: JWTs work well across different domains and in mobile applications, supporting our multi-client strategy.
38
-
39
- 4. **Security feature support**: JWTs support expiration, audience validation, and can be cryptographically signed to ensure integrity.
40
-
41
- 5. **OAuth Integration**: For social logins (Google, GitHub), we can still issue JWTs after OAuth authentication, maintaining a consistent authorization approach.
42
-
43
- 6. **Client-side storage**: JWTs can be securely stored in client-side mechanisms like localStorage or HTTP-only cookies, giving us flexibility in implementation.
44
-
45
- 7. **Industry standard**: JWT is widely adopted, well-documented, and has strong library support in our tech stack.
46
-
47
- We acknowledged some concerns with JWT:
48
-
49
- - Token revocation requires additional mechanisms (blacklisting or short expiration with refresh tokens)
50
- - Token size can be larger than simple session IDs
51
- - Token payload is encoded, not encrypted (sensitive data shouldn't be included)
52
-
53
- ## Alternatives Considered
54
-
55
- ### Session-based Authentication
56
-
57
- Pros:
58
-
59
- - Well-established, traditional approach
60
- - Easy to implement and understand
61
- - Simple to revoke (delete the session)
62
-
63
- Cons:
64
-
65
- - Requires session storage on the server
66
- - Can be problematic in distributed/scaled environments
67
- - Typically relies on cookies which have cross-domain limitations
68
-
69
- ### API Keys
70
-
71
- Pros:
72
-
73
- - Very simple to implement
74
- - Good for service-to-service communication
75
- - No expiration management needed
76
-
77
- Cons:
78
-
79
- - Not suitable for user authentication
80
- - Limited granularity for permissions
81
- - No built-in standard for claims or payload
82
-
83
- ## Consequences
84
-
85
- ### Positive
86
-
87
- - Simplified server architecture with no session storage requirements
88
- - Improved performance for authentication checks
89
- - Enhanced cross-domain and mobile app support
90
- - Ability to include standard claims (exp, iat, sub, etc.) in the token
91
-
92
- ### Negative
93
-
94
- - Need to implement token refresh mechanism for long-lived sessions
95
- - Need for a token blacklist/revocation strategy
96
- - More complex client-side token management compared to cookies
97
-
98
- ### Neutral
99
-
100
- - Need to carefully design token payload to balance size and information needs
101
- - Will use short-lived access tokens (15 minutes) with longer-lived refresh tokens (7 days)
102
- - Client applications must properly handle token storage and renewal
103
-
104
- ## Implementation Notes
105
-
106
- - We will use the `jsonwebtoken` library for token creation and validation
107
- - Tokens will be signed with RS256 (asymmetric) algorithm
108
- - Access tokens will have a 15-minute expiration
109
- - Refresh tokens will have a 7-day expiration and be single-use
110
- - We will implement a token blacklist using Redis for immediate revocation when needed
111
- - Social login (OAuth) will use Passport.js strategies
112
- - Authentication middleware will validate tokens on protected routes
113
-
114
- ## Related Decisions
115
-
116
- - ADR001: Chosen Database System
117
- - ADR003: API Security Measures (pending)
118
-
119
- ## References
120
-
121
- - [JWT.io](https://jwt.io/)
122
- - [IETF RFC 7519 - JSON Web Token](https://tools.ietf.org/html/rfc7519)
123
- - [Auth0: JWTs vs Sessions](https://auth0.com/blog/cookies-vs-tokens-definitive-guide/)
124
- - [OWASP: JSON Web Token Cheat Sheet](https://cheatsheetseries.owasp.org/cheatsheets/JSON_Web_Token_for_Java_Cheat_Sheet.html)
@@ -1,139 +0,0 @@
1
- # Project Review - 2025-06-12 12:00
2
-
3
- ## 🎭 Review Sentiment
4
-
5
- πŸš¨βš οΈπŸ”§
6
-
7
- ## Executive Summary
8
-
9
- - **Result:** NEEDS_WORK
10
- - **Scope:** Full project review including test infrastructure, documentation, architecture, and code quality
11
- - **Overall Judgment:** needs-focus
12
-
13
- ## Test Infrastructure Assessment
14
-
15
- - **Test Suite Status**: FAILING (Backend: 25/26 failed suites, Frontend: 6/28 failed tests)
16
- - **Test Pass Rate**: Backend: 98.3% (400 passed, 7 failed), Frontend: 78.6% (22 passed, 6 failed)
17
- - **Test Health Score**: 3/10
18
- - **Infrastructure Health**: BROKEN
19
- - Import errors: 3 (missing test config files, path resolution issues)
20
- - Configuration errors: 2 (dependency injection failures)
21
- - Fixture issues: 1 (floating-point precision)
22
- - **Test Categories**:
23
- - Unit Tests: 400/407 passing (mostly meaningless smoke tests)
24
- - Integration Tests: 0/7 passing (external dependency failures)
25
- - API Tests: 0 functional tests (only smoke tests)
26
- - **Critical Issues**:
27
- - Missing `test-connect-info.json` configuration file
28
- - API signature changes not reflected in tests (`dashboardService.create()` parameter mismatch)
29
- - External database dependencies causing unstable tests
30
- - Repository mocking setup missing across all services
31
- - **Sprint Coverage**: <5% of actual functionality has meaningful tests
32
- - **Blocking Status**: BLOCKED - Critical test infrastructure failures prevent reliable development
33
- - **Recommendations**:
34
- - Immediate: Fix missing test configuration files and dependency injection
35
- - Short-term: Replace smoke tests with behavior-focused unit tests
36
- - Long-term: Establish comprehensive test strategy with coverage targets
37
-
38
- ## Development Context
39
-
40
- - **Current Milestone:** MVP μ•ˆμ •ν™” 및 핡심 κΈ°λŠ₯ κ°•ν™” (active)
41
- - **Current Sprint:** No active sprint structure in place
42
- - **Expected Completeness:** Milestone requirements document exists but lacks sprint planning
43
-
44
- ## Progress Assessment
45
-
46
- - **Milestone Progress:** 40% (documentation and architecture in place, but stability/performance work needed)
47
- - **Sprint Status:** No formal sprint structure implemented
48
- - **Deliverable Tracking:** Milestone requirements defined but not broken into actionable sprints
49
-
50
- ## Architecture & Technical Assessment
51
-
52
- - **Architecture Score:** 7/10 - Well-structured modular design with clear separation of concerns
53
- - **Technical Debt Level:** MEDIUM - Several architectural decisions need refinement but foundation is solid
54
- - **Code Quality:** Mixed - Good patterns in core modules, but inconsistencies in error handling and type safety
55
-
56
- Specific examples:
57
- - βœ… Excellent: Modular NestJS structure with proper dependency injection
58
- - βœ… Good: Multi-database support with Knex abstraction layer
59
- - ⚠️ Needs work: Connection Service handling too many responsibilities
60
- - ❌ Poor: TypeScript type safety with excessive `any` usage in API services
61
-
62
- ## File Organization Audit
63
-
64
- - **Workflow Compliance:** NEEDS_ATTENTION
65
- - **File Organization Issues:**
66
- - Root directory pollution: `identifier.sqlite`, `package-lock.json` should be removed
67
- - Directory name typos: `entites/` should be `entities/`, `tabel-query/` should be `table-query/`
68
- - IntelliJ project files (*.iml) committed to repository
69
- - Experimental code in production paths: `testLineChart.ts`
70
- - **Cleanup Tasks Needed:**
71
- - Remove 6+ unnecessary files from root and subdirectories
72
- - Fix directory naming inconsistencies
73
- - Consolidate duplicate dummy data files between backend and frontend
74
-
75
- ## Critical Findings
76
-
77
- ### Critical Issues (Severity 8-10)
78
-
79
- #### Test Infrastructure Collapse
80
- - 96% of test suites failing due to infrastructure issues, not logic problems
81
- - No meaningful test coverage for authentication, data processing, or UI components
82
- - External database dependencies making tests unstable and environment-dependent
83
- - Missing test configuration files blocking integration test execution
84
-
85
- #### Type Safety Violations
86
- - Frontend API services using `Promise<any>` extensively, eliminating TypeScript benefits
87
- - Backend missing proper error type definitions
88
- - Inconsistent parameter types causing test failures (dashboard service API changes)
89
-
90
- #### File System Pollution
91
- - Repository contains IDE-specific files and temporary artifacts
92
- - Directory naming errors preventing proper module imports
93
- - Root-level files that should be in subdirectories or gitignored
94
-
95
- ### Improvement Opportunities (Severity 4-7)
96
-
97
- #### Architecture Refinements
98
- - Connection Service mixing multiple database engine logic (violates SRP)
99
- - Dashboard Module depending on too many entities (tight coupling)
100
- - Missing Factory pattern for database engine selection
101
-
102
- #### Performance Concerns
103
- - No caching strategy for frequently accessed data
104
- - Large bundle sizes in frontend without optimization
105
- - Lambda cold start issues not addressed
106
-
107
- #### Documentation Gaps
108
- - No ADRs (Architecture Decision Records) documenting technical choices
109
- - Missing API documentation despite Swagger setup
110
- - Test strategy and coverage guidelines not defined
111
-
112
- ## John Carmack Critique πŸ”₯
113
-
114
- 1. **Test Infrastructure is Fundamentally Broken**: You have a 98.3% pass rate but essentially 0% meaningful coverage. This is worse than having no tests - it gives false confidence. The authentication system processes JWT tokens and passwords with zero validation tests. In a production BI system handling enterprise data, this is unacceptable. Fix the test infrastructure immediately or accept that you're shipping blind.
115
-
116
- 2. **Type Safety Theater**: TypeScript with `Promise<any>` everywhere defeats the entire purpose. You're getting all the compilation overhead with none of the safety benefits. Either commit to proper typing or drop TypeScript - this middle ground helps nobody and slows down development while providing zero protection.
117
-
118
- 3. **Connection Service is a God Object**: One service handling 10+ database engines with massive switch-case logic. This violates every SOLID principle simultaneously. When MySQL behavior differs from BigQuery, you'll have cascade failures across unrelated database types. Factor this into per-engine strategies before it becomes unmaintainable.
119
-
120
- ## Recommendations
121
-
122
- Based on the findings, here are prioritized action items:
123
-
124
- - **Important fixes:**
125
- - Fix test infrastructure immediately - add missing config files, proper mocking setup
126
- - Remove file system pollution (*.iml files, root directory cleanup)
127
- - Fix directory naming typos that break imports
128
- - Establish proper TypeScript typing in API layer
129
-
130
- - **Optional fixes/changes:**
131
- - Refactor Connection Service using Strategy/Factory patterns
132
- - Add comprehensive error handling patterns
133
- - Implement caching layer for database metadata
134
- - Create ADR documentation for major technical decisions
135
-
136
- - **Next Sprint Focus:**
137
- - Cannot proceed to next sprint until test infrastructure is stabilized
138
- - Recommend creating "Test Infrastructure Recovery" sprint before continuing MVP stabilization
139
- - Focus on establishing baseline test coverage for authentication and data processing modules