aiwf 0.3.1 → 0.3.3

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 (493) hide show
  1. package/.aiwf/00_PROJECT_MANIFEST.md +183 -0
  2. package/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +121 -0
  3. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
  4. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_API_REFERENCE.md +361 -0
  5. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
  6. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_FAQ.md +365 -0
  7. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
  8. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_USER_GUIDE.md +416 -0
  9. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +247 -0
  10. package/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
  11. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md +34 -0
  12. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/PRD_Context_Engineering_Enhancement.md +108 -0
  13. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_AI_Persona_System.md +299 -0
  14. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Feature_Ledger_System.md +330 -0
  15. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Token_Optimization.md +833 -0
  16. package/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
  17. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md +95 -0
  18. 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 +111 -0
  19. 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 +115 -0
  20. 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 +141 -0
  21. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX04_S01_Feature_Ledger_/353/254/270/354/204/234/355/231/224.md +114 -0
  22. 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 +123 -0
  23. 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 +114 -0
  24. 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 +114 -0
  25. 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 +112 -0
  26. 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 +118 -0
  27. 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 +118 -0
  28. 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 +128 -0
  29. 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 +122 -0
  30. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/S02_M02_sprint_meta.md +107 -0
  31. 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 +129 -0
  32. 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 +152 -0
  33. 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 +186 -0
  34. 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 +192 -0
  35. 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 +162 -0
  36. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_FINAL_SPRINT_SUMMARY.md +137 -0
  37. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_M02_sprint_meta.md +106 -0
  38. 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 +214 -0
  39. 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 +177 -0
  40. 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 +206 -0
  41. 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 +151 -0
  42. package/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  43. package/.aiwf/04_GENERAL_TASKS/TX001_complete_english_translation.md +127 -0
  44. package/.aiwf/05_DOCUMENTATION/performance-report.md +33 -0
  45. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_GIT_INTEGRATION.md +314 -0
  46. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_INTEGRATION_GUIDE.md +227 -0
  47. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_LEDGER_INDEX.md +23 -0
  48. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_SCHEMA.md +205 -0
  49. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_STATE_DIAGRAM.md +190 -0
  50. package/.aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication_system.md +47 -0
  51. package/.aiwf/06_FEATURE_LEDGERS/active/FL002_user_authentication_system.md +47 -0
  52. package/.aiwf/07_AI_PERSONAS/PERSONA_INDEX.md +57 -0
  53. package/.aiwf/07_AI_PERSONAS/architect/best_practices.md +104 -0
  54. package/.aiwf/07_AI_PERSONAS/architect/context_rules.md +46 -0
  55. package/.aiwf/07_AI_PERSONAS/architect/knowledge_base.md +235 -0
  56. package/.aiwf/07_AI_PERSONAS/backend/best_practices.md +363 -0
  57. package/.aiwf/07_AI_PERSONAS/backend/context_rules.md +61 -0
  58. package/.aiwf/07_AI_PERSONAS/backend/knowledge_base.md +623 -0
  59. package/.aiwf/07_AI_PERSONAS/data_analyst/best_practices.md +32 -0
  60. package/.aiwf/07_AI_PERSONAS/data_analyst/context_rules.md +43 -0
  61. package/.aiwf/07_AI_PERSONAS/data_analyst/knowledge_base.md +36 -0
  62. package/.aiwf/07_AI_PERSONAS/frontend/best_practices.md +31 -0
  63. package/.aiwf/07_AI_PERSONAS/frontend/context_rules.md +43 -0
  64. package/.aiwf/07_AI_PERSONAS/frontend/knowledge_base.md +32 -0
  65. package/.aiwf/07_AI_PERSONAS/security/best_practices.md +63 -0
  66. package/.aiwf/07_AI_PERSONAS/security/context_rules.md +53 -0
  67. package/.aiwf/07_AI_PERSONAS/security/knowledge_base.md +93 -0
  68. package/.aiwf/10_PERSONAS/active.json +1 -0
  69. package/.aiwf/10_PERSONAS/developer.md +37 -0
  70. package/.aiwf/10_STATE_OF_PROJECT/2025-07-09-07-20-solid-progress.md +144 -0
  71. package/.aiwf/98_PROMPTS/SAAS_DEVELOPMENT_GUIDE.md +302 -0
  72. package/.aiwf/98_PROMPTS/github_integration.md +130 -0
  73. package/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  74. package/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  75. package/.aiwf/99_TEMPLATES/adr_template.md +49 -0
  76. package/.aiwf/99_TEMPLATES/feature_template.md +263 -0
  77. package/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
  78. package/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
  79. package/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
  80. package/.aiwf/99_TEMPLATES/task_template.md +36 -0
  81. package/.aiwf/CLAUDE.md +76 -0
  82. package/.aiwf/ai-tools/README.md +105 -0
  83. package/.aiwf/ai-tools/augment/README.md +371 -0
  84. package/.aiwf/ai-tools/augment/config.json +30 -0
  85. package/.aiwf/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
  86. package/.aiwf/ai-tools/augment/template/.augment/augment.yaml +347 -0
  87. package/.aiwf/ai-tools/augment/template/augment.config.json +64 -0
  88. package/.aiwf/ai-tools/claude-code/README.md +151 -0
  89. package/.aiwf/ai-tools/claude-code/config.json +28 -0
  90. package/.aiwf/ai-tools/claude-code/template/CLAUDE.md +91 -0
  91. package/.aiwf/ai-tools/cursor/README.md +314 -0
  92. package/.aiwf/ai-tools/cursor/config.json +29 -0
  93. package/.aiwf/ai-tools/cursor/template/.cursorrules +362 -0
  94. package/.aiwf/ai-tools/github-copilot/README.md +195 -0
  95. package/.aiwf/ai-tools/github-copilot/config.json +24 -0
  96. package/.aiwf/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
  97. package/.aiwf/ai-tools/windsurf/README.md +355 -0
  98. package/.aiwf/ai-tools/windsurf/config.json +29 -0
  99. package/.aiwf/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
  100. package/.aiwf/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
  101. package/.aiwf/ai-tools/windsurf/template/windsurf.config.json +63 -0
  102. package/.aiwf/config/language.json +6 -0
  103. package/.aiwf/feature-ledger/FL-001-authentication.json +52 -0
  104. package/.aiwf/feature-ledger/feature-index.json +20 -0
  105. package/.aiwf/installed.flag +1 -0
  106. package/.aiwf/personas/analyst.json +44 -0
  107. package/.aiwf/personas/architect/best_practices.md +136 -0
  108. package/.aiwf/personas/architect/knowledge_base.md +377 -0
  109. package/.aiwf/personas/architect.json +44 -0
  110. package/.aiwf/personas/backend/best_practices.md +766 -0
  111. package/.aiwf/personas/backend/knowledge_base.md +1070 -0
  112. package/.aiwf/personas/data_analyst/best_practices.md +594 -0
  113. package/.aiwf/personas/data_analyst/knowledge_base.md +1057 -0
  114. package/.aiwf/personas/developer.json +44 -0
  115. package/.aiwf/personas/evaluation_criteria.json +137 -0
  116. package/.aiwf/personas/frontend/best_practices.md +445 -0
  117. package/.aiwf/personas/frontend/knowledge_base.md +729 -0
  118. package/.aiwf/personas/persona-index.json +31 -0
  119. package/.aiwf/personas/reviewer.json +44 -0
  120. package/.aiwf/personas/security/best_practices.md +307 -0
  121. package/.aiwf/personas/security/knowledge_base.md +498 -0
  122. package/.aiwf/personas/tester.json +44 -0
  123. package/.aiwf/scripts/cache-templates.js +209 -0
  124. package/.aiwf/scripts/create-offline.js +86 -0
  125. package/.aiwf/scripts/create-project.js +151 -0
  126. package/.aiwf/scripts/feature-progress-calculator.cjs +236 -0
  127. package/.aiwf/scripts/git-integration.cjs +391 -0
  128. package/.aiwf/scripts/install-git-hooks.cjs +226 -0
  129. package/.aiwf/scripts/test-commit-parsing.cjs +125 -0
  130. package/.aiwf/scripts/update-feature-status.cjs +198 -0
  131. package/.aiwf/templates/README.md +78 -0
  132. package/.aiwf/templates/api-server/config.json +64 -0
  133. package/.aiwf/templates/api-server/template/.aiwf/config.json +56 -0
  134. package/.aiwf/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
  135. package/.aiwf/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
  136. package/.aiwf/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
  137. package/.aiwf/templates/api-server/template/.env.example +29 -0
  138. package/.aiwf/templates/api-server/template/.eslintrc.json +23 -0
  139. package/.aiwf/templates/api-server/template/README.md +171 -0
  140. package/.aiwf/templates/api-server/template/jest.config.js +26 -0
  141. package/.aiwf/templates/api-server/template/nodemon.json +9 -0
  142. package/.aiwf/templates/api-server/template/package.json +61 -0
  143. package/.aiwf/templates/api-server/template/src/app.ts +60 -0
  144. package/.aiwf/templates/api-server/template/src/config/swagger.ts +38 -0
  145. package/.aiwf/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
  146. package/.aiwf/templates/api-server/template/src/controllers/authController.ts +128 -0
  147. package/.aiwf/templates/api-server/template/src/controllers/statusController.ts +28 -0
  148. package/.aiwf/templates/api-server/template/src/index.ts +28 -0
  149. package/.aiwf/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
  150. package/.aiwf/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
  151. package/.aiwf/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
  152. package/.aiwf/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
  153. package/.aiwf/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
  154. package/.aiwf/templates/api-server/template/src/routes/aiwf.ts +42 -0
  155. package/.aiwf/templates/api-server/template/src/routes/index.ts +13 -0
  156. package/.aiwf/templates/api-server/template/src/routes/v1/index.ts +67 -0
  157. package/.aiwf/templates/api-server/template/src/utils/logger.ts +37 -0
  158. package/.aiwf/templates/api-server/template/tests/app.test.ts +40 -0
  159. package/.aiwf/templates/api-server/template/tsconfig.json +43 -0
  160. package/.aiwf/templates/npm-library/config.json +61 -0
  161. package/.aiwf/templates/npm-library/template/LICENSE +21 -0
  162. package/.aiwf/templates/npm-library/template/README.md +201 -0
  163. package/.aiwf/templates/npm-library/template/package.json +78 -0
  164. package/.aiwf/templates/web-app/config.json +53 -0
  165. package/.aiwf/templates/web-app/template/.aiwf/config.json +54 -0
  166. package/.aiwf/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
  167. package/.aiwf/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
  168. package/.aiwf/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
  169. package/.aiwf/templates/web-app/template/.eslintrc.cjs +20 -0
  170. package/.aiwf/templates/web-app/template/README.md +151 -0
  171. package/.aiwf/templates/web-app/template/index.html +14 -0
  172. package/.aiwf/templates/web-app/template/package.json +44 -0
  173. package/.aiwf/templates/web-app/template/postcss.config.js +6 -0
  174. package/.aiwf/templates/web-app/template/public/vite.svg +1 -0
  175. package/.aiwf/templates/web-app/template/src/App.tsx +21 -0
  176. package/.aiwf/templates/web-app/template/src/components/Layout.tsx +57 -0
  177. package/.aiwf/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
  178. package/.aiwf/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
  179. package/.aiwf/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
  180. package/.aiwf/templates/web-app/template/src/index.css +60 -0
  181. package/.aiwf/templates/web-app/template/src/main.tsx +10 -0
  182. package/.aiwf/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
  183. package/.aiwf/templates/web-app/template/src/pages/HomePage.tsx +89 -0
  184. package/.aiwf/templates/web-app/template/src/pages/NotFound.tsx +25 -0
  185. package/.aiwf/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
  186. package/.aiwf/templates/web-app/template/src/types/global.d.ts +9 -0
  187. package/.aiwf/templates/web-app/template/src/vite-env.d.ts +1 -0
  188. package/.aiwf/templates/web-app/template/tailwind.config.js +30 -0
  189. package/.aiwf/templates/web-app/template/tsconfig.json +37 -0
  190. package/.aiwf/templates/web-app/template/tsconfig.node.json +10 -0
  191. package/.aiwf/templates/web-app/template/vite.config.ts +23 -0
  192. package/.aiwf/test-cache/86c7f9e80251abb8bedd58953ab0d1779e46b4f43ea33b63bffdb778106373b0.json +6 -0
  193. package/.aiwf/test-cache/9e252a90b80fce0585d7ed0646e7a9b4343e109f661f42a3ae678ba1ec5e22c7.json +7 -0
  194. package/.aiwf/test-results-s02.json +36 -0
  195. package/.aiwf/token-data/alerts.json +293 -0
  196. package/.aiwf/token-data/monitor-config.json +12 -0
  197. package/CHANGELOG.md +95 -11
  198. package/CHANGELOG_M02.md +52 -0
  199. package/CLAUDE.md +135 -0
  200. package/README.ko.md +5 -0
  201. package/README.md +6 -0
  202. package/RELEASE_NOTES_M02.md +177 -0
  203. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
  204. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_default_mode.md +66 -0
  205. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
  206. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
  207. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_list_features.md +54 -0
  208. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_architect.md +60 -0
  209. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_backend.md +60 -0
  210. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_data_analyst.md +60 -0
  211. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_frontend.md +60 -0
  212. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_security.md +60 -0
  213. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_status.md +72 -0
  214. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
  215. package/claude-code/aiwf/en/commands/ai-persona.js +667 -0
  216. package/claude-code/aiwf/en/commands/compress-context.js +355 -0
  217. package/claude-code/aiwf/en/commands/feature-ledger.js +565 -0
  218. package/claude-code/aiwf/en/commands/feature_commit_report.js +370 -0
  219. package/claude-code/aiwf/en/commands/scan_git_history.js +234 -0
  220. package/claude-code/aiwf/en/commands/sync_feature_commits.js +154 -0
  221. package/claude-code/aiwf/en/commands/token-tracking.js +443 -0
  222. package/claude-code/aiwf/en/config/commit-patterns.js +103 -0
  223. package/claude-code/aiwf/en/hooks/install-hooks.sh +100 -0
  224. package/claude-code/aiwf/en/hooks/post-commit +84 -0
  225. package/claude-code/aiwf/en/tests/compression-test-suite.js +1252 -0
  226. package/claude-code/aiwf/en/tests/test-git-integration.js +164 -0
  227. package/claude-code/aiwf/en/tests/token-tracking.test.js +537 -0
  228. package/claude-code/aiwf/en/utils/compression-metrics.js +1031 -0
  229. package/claude-code/aiwf/en/utils/compression-strategies.js +557 -0
  230. package/claude-code/aiwf/en/utils/content-normalizer.js +455 -0
  231. package/claude-code/aiwf/en/utils/context-compressor.js +583 -0
  232. package/claude-code/aiwf/en/utils/feature-updater.js +271 -0
  233. package/claude-code/aiwf/en/utils/git-utils.js +220 -0
  234. package/claude-code/aiwf/en/utils/importance-classifier.js +645 -0
  235. package/claude-code/aiwf/en/utils/information-filter.js +710 -0
  236. package/claude-code/aiwf/en/utils/text-summarizer.js +487 -0
  237. package/claude-code/aiwf/en/utils/token-counter.js +177 -0
  238. package/claude-code/aiwf/en/utils/token-monitor.js +484 -0
  239. package/claude-code/aiwf/en/utils/token-reporter.js +453 -0
  240. package/claude-code/aiwf/en/utils/token-storage.js +433 -0
  241. package/claude-code/aiwf/en/utils/token-tracker.js +283 -0
  242. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_ID_GENERATOR.md +138 -0
  243. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_INDEX.md +186 -0
  244. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_METADATA.md +240 -0
  245. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_WORKFLOW.md +183 -0
  246. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/README.md +94 -0
  247. 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 +154 -0
  248. 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 +272 -0
  249. 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 +266 -0
  250. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_schema.json +122 -0
  251. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_validator.cjs +406 -0
  252. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
  253. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_context.md +116 -0
  254. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
  255. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
  256. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
  257. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
  258. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_default_mode.md +44 -0
  259. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
  260. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
  261. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
  262. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_list_features.md +54 -0
  263. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_architect.md +48 -0
  264. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_backend.md +37 -0
  265. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_data_analyst.md +37 -0
  266. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_frontend.md +37 -0
  267. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_security.md +48 -0
  268. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_status.md +50 -0
  269. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_docs_kr.md +25 -0
  270. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
  271. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +2 -2
  272. package/claude-code/aiwf/ko/CLAUDE.md +76 -0
  273. package/claude-code/aiwf/ko/ai-tools/README.md +105 -0
  274. package/claude-code/aiwf/ko/ai-tools/augment/README.md +371 -0
  275. package/claude-code/aiwf/ko/ai-tools/augment/config.json +30 -0
  276. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
  277. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/augment.yaml +347 -0
  278. package/claude-code/aiwf/ko/ai-tools/augment/template/augment.config.json +64 -0
  279. package/claude-code/aiwf/ko/ai-tools/claude-code/README.md +151 -0
  280. package/claude-code/aiwf/ko/ai-tools/claude-code/config.json +28 -0
  281. package/claude-code/aiwf/ko/ai-tools/claude-code/template/CLAUDE.md +91 -0
  282. package/claude-code/aiwf/ko/ai-tools/cursor/README.md +314 -0
  283. package/claude-code/aiwf/ko/ai-tools/cursor/config.json +29 -0
  284. package/claude-code/aiwf/ko/ai-tools/cursor/template/.cursorrules +362 -0
  285. package/claude-code/aiwf/ko/ai-tools/github-copilot/README.md +195 -0
  286. package/claude-code/aiwf/ko/ai-tools/github-copilot/config.json +24 -0
  287. package/claude-code/aiwf/ko/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
  288. package/claude-code/aiwf/ko/ai-tools/windsurf/README.md +355 -0
  289. package/claude-code/aiwf/ko/ai-tools/windsurf/config.json +29 -0
  290. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
  291. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
  292. package/claude-code/aiwf/ko/ai-tools/windsurf/template/windsurf.config.json +63 -0
  293. package/claude-code/aiwf/ko/commands/ai-persona.js +602 -0
  294. package/claude-code/aiwf/ko/commands/compress-context.js +389 -0
  295. package/claude-code/aiwf/ko/commands/evaluate.js +246 -0
  296. package/claude-code/aiwf/ko/commands/feature-ledger.js +565 -0
  297. package/claude-code/aiwf/ko/commands/feature_commit_report.js +370 -0
  298. package/claude-code/aiwf/ko/commands/persona-context-apply.js +562 -0
  299. package/claude-code/aiwf/ko/commands/scan_git_history.js +234 -0
  300. package/claude-code/aiwf/ko/commands/sync_feature_commits.js +154 -0
  301. package/claude-code/aiwf/ko/commands/token-tracking.js +443 -0
  302. package/claude-code/aiwf/ko/config/commit-patterns.js +103 -0
  303. package/claude-code/aiwf/ko/config/language.json +6 -0
  304. package/claude-code/aiwf/ko/feature-ledger/FL-001-authentication.json +52 -0
  305. package/claude-code/aiwf/ko/feature-ledger/feature-index.json +20 -0
  306. package/claude-code/aiwf/ko/hooks/install-hooks.sh +100 -0
  307. package/claude-code/aiwf/ko/hooks/post-commit +84 -0
  308. package/claude-code/aiwf/ko/personas/PERSONA_INDEX.md +57 -0
  309. package/claude-code/aiwf/ko/personas/analyst.json +44 -0
  310. package/claude-code/aiwf/ko/personas/architect/best_practices.md +136 -0
  311. package/claude-code/aiwf/ko/personas/architect/knowledge_base.md +377 -0
  312. package/claude-code/aiwf/ko/personas/architect.json +44 -0
  313. package/claude-code/aiwf/ko/personas/backend/best_practices.md +766 -0
  314. package/claude-code/aiwf/ko/personas/backend/knowledge_base.md +1070 -0
  315. package/claude-code/aiwf/ko/personas/data_analyst/best_practices.md +594 -0
  316. package/claude-code/aiwf/ko/personas/data_analyst/knowledge_base.md +1057 -0
  317. package/claude-code/aiwf/ko/personas/developer.json +44 -0
  318. package/claude-code/aiwf/ko/personas/developer.md +37 -0
  319. package/claude-code/aiwf/ko/personas/evaluation_criteria.json +137 -0
  320. package/claude-code/aiwf/ko/personas/frontend/best_practices.md +445 -0
  321. package/claude-code/aiwf/ko/personas/frontend/knowledge_base.md +729 -0
  322. package/claude-code/aiwf/ko/personas/persona-index.json +31 -0
  323. package/claude-code/aiwf/ko/personas/reviewer.json +44 -0
  324. package/claude-code/aiwf/ko/personas/security/best_practices.md +307 -0
  325. package/claude-code/aiwf/ko/personas/security/knowledge_base.md +498 -0
  326. package/claude-code/aiwf/ko/personas/tester.json +44 -0
  327. package/claude-code/aiwf/ko/scripts/cache-templates.js +209 -0
  328. package/claude-code/aiwf/ko/scripts/create-offline.js +86 -0
  329. package/claude-code/aiwf/ko/scripts/create-project.js +151 -0
  330. package/claude-code/aiwf/ko/scripts/feature-progress-calculator.cjs +236 -0
  331. package/claude-code/aiwf/ko/scripts/git-integration.cjs +391 -0
  332. package/claude-code/aiwf/ko/scripts/install-git-hooks.cjs +226 -0
  333. package/claude-code/aiwf/ko/scripts/test-commit-parsing.cjs +125 -0
  334. package/claude-code/aiwf/ko/scripts/update-feature-status.cjs +198 -0
  335. package/claude-code/aiwf/ko/templates/README.md +78 -0
  336. package/claude-code/aiwf/ko/templates/api-server/config.json +64 -0
  337. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/config.json +56 -0
  338. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
  339. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
  340. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
  341. package/claude-code/aiwf/ko/templates/api-server/template/.env.example +29 -0
  342. package/claude-code/aiwf/ko/templates/api-server/template/.eslintrc.json +23 -0
  343. package/claude-code/aiwf/ko/templates/api-server/template/README.md +171 -0
  344. package/claude-code/aiwf/ko/templates/api-server/template/jest.config.js +26 -0
  345. package/claude-code/aiwf/ko/templates/api-server/template/nodemon.json +9 -0
  346. package/claude-code/aiwf/ko/templates/api-server/template/package.json +61 -0
  347. package/claude-code/aiwf/ko/templates/api-server/template/src/app.ts +60 -0
  348. package/claude-code/aiwf/ko/templates/api-server/template/src/config/swagger.ts +38 -0
  349. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
  350. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/authController.ts +128 -0
  351. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/statusController.ts +28 -0
  352. package/claude-code/aiwf/ko/templates/api-server/template/src/index.ts +28 -0
  353. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
  354. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
  355. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
  356. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
  357. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
  358. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/aiwf.ts +42 -0
  359. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/index.ts +13 -0
  360. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/v1/index.ts +67 -0
  361. package/claude-code/aiwf/ko/templates/api-server/template/src/utils/logger.ts +37 -0
  362. package/claude-code/aiwf/ko/templates/api-server/template/tests/app.test.ts +40 -0
  363. package/claude-code/aiwf/ko/templates/api-server/template/tsconfig.json +43 -0
  364. package/claude-code/aiwf/ko/templates/npm-library/config.json +61 -0
  365. package/claude-code/aiwf/ko/templates/npm-library/template/LICENSE +21 -0
  366. package/claude-code/aiwf/ko/templates/npm-library/template/README.md +201 -0
  367. package/claude-code/aiwf/ko/templates/npm-library/template/package.json +78 -0
  368. package/claude-code/aiwf/ko/templates/web-app/config.json +53 -0
  369. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/config.json +54 -0
  370. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
  371. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
  372. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
  373. package/claude-code/aiwf/ko/templates/web-app/template/.eslintrc.cjs +20 -0
  374. package/claude-code/aiwf/ko/templates/web-app/template/README.md +151 -0
  375. package/claude-code/aiwf/ko/templates/web-app/template/index.html +14 -0
  376. package/claude-code/aiwf/ko/templates/web-app/template/package-lock.json +10022 -0
  377. package/claude-code/aiwf/ko/templates/web-app/template/package.json +44 -0
  378. package/claude-code/aiwf/ko/templates/web-app/template/postcss.config.js +6 -0
  379. package/claude-code/aiwf/ko/templates/web-app/template/public/vite.svg +1 -0
  380. package/claude-code/aiwf/ko/templates/web-app/template/src/App.tsx +21 -0
  381. package/claude-code/aiwf/ko/templates/web-app/template/src/components/Layout.tsx +57 -0
  382. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
  383. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
  384. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
  385. package/claude-code/aiwf/ko/templates/web-app/template/src/index.css +60 -0
  386. package/claude-code/aiwf/ko/templates/web-app/template/src/main.tsx +10 -0
  387. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
  388. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/HomePage.tsx +89 -0
  389. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/NotFound.tsx +25 -0
  390. package/claude-code/aiwf/ko/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
  391. package/claude-code/aiwf/ko/templates/web-app/template/src/types/global.d.ts +9 -0
  392. package/claude-code/aiwf/ko/templates/web-app/template/src/vite-env.d.ts +1 -0
  393. package/claude-code/aiwf/ko/templates/web-app/template/tailwind.config.js +30 -0
  394. package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.json +37 -0
  395. package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.node.json +10 -0
  396. package/claude-code/aiwf/ko/templates/web-app/template/vite.config.ts +23 -0
  397. package/claude-code/aiwf/ko/tests/compression-test-suite.js +1252 -0
  398. package/claude-code/aiwf/ko/tests/test-git-integration.js +164 -0
  399. package/claude-code/aiwf/ko/tests/token-tracking.test.js +537 -0
  400. package/claude-code/aiwf/ko/token-data/alerts.json +293 -0
  401. package/claude-code/aiwf/ko/token-data/monitor-config.json +12 -0
  402. package/claude-code/aiwf/ko/utils/background-monitor.js +223 -0
  403. package/claude-code/aiwf/ko/utils/compression-metrics.js +1031 -0
  404. package/claude-code/aiwf/ko/utils/compression-strategies.js +557 -0
  405. package/claude-code/aiwf/ko/utils/content-normalizer.js +455 -0
  406. package/claude-code/aiwf/ko/utils/context-compressor.js +583 -0
  407. package/claude-code/aiwf/ko/utils/context-rule-parser.js +180 -0
  408. package/claude-code/aiwf/ko/utils/context-token-monitor.js +463 -0
  409. package/claude-code/aiwf/ko/utils/context-update-manager.js +502 -0
  410. package/claude-code/aiwf/ko/utils/feature-updater.js +271 -0
  411. package/claude-code/aiwf/ko/utils/git-utils.js +220 -0
  412. package/claude-code/aiwf/ko/utils/importance-classifier.js +645 -0
  413. package/claude-code/aiwf/ko/utils/information-filter.js +710 -0
  414. package/claude-code/aiwf/ko/utils/persona-aware-compressor.js +598 -0
  415. package/claude-code/aiwf/ko/utils/prompt-injector.js +242 -0
  416. package/claude-code/aiwf/ko/utils/simplified-evaluator.js +119 -0
  417. package/claude-code/aiwf/ko/utils/text-summarizer.js +492 -0
  418. package/claude-code/aiwf/ko/utils/token-counter.js +177 -0
  419. package/claude-code/aiwf/ko/utils/token-monitor.js +484 -0
  420. package/claude-code/aiwf/ko/utils/token-reporter.js +453 -0
  421. package/claude-code/aiwf/ko/utils/token-storage.js +433 -0
  422. package/claude-code/aiwf/ko/utils/token-tracker.js +283 -0
  423. package/docs/AI_PERSONA_SYSTEM_DESIGN.md +516 -0
  424. package/docs/API_DOCUMENTATION.md +932 -0
  425. package/docs/API_REFERENCE.md +979 -0
  426. package/docs/COMMANDS_GUIDE.ko.md +8 -2
  427. package/docs/COMMANDS_GUIDE.md +196 -2
  428. package/docs/CONTRIBUTING.ko.md +408 -0
  429. package/docs/CONTRIBUTING.md +205 -203
  430. package/docs/EXAMPLES.md +691 -0
  431. package/docs/GETTING_STARTED.md +480 -0
  432. package/docs/PERFORMANCE_ARCHITECTURE.md +494 -0
  433. package/docs/PERFORMANCE_GUIDELINES.md +553 -0
  434. package/docs/TROUBLESHOOTING.md +721 -0
  435. package/docs/git-feature-integration-guide.md +253 -0
  436. package/docs/guides/ai-personas-guide-ko.md +239 -0
  437. package/docs/guides/ai-personas-guide.md +239 -0
  438. package/docs/guides/context-compression-guide-ko.md +313 -0
  439. package/docs/guides/context-compression-guide.md +313 -0
  440. package/docs/guides/feature-git-integration-guide-ko.md +481 -0
  441. package/docs/guides/feature-git-integration-guide.md +481 -0
  442. package/docs/lightweight-evaluation.md +198 -0
  443. package/docs/m02-dod-checklist.md +125 -0
  444. package/docs/m02-gap-analysis.md +214 -0
  445. package/docs/m02-milestone-completion-report.md +186 -0
  446. package/docs/m02-milestone-executive-summary.md +68 -0
  447. package/docs/offline-template-cache.md +323 -0
  448. package/docs/performance-benchmark-report.md +159 -0
  449. package/docs/persona-aware-compression.md +168 -0
  450. package/docs/reports/S02-sprint-report.md +190 -0
  451. package/docs/usability-test-report.md +170 -0
  452. package/index.js +116 -4
  453. package/jest.config.js +20 -1
  454. package/language-utils.js +1 -1
  455. package/lib/ai-persona-manager.js +711 -0
  456. package/lib/cache-cli.js +459 -0
  457. package/lib/cache-integration.js +401 -0
  458. package/lib/cache-system.js +332 -0
  459. package/lib/context-engine.js +568 -0
  460. package/lib/file-batch-processor.js +401 -0
  461. package/lib/memory-profiler.js +471 -0
  462. package/lib/metrics-collector.js +885 -0
  463. package/lib/offline-detector.js +386 -0
  464. package/lib/performance-benchmark.js +621 -0
  465. package/lib/task-analyzer.js +599 -0
  466. package/lib/template-cache-system.js +559 -0
  467. package/lib/template-downloader.js +467 -0
  468. package/lib/template-manager.js +310 -0
  469. package/lib/template-version-manager.js +491 -0
  470. package/lib/token-optimizer.js +517 -0
  471. package/package.json +6 -3
  472. package/scripts/run-integration-tests.js +317 -0
  473. package/src/commands/ai-tool.js +383 -0
  474. package/test-token-system.js +88 -0
  475. package/tests/application.test.js +260 -0
  476. package/tests/basic.test.js +1 -1
  477. package/tests/integration/ai-persona-system.test.js +396 -0
  478. package/tests/integration/ai-persona.test.js +390 -0
  479. package/tests/integration/command-integration.test.js +600 -0
  480. package/tests/integration/context-compression.test.js +361 -0
  481. package/tests/integration/feature-ledger.test.js +226 -0
  482. package/tests/integration/git-integration.test.js +307 -0
  483. package/tests/integration/m02-milestone.test.js +420 -0
  484. package/tests/integration/persona-context-application.test.js +508 -0
  485. package/tests/integration/setup.js +174 -0
  486. package/tests/integration/test-persona-aware-compression.js +93 -0
  487. package/tests/language-utils.test.js +25 -9
  488. package/tests/s02-integration.test.js +422 -0
  489. package/tests/unit/ai-persona-manager.test.js +514 -0
  490. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
  491. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +0 -246
  492. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
  493. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +0 -246
@@ -0,0 +1,177 @@
1
+ # AIWF v0.4.0 Release Notes - M02 Milestone
2
+
3
+ ## 🎉 Overview
4
+
5
+ AIWF v0.4.0 marks the completion of M02 milestone - Context Engineering Enhancement. This release introduces powerful features to reduce AI token usage by over 50% while improving developer productivity.
6
+
7
+ ## ✨ New Features
8
+
9
+ ### 1. Context Compression System
10
+ - Advanced compression algorithms reducing token usage by 50-55%
11
+ - Real-time compression with < 200ms latency
12
+ - Lossless compression ensuring data integrity
13
+ - Automatic compression for large files
14
+
15
+ ### 2. AI Persona System
16
+ - 5 pre-configured personas: analyst, architect, developer, reviewer, tester
17
+ - Dynamic context switching based on task type
18
+ - Persona performance tracking and metrics
19
+ - Custom persona creation support
20
+
21
+ ### 3. Enhanced Feature Ledger
22
+ - Automatic Git integration
23
+ - Feature lifecycle tracking
24
+ - Milestone linking
25
+ - Performance metrics per feature
26
+
27
+ ### 4. AI Tool Integration Templates
28
+ - Claude Code integration template
29
+ - GitHub Copilot configuration
30
+ - Cursor IDE setup guide
31
+ - Windsurf integration
32
+ - Augment tool support
33
+
34
+ ### 5. Comprehensive Documentation
35
+ - Complete Korean documentation
36
+ - Installation and setup guides
37
+ - Feature-specific tutorials
38
+ - Troubleshooting guide
39
+ - API reference
40
+
41
+ ## 📊 Performance Improvements
42
+
43
+ - **Token Usage**: 53.5% average reduction
44
+ - **Compression Speed**: < 200ms for 99% of files
45
+ - **Memory Overhead**: < 50MB
46
+ - **Cost Savings**: ~$36/month for typical usage
47
+
48
+ ## 🔧 Technical Changes
49
+
50
+ ### Breaking Changes
51
+ None - Full backward compatibility maintained
52
+
53
+ ### API Updates
54
+ ```javascript
55
+ // New compression API
56
+ aiwf.compress(content, { level: 'medium' })
57
+
58
+ // Persona switching
59
+ aiwf.persona.activate('developer')
60
+
61
+ // Feature ledger Git integration
62
+ aiwf.ledger.linkToCommit(featureId, commitHash)
63
+ ```
64
+
65
+ ### Dependencies
66
+ - Added: fs-extra@11.2.0
67
+ - Updated: commander@12.0.0
68
+ - Security: All dependencies updated to latest secure versions
69
+
70
+ ## 🐛 Bug Fixes
71
+
72
+ - Fixed feature ledger parsing for malformed files
73
+ - Resolved persona context loading race condition
74
+ - Corrected compression ratio calculation
75
+ - Fixed CLI command validation errors
76
+
77
+ ## 📝 Documentation
78
+
79
+ ### New Guides
80
+ - Context Compression Guide (Korean)
81
+ - AI Personas Guide (Korean)
82
+ - Feature Git Integration Guide (Korean)
83
+ - Performance Benchmark Report
84
+ - Usability Test Report
85
+
86
+ ### Updated Documentation
87
+ - Installation Guide - Added troubleshooting section
88
+ - API Reference - New compression and persona APIs
89
+ - Commands Guide - Updated with new CLI commands
90
+
91
+ ## 🚀 Migration Guide
92
+
93
+ ### From v0.3.x to v0.4.0
94
+
95
+ 1. **Update AIWF**
96
+ ```bash
97
+ npm update -g aiwf
98
+ ```
99
+
100
+ 2. **Initialize new features**
101
+ ```bash
102
+ aiwf upgrade --to-v0.4
103
+ ```
104
+
105
+ 3. **Configure compression** (optional)
106
+ ```bash
107
+ aiwf config compression --level medium
108
+ ```
109
+
110
+ 4. **Set default persona** (optional)
111
+ ```bash
112
+ aiwf persona set-default developer
113
+ ```
114
+
115
+ ## ⚠️ Known Issues
116
+
117
+ 1. **Offline cache not fully implemented**
118
+ - Impact: Limited offline functionality
119
+ - Workaround: Ensure internet connection
120
+ - Fix planned: v0.5.0
121
+
122
+ 2. **English documentation incomplete**
123
+ - Impact: English users rely on Korean docs
124
+ - Workaround: Use translation tools
125
+ - Fix planned: v0.4.1
126
+
127
+ 3. **Integration test failures**
128
+ - Impact: None on production
129
+ - Cause: Test environment setup
130
+ - Fix planned: v0.4.1
131
+
132
+ ## 🎯 What's Next
133
+
134
+ ### v0.4.1 (Bug fixes)
135
+ - Complete English documentation
136
+ - Fix integration test environment
137
+ - Minor UI improvements
138
+
139
+ ### v0.5.0 (S04 Sprint)
140
+ - Full offline cache implementation
141
+ - Performance monitoring dashboard
142
+ - Additional AI tool integrations
143
+ - Enhanced error handling
144
+
145
+ ## 🙏 Acknowledgments
146
+
147
+ Thanks to all contributors who made this release possible:
148
+ - Feature Ledger system design and implementation
149
+ - AI Persona system architecture
150
+ - Context compression algorithm development
151
+ - Comprehensive testing and documentation
152
+
153
+ ## 📦 Installation
154
+
155
+ ### New Installation
156
+ ```bash
157
+ npm install -g aiwf@0.4.0
158
+ aiwf init
159
+ ```
160
+
161
+ ### Upgrade
162
+ ```bash
163
+ npm update -g aiwf
164
+ aiwf upgrade
165
+ ```
166
+
167
+ ## 📞 Support
168
+
169
+ - Documentation: https://aiwf.dev/docs
170
+ - Issues: https://github.com/aiwf/aiwf/issues
171
+ - Discord: https://discord.gg/aiwf
172
+
173
+ ---
174
+
175
+ **Release Date**: 2025-07-08
176
+ **Version**: 0.4.0
177
+ **Codename**: Context Master
@@ -0,0 +1,54 @@
1
+ # Create Feature Ledger
2
+
3
+ Create a new Feature Ledger to track feature development.
4
+
5
+ ```bash
6
+ cd .aiwf && node ../claude-code/aiwf/en/commands/feature-ledger.js create "$@"
7
+ ```
8
+
9
+ ## Description
10
+
11
+ Feature Ledger is a system for systematically tracking and managing each feature development in your project. Use this command when you start developing a new feature.
12
+
13
+ ### 🎯 Key Features
14
+ - Automatic Feature ID assignment (FL001, FL002...)
15
+ - Standardized directory structure creation
16
+ - Automatic Feature index updates
17
+ - Git branch creation guidance
18
+
19
+ ### 📝 Usage
20
+ ```bash
21
+ # Interactive mode (recommended)
22
+ /project:aiwf:create_feature_ledger
23
+
24
+ # Direct name specification
25
+ /project:aiwf:create_feature_ledger user_authentication
26
+ /project:aiwf:create_feature_ledger "Dashboard Redesign"
27
+ ```
28
+
29
+ ### 📂 Creation Location
30
+ - `.aiwf/06_FEATURE_LEDGERS/active/FL###_feature_name.md`
31
+ - Automatic index file update
32
+
33
+ ### ✅ Creation Process
34
+ 1. Check next available Feature ID
35
+ 2. Receive Feature metadata input
36
+ 3. Create Feature file
37
+ 4. Update index
38
+ 5. Provide Git branch creation guidance
39
+
40
+ ## Example Output
41
+ ```
42
+ 🎯 Feature Ledger created successfully!
43
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
44
+ Feature ID: FL001
45
+ Title: User Authentication System
46
+ Status: active
47
+ Priority: high
48
+ Category: feature
49
+
50
+ 📁 File location: .aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication.md
51
+
52
+ 💡 Next steps:
53
+ git checkout -b feature/FL001-user-authentication
54
+ ```
@@ -0,0 +1,66 @@
1
+ # Restore Default Mode
2
+
3
+ Restores AI to default mode.
4
+
5
+ ## Usage
6
+ ```bash
7
+ cd .aiwf && node ../claude-code/aiwf/en/commands/ai-persona.js default
8
+ ```
9
+
10
+ ## Persona Context Application
11
+
12
+ This command deactivates any active persona context and restores the AI to its default general-purpose mode.
13
+
14
+ ## Actions Performed
15
+
16
+ - Deactivate current persona
17
+ - Remove persona-specific context rules
18
+ - Clear specialized behavior patterns
19
+ - Switch to default AI behavior mode
20
+ - Save session statistics
21
+
22
+ ## Usage Scenarios
23
+
24
+ - When specific persona is no longer needed
25
+ - Returning to general development tasks
26
+ - Before switching to another persona
27
+ - When troubleshooting persona-related issues
28
+ - Resetting AI behavior to baseline
29
+
30
+ ## Output Example
31
+ ```
32
+ 🎭 Persona Mode Deactivated
33
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
34
+ Previous Persona: [Persona Name]
35
+ Session Time: [Time]
36
+ Context Rules Removed: [Count]
37
+ Restored to default mode.
38
+ ```
39
+
40
+ ## Default Mode Characteristics
41
+
42
+ ### General Purpose AI
43
+ - Balanced approach to all tasks
44
+ - No specialized context rules
45
+ - Standard communication style
46
+ - Flexible problem-solving
47
+
48
+ ### Available Capabilities
49
+ - All AI features remain accessible
50
+ - Can handle any type of request
51
+ - No domain-specific biases
52
+ - Ready for persona activation
53
+
54
+ ## Notes
55
+ - Persona session statistics are automatically saved
56
+ - You can activate any other persona at any time
57
+ - Default mode is the baseline AI behavior
58
+ - No performance impact in default mode
59
+
60
+ ## Related Commands
61
+ - `/project:aiwf:persona_status` - Check persona status
62
+ - `/project:aiwf:architect` - Activate Architect persona
63
+ - `/project:aiwf:security` - Activate Security persona
64
+ - `/project:aiwf:frontend` - Activate Frontend persona
65
+ - `/project:aiwf:backend` - Activate Backend persona
66
+ - `/project:aiwf:data_analyst` - Activate Data Analyst persona
@@ -0,0 +1,78 @@
1
+ # Get Feature Details
2
+
3
+ View detailed information for a specific Feature Ledger.
4
+
5
+ ```bash
6
+ cd .aiwf && node ../claude-code/aiwf/en/commands/feature-ledger.js details "$@"
7
+ ```
8
+
9
+ ## Description
10
+
11
+ Query all information for a Feature in detail using the Feature ID.
12
+
13
+ ### 🎯 Output Formats
14
+ - `--format=full` - Full information (default)
15
+ - `--format=summary` - Summary information
16
+ - `--format=technical` - Technical details
17
+ - `--format=progress` - Progress-focused
18
+
19
+ ### 📝 Usage
20
+ ```bash
21
+ # Full detailed information
22
+ /project:aiwf:get_feature_details FL001
23
+
24
+ # View summary only
25
+ /project:aiwf:get_feature_details FL001 --format=summary
26
+
27
+ # Check technical details
28
+ /project:aiwf:get_feature_details FL001 --format=technical
29
+ ```
30
+
31
+ ### 📋 Display Information
32
+ - Feature metadata
33
+ - Development progress
34
+ - Related tasks and commits
35
+ - Assignees and reviewers
36
+ - Timeline and milestones
37
+ - Technical details
38
+
39
+ ## Example Output (Full Information)
40
+ ```
41
+ 🎯 Feature Details
42
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
43
+
44
+ 📌 Basic Information
45
+ Feature ID: FL001
46
+ Title: User Authentication System
47
+ Status: active
48
+ Priority: high
49
+ Category: feature
50
+
51
+ 📊 Progress
52
+ Progress: 75%
53
+ Start Date: 2025-07-05
54
+ Expected Completion: 2025-07-12
55
+ Elapsed Time: 5 days
56
+
57
+ 🎯 Milestone & Sprint
58
+ Milestone: M02 - Context Engineering Enhancement
59
+ Sprint: S01_M02 - context_foundation
60
+
61
+ 👥 Assignees
62
+ Developer: @developer1
63
+ Reviewers: @reviewer1, @reviewer2
64
+
65
+ 📝 Description
66
+ Implement JWT-based user authentication system. Includes OAuth2.0 social login support.
67
+
68
+ 🔧 Tech Stack
69
+ - Backend: Node.js, Express, JWT
70
+ - Database: PostgreSQL
71
+ - Frontend: React, Redux
72
+
73
+ 📈 Progress History
74
+ [2025-07-05] Feature created
75
+ [2025-07-06] Database schema design completed
76
+ [2025-07-08] Basic JWT authentication implemented
77
+ [2025-07-10] OAuth2.0 implementation in progress
78
+ ```
@@ -0,0 +1,57 @@
1
+ # Link Feature to Milestone
2
+
3
+ Link a Feature Ledger to a milestone and sprint.
4
+
5
+ ```bash
6
+ cd .aiwf && node ../claude-code/aiwf/en/commands/feature-ledger.js link-milestone "$@"
7
+ ```
8
+
9
+ ## Description
10
+
11
+ Link a Feature to a specific milestone and sprint to synchronize with project planning.
12
+
13
+ ### 🎯 Link Options
14
+ - Milestone link (required)
15
+ - Sprint link (optional)
16
+ - Task link (optional)
17
+ - Automatic priority adjustment
18
+
19
+ ### 📝 Usage
20
+ ```bash
21
+ # Link to milestone only
22
+ /project:aiwf:link_feature_to_milestone FL001 M02
23
+
24
+ # Link to milestone and sprint
25
+ /project:aiwf:link_feature_to_milestone FL001 M02 --sprint=S01_M02
26
+
27
+ # Link to task as well
28
+ /project:aiwf:link_feature_to_milestone FL001 M02 --sprint=S01_M02 --task=TX01_S01
29
+
30
+ # Interactive mode
31
+ /project:aiwf:link_feature_to_milestone
32
+ ```
33
+
34
+ ### 🔄 Automatic Updates
35
+ - Add milestone information to Feature file
36
+ - Add Feature reference to milestone file
37
+ - Update sprint metadata
38
+ - Synchronize priorities
39
+
40
+ ## Example Output
41
+ ```
42
+ ✅ Feature-Milestone link completed
43
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
44
+ Feature: FL001 - User Authentication System
45
+ Milestone: M02 - Context Engineering Enhancement
46
+ Sprint: S01_M02 - context_foundation
47
+
48
+ 📊 Link Results:
49
+ - Feature file updated ✓
50
+ - Milestone reference added ✓
51
+ - Sprint meta updated ✓
52
+
53
+ 🔗 Related Files:
54
+ - .aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication.md
55
+ - .aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md
56
+ - .aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md
57
+ ```
@@ -0,0 +1,54 @@
1
+ # List Features
2
+
3
+ View Feature Ledger list with various filters and formats.
4
+
5
+ ```bash
6
+ cd .aiwf && node ../claude-code/aiwf/en/commands/feature-ledger.js list "$@"
7
+ ```
8
+
9
+ ## Description
10
+
11
+ Query all Features in the project by filtering by status, priority, category, etc.
12
+
13
+ ### 🎯 Filter Options
14
+ - `--status=<status>` - Filter by status (active, completed, paused, archived, all)
15
+ - `--milestone=<milestone>` - Filter by milestone (e.g., M02)
16
+ - `--priority=<priority>` - Filter by priority (critical, high, medium, low)
17
+ - `--category=<category>` - Filter by category (feature, enhancement, bugfix, refactor)
18
+
19
+ ### 📊 Output Formats
20
+ - `--format=table` - Table format (default)
21
+ - `--format=list` - List format
22
+ - `--format=dashboard` - Dashboard format
23
+
24
+ ### 🔄 Sort Options
25
+ - `--sort=id` - Sort by Feature ID (default)
26
+ - `--sort=updated` - Sort by most recent update
27
+ - `--sort=priority` - Sort by priority
28
+ - `--sort=progress` - Sort by progress
29
+
30
+ ### 📝 Usage
31
+ ```bash
32
+ # View all active Features
33
+ /project:aiwf:list_features
34
+
35
+ # High priority Features in M02 milestone
36
+ /project:aiwf:list_features --milestone=M02 --priority=high
37
+
38
+ # View overall status in dashboard format
39
+ /project:aiwf:list_features --status=all --format=dashboard
40
+ ```
41
+
42
+ ## Example Output (Table Format)
43
+ ```
44
+ 📋 Feature Ledger List
45
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
46
+ ID | Title | Status | Priority | Progress
47
+ ------+------------------------+-----------+----------+---------
48
+ FL001 | User Authentication | active | high | 75%
49
+ FL002 | Dashboard Redesign | active | medium | 40%
50
+ FL003 | API Rate Limiting | completed | critical | 100%
51
+ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
52
+
53
+ Total 3 Features | Active: 2 | Completed: 1
54
+ ```
@@ -0,0 +1,60 @@
1
+ # Activate Architect Persona
2
+
3
+ Switches AI to system architecture expert mode.
4
+
5
+ ## Usage
6
+ ```bash
7
+ cd .aiwf && node ../claude-code/aiwf/en/commands/ai-persona.js architect
8
+ ```
9
+
10
+ ## Persona Context Application
11
+
12
+ This command applies the architect expert persona context, optimizing the AI for system architecture design and related tasks.
13
+
14
+ ## Expertise Areas
15
+
16
+ - System design and architecture patterns
17
+ - Scalability and performance optimization
18
+ - Technology stack selection and evaluation
19
+ - Microservices design
20
+ - API design principles
21
+ - Database schema design
22
+ - Infrastructure architecture
23
+
24
+ ## Key Behaviors
25
+
26
+ - Present big picture view of system structure
27
+ - Propose design with scalability and maintainability in mind
28
+ - Analyze technical trade-offs
29
+ - Support architecture diagram generation
30
+ - Apply design patterns and best practices
31
+
32
+ ## Context Rules
33
+
34
+ ### Primary Focus
35
+ - System-level thinking and holistic approach
36
+ - Performance and scalability considerations
37
+ - Clean architecture principles
38
+ - Technology selection based on requirements
39
+
40
+ ### Communication Style
41
+ - Use architecture diagrams when explaining
42
+ - Provide clear technical rationale
43
+ - Balance theory with practical implementation
44
+ - Consider long-term maintainability
45
+
46
+ ### Problem-Solving Approach
47
+ 1. Understand business requirements first
48
+ 2. Analyze non-functional requirements
49
+ 3. Design with future growth in mind
50
+ 4. Document architectural decisions
51
+
52
+ ## Example Prompts
53
+ - "Please design the overall architecture for this project"
54
+ - "Suggest communication methods between microservices"
55
+ - "Help design a scalable database architecture"
56
+ - "Analyze bottlenecks in the current architecture"
57
+
58
+ ## Related Commands
59
+ - `/project:aiwf:persona_status` - Check current persona status
60
+ - `/project:aiwf:default_mode` - Restore to default mode
@@ -0,0 +1,60 @@
1
+ # Activate Backend Persona
2
+
3
+ Switches AI to backend development expert mode.
4
+
5
+ ## Usage
6
+ ```bash
7
+ cd .aiwf && node ../claude-code/aiwf/en/commands/ai-persona.js backend
8
+ ```
9
+
10
+ ## Persona Context Application
11
+
12
+ This command applies the backend expert persona context, optimizing the AI for server-side development, API design, and backend infrastructure tasks.
13
+
14
+ ## Expertise Areas
15
+
16
+ - RESTful API and GraphQL design
17
+ - Database design and optimization
18
+ - Server architecture and infrastructure
19
+ - Caching strategies and performance tuning
20
+ - Message queues and asynchronous processing
21
+ - Microservices implementation
22
+ - Server security and authentication
23
+
24
+ ## Key Behaviors
25
+
26
+ - API endpoint design and implementation
27
+ - Database query optimization
28
+ - Transaction management and concurrency control
29
+ - Error handling and logging strategy
30
+ - Scalable server architecture design
31
+
32
+ ## Context Rules
33
+
34
+ ### Primary Focus
35
+ - Robust and scalable server design
36
+ - Data integrity and consistency
37
+ - Performance optimization
38
+ - Security and authentication
39
+
40
+ ### Communication Style
41
+ - Clear API documentation format
42
+ - Database schema diagrams
43
+ - Performance benchmarks and metrics
44
+ - Error handling strategies
45
+
46
+ ### Problem-Solving Approach
47
+ 1. Define clear API contracts
48
+ 2. Design efficient data models
49
+ 3. Implement robust error handling
50
+ 4. Monitor and optimize performance
51
+
52
+ ## Example Prompts
53
+ - "Design RESTful API endpoints"
54
+ - "Optimize database queries"
55
+ - "Implement caching strategy"
56
+ - "Design asynchronous task processing system"
57
+
58
+ ## Related Commands
59
+ - `/project:aiwf:persona_status` - Check current persona status
60
+ - `/project:aiwf:default_mode` - Restore to default mode
@@ -0,0 +1,60 @@
1
+ # Activate Data Analyst Persona
2
+
3
+ Switches AI to data analysis expert mode.
4
+
5
+ ## Usage
6
+ ```bash
7
+ cd .aiwf && node ../claude-code/aiwf/en/commands/ai-persona.js data_analyst
8
+ ```
9
+
10
+ ## Persona Context Application
11
+
12
+ This command applies the data analyst expert persona context, optimizing the AI for data analysis, machine learning, and business intelligence tasks.
13
+
14
+ ## Expertise Areas
15
+
16
+ - Data analysis and visualization
17
+ - Statistical analysis and insight derivation
18
+ - Machine learning model design and implementation
19
+ - Data pipeline construction
20
+ - ETL process design
21
+ - Real-time data processing
22
+ - Performance metrics analysis
23
+
24
+ ## Key Behaviors
25
+
26
+ - Data pattern and trend analysis
27
+ - Statistical validation and hypothesis testing
28
+ - Data quality assessment and improvement
29
+ - Visualization chart and dashboard design
30
+ - Predictive model building and evaluation
31
+
32
+ ## Context Rules
33
+
34
+ ### Primary Focus
35
+ - Data-driven decision making
36
+ - Statistical rigor and validation
37
+ - Actionable insights generation
38
+ - Scalable data processing
39
+
40
+ ### Communication Style
41
+ - Clear visualization recommendations
42
+ - Statistical significance explanations
43
+ - Business impact analysis
44
+ - Data quality considerations
45
+
46
+ ### Problem-Solving Approach
47
+ 1. Understand business questions
48
+ 2. Explore and clean data
49
+ 3. Apply appropriate analysis methods
50
+ 4. Communicate insights effectively
51
+
52
+ ## Example Prompts
53
+ - "Analyze patterns in this data"
54
+ - "Design real-time data pipeline"
55
+ - "Implement machine learning model"
56
+ - "Analyze performance metrics and suggest improvements"
57
+
58
+ ## Related Commands
59
+ - `/project:aiwf:persona_status` - Check current persona status
60
+ - `/project:aiwf:default_mode` - Restore to default mode