aiwf 0.3.1 → 0.3.2

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 (507) hide show
  1. package/.aiwf/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
  2. package/.aiwf/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
  3. package/.aiwf/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
  4. package/.aiwf/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
  5. package/.aiwf/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
  6. package/.aiwf/00_PROJECT_MANIFEST.md +183 -0
  7. package/.aiwf/01_PROJECT_DOCS/ARCHITECTURE.md +121 -0
  8. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
  9. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_API_REFERENCE.md +361 -0
  10. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
  11. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_FAQ.md +365 -0
  12. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
  13. package/.aiwf/01_PROJECT_DOCS/FEATURE_LEDGER_USER_GUIDE.md +416 -0
  14. 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
  15. package/.aiwf/02_REQUIREMENTS/CLAUDE.md +78 -0
  16. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/M02_milestone_meta.md +34 -0
  17. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/PRD_Context_Engineering_Enhancement.md +108 -0
  18. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_AI_Persona_System.md +299 -0
  19. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Feature_Ledger_System.md +330 -0
  20. package/.aiwf/02_REQUIREMENTS/M02_Context_Engineering_Enhancement/SPECS_Token_Optimization.md +833 -0
  21. package/.aiwf/03_SPRINTS/CLAUDE.md +83 -0
  22. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/S01_M02_sprint_meta.md +95 -0
  23. 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
  24. 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
  25. 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
  26. package/.aiwf/03_SPRINTS/S01_M02_context_foundation/TX04_S01_Feature_Ledger_/353/254/270/354/204/234/355/231/224.md +114 -0
  27. 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
  28. 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
  29. 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
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. package/.aiwf/03_SPRINTS/S02_M02_ai_enhancement/S02_M02_sprint_meta.md +107 -0
  36. 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
  37. 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
  38. 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
  39. 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
  40. 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
  41. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_FINAL_SPRINT_SUMMARY.md +137 -0
  42. package/.aiwf/03_SPRINTS/S03_M02_ecosystem_integration/S03_M02_sprint_meta.md +106 -0
  43. 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
  44. 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
  45. 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
  46. 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
  47. package/.aiwf/04_GENERAL_TASKS/CLAUDE.md +96 -0
  48. package/.aiwf/04_GENERAL_TASKS/TX001_complete_english_translation.md +127 -0
  49. package/.aiwf/05_DOCUMENTATION/performance-report.md +33 -0
  50. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_GIT_INTEGRATION.md +314 -0
  51. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_INTEGRATION_GUIDE.md +227 -0
  52. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_LEDGER_INDEX.md +23 -0
  53. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_SCHEMA.md +205 -0
  54. package/.aiwf/06_FEATURE_LEDGERS/FEATURE_STATE_DIAGRAM.md +190 -0
  55. package/.aiwf/06_FEATURE_LEDGERS/active/FL001_user_authentication_system.md +47 -0
  56. package/.aiwf/06_FEATURE_LEDGERS/active/FL002_user_authentication_system.md +47 -0
  57. package/.aiwf/07_AI_PERSONAS/PERSONA_INDEX.md +57 -0
  58. package/.aiwf/07_AI_PERSONAS/architect/best_practices.md +104 -0
  59. package/.aiwf/07_AI_PERSONAS/architect/context_rules.md +46 -0
  60. package/.aiwf/07_AI_PERSONAS/architect/knowledge_base.md +235 -0
  61. package/.aiwf/07_AI_PERSONAS/backend/best_practices.md +363 -0
  62. package/.aiwf/07_AI_PERSONAS/backend/context_rules.md +61 -0
  63. package/.aiwf/07_AI_PERSONAS/backend/knowledge_base.md +623 -0
  64. package/.aiwf/07_AI_PERSONAS/data_analyst/best_practices.md +32 -0
  65. package/.aiwf/07_AI_PERSONAS/data_analyst/context_rules.md +43 -0
  66. package/.aiwf/07_AI_PERSONAS/data_analyst/knowledge_base.md +36 -0
  67. package/.aiwf/07_AI_PERSONAS/frontend/best_practices.md +31 -0
  68. package/.aiwf/07_AI_PERSONAS/frontend/context_rules.md +43 -0
  69. package/.aiwf/07_AI_PERSONAS/frontend/knowledge_base.md +32 -0
  70. package/.aiwf/07_AI_PERSONAS/security/best_practices.md +63 -0
  71. package/.aiwf/07_AI_PERSONAS/security/context_rules.md +53 -0
  72. package/.aiwf/07_AI_PERSONAS/security/knowledge_base.md +93 -0
  73. package/.aiwf/10_PERSONAS/active.json +1 -0
  74. package/.aiwf/10_PERSONAS/developer.md +37 -0
  75. package/.aiwf/10_STATE_OF_PROJECT/2025-07-09-07-20-solid-progress.md +144 -0
  76. package/.aiwf/98_PROMPTS/SAAS_DEVELOPMENT_GUIDE.md +302 -0
  77. package/.aiwf/98_PROMPTS/github_integration.md +130 -0
  78. package/.aiwf/98_PROMPTS/useful-prompts.md +31 -0
  79. package/.aiwf/98_PROMPTS/vibe-front-prompts.md +89 -0
  80. package/.aiwf/99_TEMPLATES/adr_template.md +49 -0
  81. package/.aiwf/99_TEMPLATES/feature_template.md +263 -0
  82. package/.aiwf/99_TEMPLATES/milestone_meta_template.md +25 -0
  83. package/.aiwf/99_TEMPLATES/project_manifest_template.md +39 -0
  84. package/.aiwf/99_TEMPLATES/sprint_meta_template.md +23 -0
  85. package/.aiwf/99_TEMPLATES/task_template.md +36 -0
  86. package/.aiwf/CLAUDE.md +76 -0
  87. package/.aiwf/ai-tools/README.md +105 -0
  88. package/.aiwf/ai-tools/augment/README.md +371 -0
  89. package/.aiwf/ai-tools/augment/config.json +30 -0
  90. package/.aiwf/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
  91. package/.aiwf/ai-tools/augment/template/.augment/augment.yaml +347 -0
  92. package/.aiwf/ai-tools/augment/template/augment.config.json +64 -0
  93. package/.aiwf/ai-tools/claude-code/README.md +151 -0
  94. package/.aiwf/ai-tools/claude-code/config.json +28 -0
  95. package/.aiwf/ai-tools/claude-code/template/CLAUDE.md +91 -0
  96. package/.aiwf/ai-tools/cursor/README.md +314 -0
  97. package/.aiwf/ai-tools/cursor/config.json +29 -0
  98. package/.aiwf/ai-tools/cursor/template/.cursorrules +362 -0
  99. package/.aiwf/ai-tools/github-copilot/README.md +195 -0
  100. package/.aiwf/ai-tools/github-copilot/config.json +24 -0
  101. package/.aiwf/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
  102. package/.aiwf/ai-tools/windsurf/README.md +355 -0
  103. package/.aiwf/ai-tools/windsurf/config.json +29 -0
  104. package/.aiwf/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
  105. package/.aiwf/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
  106. package/.aiwf/ai-tools/windsurf/template/windsurf.config.json +63 -0
  107. package/.aiwf/config/language.json +6 -0
  108. package/.aiwf/feature-ledger/FL-001-authentication.json +52 -0
  109. package/.aiwf/feature-ledger/feature-index.json +20 -0
  110. package/.aiwf/personas/analyst.json +44 -0
  111. package/.aiwf/personas/architect/best_practices.md +136 -0
  112. package/.aiwf/personas/architect/knowledge_base.md +377 -0
  113. package/.aiwf/personas/architect.json +44 -0
  114. package/.aiwf/personas/backend/best_practices.md +766 -0
  115. package/.aiwf/personas/backend/knowledge_base.md +1070 -0
  116. package/.aiwf/personas/data_analyst/best_practices.md +594 -0
  117. package/.aiwf/personas/data_analyst/knowledge_base.md +1057 -0
  118. package/.aiwf/personas/developer.json +44 -0
  119. package/.aiwf/personas/evaluation_criteria.json +137 -0
  120. package/.aiwf/personas/frontend/best_practices.md +445 -0
  121. package/.aiwf/personas/frontend/knowledge_base.md +729 -0
  122. package/.aiwf/personas/persona-index.json +31 -0
  123. package/.aiwf/personas/reviewer.json +44 -0
  124. package/.aiwf/personas/security/best_practices.md +307 -0
  125. package/.aiwf/personas/security/knowledge_base.md +498 -0
  126. package/.aiwf/personas/tester.json +44 -0
  127. package/.aiwf/scripts/cache-templates.js +209 -0
  128. package/.aiwf/scripts/create-offline.js +86 -0
  129. package/.aiwf/scripts/create-project.js +151 -0
  130. package/.aiwf/scripts/feature-progress-calculator.cjs +236 -0
  131. package/.aiwf/scripts/git-integration.cjs +391 -0
  132. package/.aiwf/scripts/install-git-hooks.cjs +226 -0
  133. package/.aiwf/scripts/test-commit-parsing.cjs +125 -0
  134. package/.aiwf/scripts/update-feature-status.cjs +198 -0
  135. package/.aiwf/templates/README.md +78 -0
  136. package/.aiwf/templates/api-server/config.json +64 -0
  137. package/.aiwf/templates/api-server/template/.aiwf/config.json +56 -0
  138. package/.aiwf/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
  139. package/.aiwf/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
  140. package/.aiwf/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
  141. package/.aiwf/templates/api-server/template/.env.example +29 -0
  142. package/.aiwf/templates/api-server/template/.eslintrc.json +23 -0
  143. package/.aiwf/templates/api-server/template/README.md +171 -0
  144. package/.aiwf/templates/api-server/template/jest.config.js +26 -0
  145. package/.aiwf/templates/api-server/template/nodemon.json +9 -0
  146. package/.aiwf/templates/api-server/template/package.json +61 -0
  147. package/.aiwf/templates/api-server/template/src/app.ts +60 -0
  148. package/.aiwf/templates/api-server/template/src/config/swagger.ts +38 -0
  149. package/.aiwf/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
  150. package/.aiwf/templates/api-server/template/src/controllers/authController.ts +128 -0
  151. package/.aiwf/templates/api-server/template/src/controllers/statusController.ts +28 -0
  152. package/.aiwf/templates/api-server/template/src/index.ts +28 -0
  153. package/.aiwf/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
  154. package/.aiwf/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
  155. package/.aiwf/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
  156. package/.aiwf/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
  157. package/.aiwf/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
  158. package/.aiwf/templates/api-server/template/src/routes/aiwf.ts +42 -0
  159. package/.aiwf/templates/api-server/template/src/routes/index.ts +13 -0
  160. package/.aiwf/templates/api-server/template/src/routes/v1/index.ts +67 -0
  161. package/.aiwf/templates/api-server/template/src/utils/logger.ts +37 -0
  162. package/.aiwf/templates/api-server/template/tests/app.test.ts +40 -0
  163. package/.aiwf/templates/api-server/template/tsconfig.json +43 -0
  164. package/.aiwf/templates/npm-library/config.json +61 -0
  165. package/.aiwf/templates/npm-library/template/LICENSE +21 -0
  166. package/.aiwf/templates/npm-library/template/README.md +201 -0
  167. package/.aiwf/templates/npm-library/template/package.json +78 -0
  168. package/.aiwf/templates/web-app/config.json +53 -0
  169. package/.aiwf/templates/web-app/template/.aiwf/config.json +54 -0
  170. package/.aiwf/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
  171. package/.aiwf/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
  172. package/.aiwf/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
  173. package/.aiwf/templates/web-app/template/.eslintrc.cjs +20 -0
  174. package/.aiwf/templates/web-app/template/README.md +151 -0
  175. package/.aiwf/templates/web-app/template/index.html +14 -0
  176. package/.aiwf/templates/web-app/template/package.json +44 -0
  177. package/.aiwf/templates/web-app/template/postcss.config.js +6 -0
  178. package/.aiwf/templates/web-app/template/public/vite.svg +1 -0
  179. package/.aiwf/templates/web-app/template/src/App.tsx +21 -0
  180. package/.aiwf/templates/web-app/template/src/components/Layout.tsx +57 -0
  181. package/.aiwf/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
  182. package/.aiwf/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
  183. package/.aiwf/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
  184. package/.aiwf/templates/web-app/template/src/index.css +60 -0
  185. package/.aiwf/templates/web-app/template/src/main.tsx +10 -0
  186. package/.aiwf/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
  187. package/.aiwf/templates/web-app/template/src/pages/HomePage.tsx +89 -0
  188. package/.aiwf/templates/web-app/template/src/pages/NotFound.tsx +25 -0
  189. package/.aiwf/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
  190. package/.aiwf/templates/web-app/template/src/types/global.d.ts +9 -0
  191. package/.aiwf/templates/web-app/template/src/vite-env.d.ts +1 -0
  192. package/.aiwf/templates/web-app/template/tailwind.config.js +30 -0
  193. package/.aiwf/templates/web-app/template/tsconfig.json +37 -0
  194. package/.aiwf/templates/web-app/template/tsconfig.node.json +10 -0
  195. package/.aiwf/templates/web-app/template/vite.config.ts +23 -0
  196. package/.aiwf/test-cache/86c7f9e80251abb8bedd58953ab0d1779e46b4f43ea33b63bffdb778106373b0.json +6 -0
  197. package/.aiwf/test-cache/9e252a90b80fce0585d7ed0646e7a9b4343e109f661f42a3ae678ba1ec5e22c7.json +7 -0
  198. package/.aiwf/test-results-s02.json +36 -0
  199. package/.aiwf/token-data/alerts.json +293 -0
  200. package/.aiwf/token-data/monitor-config.json +12 -0
  201. package/CHANGELOG.md +95 -11
  202. package/CHANGELOG_M02.md +52 -0
  203. package/CLAUDE.md +135 -0
  204. package/README.ko.md +5 -0
  205. package/README.md +6 -0
  206. package/RELEASE_NOTES_M02.md +177 -0
  207. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
  208. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_default_mode.md +66 -0
  209. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
  210. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
  211. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_list_features.md +54 -0
  212. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_architect.md +60 -0
  213. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_backend.md +60 -0
  214. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_data_analyst.md +60 -0
  215. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_frontend.md +60 -0
  216. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_security.md +60 -0
  217. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_persona_status.md +72 -0
  218. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
  219. package/claude-code/aiwf/en/commands/ai-persona.js +667 -0
  220. package/claude-code/aiwf/en/commands/compress-context.js +355 -0
  221. package/claude-code/aiwf/en/commands/feature-ledger.js +565 -0
  222. package/claude-code/aiwf/en/commands/feature_commit_report.js +370 -0
  223. package/claude-code/aiwf/en/commands/scan_git_history.js +234 -0
  224. package/claude-code/aiwf/en/commands/sync_feature_commits.js +154 -0
  225. package/claude-code/aiwf/en/commands/token-tracking.js +443 -0
  226. package/claude-code/aiwf/en/config/commit-patterns.js +103 -0
  227. package/claude-code/aiwf/en/hooks/install-hooks.sh +100 -0
  228. package/claude-code/aiwf/en/hooks/post-commit +84 -0
  229. package/claude-code/aiwf/en/tests/compression-test-suite.js +1252 -0
  230. package/claude-code/aiwf/en/tests/test-git-integration.js +164 -0
  231. package/claude-code/aiwf/en/tests/token-tracking.test.js +537 -0
  232. package/claude-code/aiwf/en/utils/compression-metrics.js +1031 -0
  233. package/claude-code/aiwf/en/utils/compression-strategies.js +557 -0
  234. package/claude-code/aiwf/en/utils/content-normalizer.js +455 -0
  235. package/claude-code/aiwf/en/utils/context-compressor.js +583 -0
  236. package/claude-code/aiwf/en/utils/feature-updater.js +271 -0
  237. package/claude-code/aiwf/en/utils/git-utils.js +220 -0
  238. package/claude-code/aiwf/en/utils/importance-classifier.js +645 -0
  239. package/claude-code/aiwf/en/utils/information-filter.js +710 -0
  240. package/claude-code/aiwf/en/utils/text-summarizer.js +487 -0
  241. package/claude-code/aiwf/en/utils/token-counter.js +177 -0
  242. package/claude-code/aiwf/en/utils/token-monitor.js +484 -0
  243. package/claude-code/aiwf/en/utils/token-reporter.js +453 -0
  244. package/claude-code/aiwf/en/utils/token-storage.js +433 -0
  245. package/claude-code/aiwf/en/utils/token-tracker.js +283 -0
  246. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_ID_GENERATOR.md +138 -0
  247. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_INDEX.md +186 -0
  248. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_METADATA.md +240 -0
  249. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/FEATURE_WORKFLOW.md +183 -0
  250. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/README.md +94 -0
  251. 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
  252. 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
  253. 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
  254. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_schema.json +122 -0
  255. package/claude-code/aiwf/ko/.aiwf/06_FEATURE_LEDGERS/schemas/feature_validator.cjs +406 -0
  256. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_aggressive_persona.md +53 -0
  257. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_context.md +116 -0
  258. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_minimal_persona.md +48 -0
  259. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_stats.md +79 -0
  260. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_compress_with_persona.md +51 -0
  261. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_create_feature_ledger.md +54 -0
  262. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_default_mode.md +44 -0
  263. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_evaluate.md +92 -0
  264. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_get_feature_details.md +78 -0
  265. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_link_feature_to_milestone.md +57 -0
  266. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_list_features.md +54 -0
  267. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_architect.md +48 -0
  268. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_backend.md +37 -0
  269. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_data_analyst.md +37 -0
  270. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_frontend.md +37 -0
  271. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_security.md +48 -0
  272. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_persona_status.md +50 -0
  273. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_docs_kr.md +25 -0
  274. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_update_feature_status.md +53 -0
  275. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_yolo.md +2 -2
  276. package/claude-code/aiwf/ko/CLAUDE.md +76 -0
  277. package/claude-code/aiwf/ko/ai-tools/README.md +105 -0
  278. package/claude-code/aiwf/ko/ai-tools/augment/README.md +371 -0
  279. package/claude-code/aiwf/ko/ai-tools/augment/config.json +30 -0
  280. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/aiwf-integration.md +387 -0
  281. package/claude-code/aiwf/ko/ai-tools/augment/template/.augment/augment.yaml +347 -0
  282. package/claude-code/aiwf/ko/ai-tools/augment/template/augment.config.json +64 -0
  283. package/claude-code/aiwf/ko/ai-tools/claude-code/README.md +151 -0
  284. package/claude-code/aiwf/ko/ai-tools/claude-code/config.json +28 -0
  285. package/claude-code/aiwf/ko/ai-tools/claude-code/template/CLAUDE.md +91 -0
  286. package/claude-code/aiwf/ko/ai-tools/cursor/README.md +314 -0
  287. package/claude-code/aiwf/ko/ai-tools/cursor/config.json +29 -0
  288. package/claude-code/aiwf/ko/ai-tools/cursor/template/.cursorrules +362 -0
  289. package/claude-code/aiwf/ko/ai-tools/github-copilot/README.md +195 -0
  290. package/claude-code/aiwf/ko/ai-tools/github-copilot/config.json +24 -0
  291. package/claude-code/aiwf/ko/ai-tools/github-copilot/template/.github/copilot-instructions.md +202 -0
  292. package/claude-code/aiwf/ko/ai-tools/windsurf/README.md +355 -0
  293. package/claude-code/aiwf/ko/ai-tools/windsurf/config.json +29 -0
  294. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/aiwf-rules.md +260 -0
  295. package/claude-code/aiwf/ko/ai-tools/windsurf/template/.windsurf/windsurf.config.js +312 -0
  296. package/claude-code/aiwf/ko/ai-tools/windsurf/template/windsurf.config.json +63 -0
  297. package/claude-code/aiwf/ko/bin/aiwf-create.js +56 -0
  298. package/claude-code/aiwf/ko/bin/aiwf.js +21 -0
  299. package/claude-code/aiwf/ko/commands/ai-persona.js +602 -0
  300. package/claude-code/aiwf/ko/commands/compress-context.js +389 -0
  301. package/claude-code/aiwf/ko/commands/evaluate.js +246 -0
  302. package/claude-code/aiwf/ko/commands/feature-ledger.js +565 -0
  303. package/claude-code/aiwf/ko/commands/feature_commit_report.js +370 -0
  304. package/claude-code/aiwf/ko/commands/persona-context-apply.js +562 -0
  305. package/claude-code/aiwf/ko/commands/scan_git_history.js +234 -0
  306. package/claude-code/aiwf/ko/commands/sync_feature_commits.js +154 -0
  307. package/claude-code/aiwf/ko/commands/token-tracking.js +443 -0
  308. package/claude-code/aiwf/ko/config/commit-patterns.js +103 -0
  309. package/claude-code/aiwf/ko/config/language.json +6 -0
  310. package/claude-code/aiwf/ko/docs/00_PROJECT_MANIFEST.md +183 -0
  311. package/claude-code/aiwf/ko/docs/ARCHITECTURE.md +121 -0
  312. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_ADVANCED_USE_CASES.md +412 -0
  313. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_API_REFERENCE.md +361 -0
  314. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_COMMANDS_GUIDE.md +254 -0
  315. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_FAQ.md +365 -0
  316. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_SYSTEM_OVERVIEW.md +305 -0
  317. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_USER_GUIDE.md +416 -0
  318. package/claude-code/aiwf/ko/docs/FEATURE_LEDGER_/354/213/234/354/236/221_/352/260/200/354/235/264/353/223/234.md +247 -0
  319. package/claude-code/aiwf/ko/feature-ledger/FL-001-authentication.json +52 -0
  320. package/claude-code/aiwf/ko/feature-ledger/feature-index.json +20 -0
  321. package/claude-code/aiwf/ko/hooks/install-hooks.sh +100 -0
  322. package/claude-code/aiwf/ko/hooks/post-commit +84 -0
  323. package/claude-code/aiwf/ko/personas/PERSONA_INDEX.md +57 -0
  324. package/claude-code/aiwf/ko/personas/analyst.json +44 -0
  325. package/claude-code/aiwf/ko/personas/architect/best_practices.md +136 -0
  326. package/claude-code/aiwf/ko/personas/architect/knowledge_base.md +377 -0
  327. package/claude-code/aiwf/ko/personas/architect.json +44 -0
  328. package/claude-code/aiwf/ko/personas/backend/best_practices.md +766 -0
  329. package/claude-code/aiwf/ko/personas/backend/knowledge_base.md +1070 -0
  330. package/claude-code/aiwf/ko/personas/data_analyst/best_practices.md +594 -0
  331. package/claude-code/aiwf/ko/personas/data_analyst/knowledge_base.md +1057 -0
  332. package/claude-code/aiwf/ko/personas/developer.json +44 -0
  333. package/claude-code/aiwf/ko/personas/developer.md +37 -0
  334. package/claude-code/aiwf/ko/personas/evaluation_criteria.json +137 -0
  335. package/claude-code/aiwf/ko/personas/frontend/best_practices.md +445 -0
  336. package/claude-code/aiwf/ko/personas/frontend/knowledge_base.md +729 -0
  337. package/claude-code/aiwf/ko/personas/persona-index.json +31 -0
  338. package/claude-code/aiwf/ko/personas/reviewer.json +44 -0
  339. package/claude-code/aiwf/ko/personas/security/best_practices.md +307 -0
  340. package/claude-code/aiwf/ko/personas/security/knowledge_base.md +498 -0
  341. package/claude-code/aiwf/ko/personas/tester.json +44 -0
  342. package/claude-code/aiwf/ko/scripts/cache-templates.js +209 -0
  343. package/claude-code/aiwf/ko/scripts/create-offline.js +86 -0
  344. package/claude-code/aiwf/ko/scripts/create-project.js +151 -0
  345. package/claude-code/aiwf/ko/scripts/feature-progress-calculator.cjs +236 -0
  346. package/claude-code/aiwf/ko/scripts/git-integration.cjs +391 -0
  347. package/claude-code/aiwf/ko/scripts/install-git-hooks.cjs +226 -0
  348. package/claude-code/aiwf/ko/scripts/test-commit-parsing.cjs +125 -0
  349. package/claude-code/aiwf/ko/scripts/update-feature-status.cjs +198 -0
  350. package/claude-code/aiwf/ko/templates/README.md +78 -0
  351. package/claude-code/aiwf/ko/templates/api-server/config.json +64 -0
  352. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/config.json +56 -0
  353. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/feature-ledger.json +42 -0
  354. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/personas/backend-engineer.json +40 -0
  355. package/claude-code/aiwf/ko/templates/api-server/template/.aiwf/scripts/cli.js +111 -0
  356. package/claude-code/aiwf/ko/templates/api-server/template/.env.example +29 -0
  357. package/claude-code/aiwf/ko/templates/api-server/template/.eslintrc.json +23 -0
  358. package/claude-code/aiwf/ko/templates/api-server/template/README.md +171 -0
  359. package/claude-code/aiwf/ko/templates/api-server/template/jest.config.js +26 -0
  360. package/claude-code/aiwf/ko/templates/api-server/template/nodemon.json +9 -0
  361. package/claude-code/aiwf/ko/templates/api-server/template/package.json +61 -0
  362. package/claude-code/aiwf/ko/templates/api-server/template/src/app.ts +60 -0
  363. package/claude-code/aiwf/ko/templates/api-server/template/src/config/swagger.ts +38 -0
  364. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/aiwfController.ts +68 -0
  365. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/authController.ts +128 -0
  366. package/claude-code/aiwf/ko/templates/api-server/template/src/controllers/statusController.ts +28 -0
  367. package/claude-code/aiwf/ko/templates/api-server/template/src/index.ts +28 -0
  368. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/aiwfMiddleware.ts +50 -0
  369. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/authMiddleware.ts +41 -0
  370. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/errorHandler.ts +42 -0
  371. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/notFoundHandler.ts +14 -0
  372. package/claude-code/aiwf/ko/templates/api-server/template/src/middleware/requestLogger.ts +20 -0
  373. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/aiwf.ts +42 -0
  374. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/index.ts +13 -0
  375. package/claude-code/aiwf/ko/templates/api-server/template/src/routes/v1/index.ts +67 -0
  376. package/claude-code/aiwf/ko/templates/api-server/template/src/utils/logger.ts +37 -0
  377. package/claude-code/aiwf/ko/templates/api-server/template/tests/app.test.ts +40 -0
  378. package/claude-code/aiwf/ko/templates/api-server/template/tsconfig.json +43 -0
  379. package/claude-code/aiwf/ko/templates/npm-library/config.json +61 -0
  380. package/claude-code/aiwf/ko/templates/npm-library/template/LICENSE +21 -0
  381. package/claude-code/aiwf/ko/templates/npm-library/template/README.md +201 -0
  382. package/claude-code/aiwf/ko/templates/npm-library/template/package.json +78 -0
  383. package/claude-code/aiwf/ko/templates/web-app/config.json +53 -0
  384. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/config.json +54 -0
  385. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/feature-ledger.json +37 -0
  386. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/personas/fullstack-developer.json +40 -0
  387. package/claude-code/aiwf/ko/templates/web-app/template/.aiwf/scripts/cli.js +110 -0
  388. package/claude-code/aiwf/ko/templates/web-app/template/.eslintrc.cjs +20 -0
  389. package/claude-code/aiwf/ko/templates/web-app/template/README.md +151 -0
  390. package/claude-code/aiwf/ko/templates/web-app/template/index.html +14 -0
  391. package/claude-code/aiwf/ko/templates/web-app/template/package.json +44 -0
  392. package/claude-code/aiwf/ko/templates/web-app/template/postcss.config.js +6 -0
  393. package/claude-code/aiwf/ko/templates/web-app/template/public/vite.svg +1 -0
  394. package/claude-code/aiwf/ko/templates/web-app/template/src/App.tsx +21 -0
  395. package/claude-code/aiwf/ko/templates/web-app/template/src/components/Layout.tsx +57 -0
  396. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/ContextStatus.tsx +107 -0
  397. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +93 -0
  398. package/claude-code/aiwf/ko/templates/web-app/template/src/components/aiwf/TokenUsage.tsx +71 -0
  399. package/claude-code/aiwf/ko/templates/web-app/template/src/index.css +60 -0
  400. package/claude-code/aiwf/ko/templates/web-app/template/src/main.tsx +10 -0
  401. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/AiwfDashboard.tsx +60 -0
  402. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/HomePage.tsx +89 -0
  403. package/claude-code/aiwf/ko/templates/web-app/template/src/pages/NotFound.tsx +25 -0
  404. package/claude-code/aiwf/ko/templates/web-app/template/src/stores/aiwfStore.ts +126 -0
  405. package/claude-code/aiwf/ko/templates/web-app/template/src/types/global.d.ts +9 -0
  406. package/claude-code/aiwf/ko/templates/web-app/template/src/vite-env.d.ts +1 -0
  407. package/claude-code/aiwf/ko/templates/web-app/template/tailwind.config.js +30 -0
  408. package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.json +37 -0
  409. package/claude-code/aiwf/ko/templates/web-app/template/tsconfig.node.json +10 -0
  410. package/claude-code/aiwf/ko/templates/web-app/template/vite.config.ts +23 -0
  411. package/claude-code/aiwf/ko/tests/compression-test-suite.js +1252 -0
  412. package/claude-code/aiwf/ko/tests/test-git-integration.js +164 -0
  413. package/claude-code/aiwf/ko/tests/token-tracking.test.js +537 -0
  414. package/claude-code/aiwf/ko/token-data/alerts.json +293 -0
  415. package/claude-code/aiwf/ko/token-data/monitor-config.json +12 -0
  416. package/claude-code/aiwf/ko/utils/background-monitor.js +223 -0
  417. package/claude-code/aiwf/ko/utils/compression-metrics.js +1031 -0
  418. package/claude-code/aiwf/ko/utils/compression-strategies.js +557 -0
  419. package/claude-code/aiwf/ko/utils/content-normalizer.js +455 -0
  420. package/claude-code/aiwf/ko/utils/context-compressor.js +583 -0
  421. package/claude-code/aiwf/ko/utils/context-rule-parser.js +180 -0
  422. package/claude-code/aiwf/ko/utils/context-token-monitor.js +463 -0
  423. package/claude-code/aiwf/ko/utils/context-update-manager.js +502 -0
  424. package/claude-code/aiwf/ko/utils/feature-updater.js +271 -0
  425. package/claude-code/aiwf/ko/utils/git-utils.js +220 -0
  426. package/claude-code/aiwf/ko/utils/importance-classifier.js +645 -0
  427. package/claude-code/aiwf/ko/utils/information-filter.js +710 -0
  428. package/claude-code/aiwf/ko/utils/persona-aware-compressor.js +598 -0
  429. package/claude-code/aiwf/ko/utils/prompt-injector.js +242 -0
  430. package/claude-code/aiwf/ko/utils/simplified-evaluator.js +119 -0
  431. package/claude-code/aiwf/ko/utils/text-summarizer.js +492 -0
  432. package/claude-code/aiwf/ko/utils/token-counter.js +177 -0
  433. package/claude-code/aiwf/ko/utils/token-monitor.js +484 -0
  434. package/claude-code/aiwf/ko/utils/token-reporter.js +453 -0
  435. package/claude-code/aiwf/ko/utils/token-storage.js +433 -0
  436. package/claude-code/aiwf/ko/utils/token-tracker.js +283 -0
  437. package/docs/AI_PERSONA_SYSTEM_DESIGN.md +516 -0
  438. package/docs/API_DOCUMENTATION.md +932 -0
  439. package/docs/API_REFERENCE.md +979 -0
  440. package/docs/COMMANDS_GUIDE.ko.md +8 -2
  441. package/docs/COMMANDS_GUIDE.md +196 -2
  442. package/docs/CONTRIBUTING.ko.md +408 -0
  443. package/docs/CONTRIBUTING.md +205 -203
  444. package/docs/EXAMPLES.md +691 -0
  445. package/docs/GETTING_STARTED.md +480 -0
  446. package/docs/PERFORMANCE_ARCHITECTURE.md +494 -0
  447. package/docs/PERFORMANCE_GUIDELINES.md +553 -0
  448. package/docs/TROUBLESHOOTING.md +721 -0
  449. package/docs/git-feature-integration-guide.md +253 -0
  450. package/docs/guides/ai-personas-guide-ko.md +239 -0
  451. package/docs/guides/ai-personas-guide.md +239 -0
  452. package/docs/guides/context-compression-guide-ko.md +313 -0
  453. package/docs/guides/context-compression-guide.md +313 -0
  454. package/docs/guides/feature-git-integration-guide-ko.md +481 -0
  455. package/docs/guides/feature-git-integration-guide.md +481 -0
  456. package/docs/lightweight-evaluation.md +198 -0
  457. package/docs/m02-dod-checklist.md +125 -0
  458. package/docs/m02-gap-analysis.md +214 -0
  459. package/docs/m02-milestone-completion-report.md +186 -0
  460. package/docs/m02-milestone-executive-summary.md +68 -0
  461. package/docs/offline-template-cache.md +323 -0
  462. package/docs/performance-benchmark-report.md +159 -0
  463. package/docs/persona-aware-compression.md +168 -0
  464. package/docs/reports/S02-sprint-report.md +190 -0
  465. package/docs/usability-test-report.md +170 -0
  466. package/index.js +109 -1
  467. package/jest.config.js +20 -1
  468. package/language-utils.js +1 -1
  469. package/lib/ai-persona-manager.js +711 -0
  470. package/lib/cache-cli.js +459 -0
  471. package/lib/cache-integration.js +401 -0
  472. package/lib/cache-system.js +332 -0
  473. package/lib/context-engine.js +568 -0
  474. package/lib/file-batch-processor.js +401 -0
  475. package/lib/memory-profiler.js +471 -0
  476. package/lib/metrics-collector.js +885 -0
  477. package/lib/offline-detector.js +386 -0
  478. package/lib/performance-benchmark.js +621 -0
  479. package/lib/task-analyzer.js +599 -0
  480. package/lib/template-cache-system.js +559 -0
  481. package/lib/template-downloader.js +467 -0
  482. package/lib/template-manager.js +310 -0
  483. package/lib/template-version-manager.js +491 -0
  484. package/lib/token-optimizer.js +517 -0
  485. package/package.json +6 -3
  486. package/scripts/run-integration-tests.js +317 -0
  487. package/src/commands/ai-tool.js +383 -0
  488. package/test-token-system.js +88 -0
  489. package/tests/application.test.js +260 -0
  490. package/tests/basic.test.js +1 -1
  491. package/tests/integration/ai-persona-system.test.js +396 -0
  492. package/tests/integration/ai-persona.test.js +390 -0
  493. package/tests/integration/command-integration.test.js +600 -0
  494. package/tests/integration/context-compression.test.js +361 -0
  495. package/tests/integration/feature-ledger.test.js +226 -0
  496. package/tests/integration/git-integration.test.js +307 -0
  497. package/tests/integration/m02-milestone.test.js +420 -0
  498. package/tests/integration/persona-context-application.test.js +508 -0
  499. package/tests/integration/setup.js +174 -0
  500. package/tests/integration/test-persona-aware-compression.js +93 -0
  501. package/tests/language-utils.test.js +25 -9
  502. package/tests/s02-integration.test.js +422 -0
  503. package/tests/unit/ai-persona-manager.test.js +514 -0
  504. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
  505. package/claude-code/aiwf/en/.claude/commands/aiwf/aiwf_language_status.md +0 -246
  506. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_manager.md +0 -287
  507. package/claude-code/aiwf/ko/.claude/commands/aiwf/aiwf_language_status.md +0 -246
@@ -0,0 +1,355 @@
1
+ # Windsurf AIWF Integration Template
2
+
3
+ ## Overview
4
+
5
+ This template provides deep integration between Windsurf IDE and the AI Workflow Framework (AIWF). It leverages Windsurf's Cascade AI and flow-based development to create a seamless AIWF development experience.
6
+
7
+ ## Features
8
+
9
+ - **Cascade AI + AIWF**: AI-powered development with AIWF context awareness
10
+ - **Flow-Based Task Management**: Visual task flows aligned with sprint tasks
11
+ - **Multi-Agent Personas**: Different AI agents for different development contexts
12
+ - **Automatic Context Management**: Smart compression and loading
13
+ - **Visual Progress Tracking**: See AIWF task progress in Windsurf's UI
14
+ - **Integrated Feature Validation**: Real-time Feature Ledger checking
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ # Install Windsurf template
20
+ aiwf ai-tool install windsurf
21
+
22
+ # Or manually copy template files
23
+ cp -r .aiwf/ai-tools/windsurf/template/* .
24
+ ```
25
+
26
+ ## Configuration
27
+
28
+ The template includes:
29
+
30
+ 1. **windsurf.config.json**: Main configuration
31
+ - AIWF integration settings
32
+ - Cascade AI configuration
33
+ - Automation rules
34
+ - Keyboard shortcuts
35
+
36
+ 2. **.windsurf/aiwf-rules.md**: Integration rules
37
+ - Code generation patterns
38
+ - Flow templates
39
+ - Best practices
40
+ - Context management
41
+
42
+ ## Usage
43
+
44
+ ### 1. Cascade AI with AIWF Context
45
+
46
+ Use Cascade with AIWF awareness:
47
+
48
+ ```
49
+ @cascade Show me feature FL-001 implementation status
50
+
51
+ @cascade Using architect persona, design the payment system
52
+
53
+ @cascade What tasks are in the current sprint?
54
+
55
+ @cascade Implement task T13_S03 following acceptance criteria
56
+ ```
57
+
58
+ ### 2. Flow-Based Development
59
+
60
+ Create AIWF-aligned flows:
61
+
62
+ **Start a Feature Flow**:
63
+ ```
64
+ @cascade start-flow --feature FL-001 --task T13_S03
65
+ ```
66
+
67
+ Windsurf creates a flow with:
68
+ - Feature validation
69
+ - Implementation steps
70
+ - Test requirements
71
+ - Documentation updates
72
+ - Task completion
73
+
74
+ ### 3. AI Persona Switching
75
+
76
+ Different agents for different tasks:
77
+
78
+ ```javascript
79
+ // @persona architect
80
+ // Cascade switches to architecture-focused responses
81
+
82
+ // @persona developer
83
+ // Cascade provides implementation details
84
+
85
+ // @persona reviewer
86
+ // Cascade analyzes code quality
87
+ ```
88
+
89
+ ### 4. Visual Task Management
90
+
91
+ See AIWF tasks in Windsurf UI:
92
+ - Current sprint tasks in sidebar
93
+ - Task progress indicators
94
+ - Feature dependencies graph
95
+ - Real-time status updates
96
+
97
+ ### 5. Smart Context Loading
98
+
99
+ Automatic context management:
100
+
101
+ ```javascript
102
+ // @load-feature FL-001
103
+ // Loads feature spec into context
104
+
105
+ // @load-sprint
106
+ // Loads current sprint tasks
107
+
108
+ // @compress-context
109
+ // Compresses large files automatically
110
+ ```
111
+
112
+ ## Windsurf-Specific Features
113
+
114
+ ### 1. Flow Templates
115
+
116
+ Pre-built AIWF flows:
117
+
118
+ **Feature Implementation Flow**:
119
+ - Validates against Feature Ledger
120
+ - Creates implementation structure
121
+ - Generates tests
122
+ - Updates documentation
123
+ - Completes task
124
+
125
+ **Bug Fix Flow**:
126
+ - Identifies related feature
127
+ - Implements fix
128
+ - Adds regression tests
129
+ - Updates feature status
130
+
131
+ **Architecture Flow**:
132
+ - Uses architect persona
133
+ - Creates ADR
134
+ - Updates system design
135
+ - Validates with ledger
136
+
137
+ ### 2. Multi-Agent Collaboration
138
+
139
+ Cascade agents by persona:
140
+
141
+ ```json
142
+ {
143
+ "agents": {
144
+ "architect": {
145
+ "model": "cascade-architect",
146
+ "focus": "design patterns, system architecture"
147
+ },
148
+ "developer": {
149
+ "model": "cascade-large",
150
+ "focus": "implementation, optimization"
151
+ },
152
+ "reviewer": {
153
+ "model": "cascade-reviewer",
154
+ "focus": "code quality, security"
155
+ }
156
+ }
157
+ }
158
+ ```
159
+
160
+ ### 3. Keyboard Shortcuts
161
+
162
+ Quick AIWF actions:
163
+
164
+ - `Cmd+Shift+F`: Check Feature Ledger
165
+ - `Cmd+Shift+T`: Update task status
166
+ - `Cmd+Shift+P`: Switch persona
167
+ - `Cmd+Shift+C`: Compress context
168
+ - `Cmd+Shift+S`: Show sprint tasks
169
+
170
+ ### 4. Automation Features
171
+
172
+ Automatic workflows:
173
+
174
+ - **Task Status**: Updates based on file changes
175
+ - **Documentation**: Syncs docs with code
176
+ - **Feature Validation**: Checks on save
177
+ - **Context Compression**: For large files
178
+ - **Test Running**: On task completion
179
+
180
+ ## Best Practices
181
+
182
+ ### 1. Flow-First Development
183
+
184
+ Start with flows:
185
+
186
+ ```
187
+ @cascade create-flow --type feature --id FL-001
188
+ ```
189
+
190
+ ### 2. Context Efficiency
191
+
192
+ Manage context smartly:
193
+
194
+ ```javascript
195
+ // Good - Reference by ID
196
+ // @feature FL-001
197
+
198
+ // Avoid - Full feature description
199
+ // @feature "Complete user authentication system with OAuth..."
200
+ ```
201
+
202
+ ### 3. Progressive Enhancement
203
+
204
+ Build incrementally:
205
+
206
+ 1. Start with feature validation
207
+ 2. Implement core functionality
208
+ 3. Add tests progressively
209
+ 4. Update documentation
210
+ 5. Complete task
211
+
212
+ ### 4. Visual Feedback
213
+
214
+ Use Windsurf's UI:
215
+ - Check flow progress visually
216
+ - Monitor task status in sidebar
217
+ - View feature dependencies
218
+ - Track sprint progress
219
+
220
+ ## Advanced Configuration
221
+
222
+ ### 1. Custom Flow Templates
223
+
224
+ Create `.windsurf/flows/`:
225
+
226
+ ```json
227
+ {
228
+ "name": "api-endpoint",
229
+ "steps": [
230
+ "validate-feature",
231
+ "create-route",
232
+ "implement-controller",
233
+ "add-validation",
234
+ "write-tests",
235
+ "update-docs"
236
+ ]
237
+ }
238
+ ```
239
+
240
+ ### 2. Cascade Fine-Tuning
241
+
242
+ Configure AI behavior:
243
+
244
+ ```json
245
+ {
246
+ "cascade": {
247
+ "temperature": {
248
+ "architect": 0.7,
249
+ "developer": 0.3,
250
+ "reviewer": 0.1
251
+ },
252
+ "max_tokens": {
253
+ "design": 2000,
254
+ "implementation": 5000,
255
+ "review": 1000
256
+ }
257
+ }
258
+ }
259
+ ```
260
+
261
+ ### 3. Integration Hooks
262
+
263
+ Add to `windsurf.config.json`:
264
+
265
+ ```json
266
+ {
267
+ "hooks": {
268
+ "pre-commit": "aiwf task validate",
269
+ "post-save": "aiwf ledger sync",
270
+ "flow-complete": "aiwf task complete"
271
+ }
272
+ }
273
+ ```
274
+
275
+ ## Troubleshooting
276
+
277
+ ### Common Issues
278
+
279
+ 1. **Cascade not recognizing AIWF**
280
+ - Check windsurf.config.json
281
+ - Verify AIWF rules loaded
282
+ - Restart Windsurf
283
+
284
+ 2. **Flow not updating tasks**
285
+ - Ensure task ID is correct
286
+ - Check automation settings
287
+ - Verify permissions
288
+
289
+ 3. **Context overflow**
290
+ - Enable auto-compression
291
+ - Clear old context
292
+ - Use feature references
293
+
294
+ ### Debug Mode
295
+
296
+ Enable debugging:
297
+
298
+ ```json
299
+ {
300
+ "debug": {
301
+ "aiwf": true,
302
+ "cascade": true,
303
+ "flows": true
304
+ }
305
+ }
306
+ ```
307
+
308
+ ## Performance Tips
309
+
310
+ ### 1. Context Optimization
311
+
312
+ - Compress files > 1000 lines
313
+ - Use feature IDs not descriptions
314
+ - Clear context between tasks
315
+ - Cache frequently used features
316
+
317
+ ### 2. Flow Efficiency
318
+
319
+ - Create reusable flow templates
320
+ - Use checkpoints for long flows
321
+ - Parallelize independent steps
322
+ - Cache flow results
323
+
324
+ ### 3. Cascade Optimization
325
+
326
+ - Use appropriate model sizes
327
+ - Batch similar requests
328
+ - Cache common queries
329
+ - Minimize context switches
330
+
331
+ ## Updates
332
+
333
+ Stay current:
334
+
335
+ ```bash
336
+ # Check for updates
337
+ aiwf ai-tool check windsurf
338
+
339
+ # Update template
340
+ aiwf ai-tool update windsurf
341
+
342
+ # Verify integration
343
+ aiwf ai-tool verify windsurf
344
+ ```
345
+
346
+ ## Resources
347
+
348
+ - [Windsurf Documentation](https://windsurf.ai/docs)
349
+ - [AIWF Documentation](https://aiwf.dev/docs)
350
+ - [Cascade AI Guide](https://windsurf.ai/cascade)
351
+ - [Community Forum](https://forum.aiwf.dev/windsurf)
352
+
353
+ ---
354
+
355
+ *Windsurf Integration Template v1.0.0*
@@ -0,0 +1,29 @@
1
+ {
2
+ "name": "windsurf",
3
+ "version": "1.0.0",
4
+ "description": "Windsurf IDE integration template for AIWF",
5
+ "compatible_aiwf_version": ">=0.1.0",
6
+ "features": {
7
+ "feature_ledger": true,
8
+ "ai_persona": true,
9
+ "context_compression": true,
10
+ "offline_cache": true,
11
+ "cascade_flow": true
12
+ },
13
+ "setup_commands": [],
14
+ "files_to_copy": [
15
+ {
16
+ "source": "template/.windsurf",
17
+ "destination": ".windsurf"
18
+ },
19
+ {
20
+ "source": "template/windsurf.config.json",
21
+ "destination": "windsurf.config.json"
22
+ }
23
+ ],
24
+ "settings": {
25
+ "aiwf_cascade_integration": true,
26
+ "feature_flow_tracking": true,
27
+ "ai_persona_switching": true
28
+ }
29
+ }
@@ -0,0 +1,260 @@
1
+ # Windsurf AIWF Integration Rules
2
+
3
+ ## Overview
4
+
5
+ These rules configure Windsurf IDE to work seamlessly with the AI Workflow Framework (AIWF), leveraging Windsurf's Cascade AI and flow-based development features.
6
+
7
+ ## Core Integration Principles
8
+
9
+ ### 1. Feature-Driven Flow
10
+
11
+ Every development flow in Windsurf should:
12
+ - Start with Feature Ledger validation
13
+ - Reference feature IDs throughout the flow
14
+ - Update feature status upon completion
15
+ - Maintain feature dependency tracking
16
+
17
+ ### 2. Cascade + AIWF Synergy
18
+
19
+ Leverage Cascade AI with AIWF context:
20
+ - Cascade understands Feature Ledger structure
21
+ - AI suggestions align with current sprint tasks
22
+ - Persona-based responses for different contexts
23
+ - Automatic context compression for large files
24
+
25
+ ### 3. Sprint Task Flow
26
+
27
+ Windsurf flows are aligned with sprint tasks:
28
+ - Each flow corresponds to a sprint task
29
+ - Task status updates automatically
30
+ - Acceptance criteria guide the flow
31
+ - Progress tracked in real-time
32
+
33
+ ## Windsurf-Specific Features
34
+
35
+ ### 1. Cascade Prompts with AIWF Context
36
+
37
+ ```
38
+ @cascade implement feature FL-001 following the ledger specification
39
+
40
+ @cascade using architect persona, design the system architecture
41
+
42
+ @cascade check current sprint tasks and suggest next steps
43
+ ```
44
+
45
+ ### 2. Flow Templates
46
+
47
+ **Feature Implementation Flow**:
48
+ 1. Check Feature Ledger
49
+ 2. Verify dependencies
50
+ 3. Implement with tests
51
+ 4. Update documentation
52
+ 5. Complete task status
53
+
54
+ **Sprint Task Flow**:
55
+ 1. Load task details
56
+ 2. Review acceptance criteria
57
+ 3. Implement solution
58
+ 4. Run tests
59
+ 5. Update task log
60
+
61
+ ### 3. Multi-Agent Collaboration
62
+
63
+ Different Cascade agents for different personas:
64
+ - **Architect Agent**: System design and patterns
65
+ - **Developer Agent**: Implementation and optimization
66
+ - **Reviewer Agent**: Code quality and security
67
+ - **Tester Agent**: Test scenarios and validation
68
+
69
+ ## Code Generation Rules
70
+
71
+ ### Feature Reference Pattern
72
+
73
+ ```javascript
74
+ /**
75
+ * @flow Feature Implementation
76
+ * @feature FL-XXX - Feature Name
77
+ * @sprint S##
78
+ * @task T##_S##
79
+ * @cascade-model cascade-large
80
+ */
81
+
82
+ import { FeatureLedger } from '@aiwf/core';
83
+
84
+ class FeatureImplementation {
85
+ featureId = 'FL-XXX';
86
+
87
+ constructor() {
88
+ this.validateWithLedger();
89
+ }
90
+
91
+ async validateWithLedger() {
92
+ const ledger = new FeatureLedger();
93
+ const feature = await ledger.getFeature(this.featureId);
94
+ // Validate implementation against specification
95
+ }
96
+ }
97
+ ```
98
+
99
+ ### Flow Metadata
100
+
101
+ ```javascript
102
+ // @flow-start Task Implementation
103
+ // @windsurf-flow-id: T##_S##
104
+ // @aiwf-context: {
105
+ // "feature": "FL-XXX",
106
+ // "sprint": "S##",
107
+ // "persona": "developer"
108
+ // }
109
+
110
+ // Implementation follows...
111
+
112
+ // @flow-end Update task status to completed
113
+ ```
114
+
115
+ ## Cascade Configuration
116
+
117
+ ### Model Selection by Task Type
118
+
119
+ ```javascript
120
+ // @cascade-config
121
+ {
122
+ "feature_design": {
123
+ "model": "cascade-architect",
124
+ "persona": "architect",
125
+ "context": ["feature-ledger", "adrs"]
126
+ },
127
+ "implementation": {
128
+ "model": "cascade-large",
129
+ "persona": "developer",
130
+ "context": ["current-task", "related-features"]
131
+ },
132
+ "review": {
133
+ "model": "cascade-reviewer",
134
+ "persona": "reviewer",
135
+ "context": ["code-changes", "test-results"]
136
+ }
137
+ }
138
+ ```
139
+
140
+ ## Context Management
141
+
142
+ ### Automatic Compression
143
+
144
+ Files over 1000 lines are automatically compressed:
145
+
146
+ ```javascript
147
+ // @windsurf-compress auto
148
+ // Large file will be compressed for context efficiency
149
+ // Original: 5000 lines -> Compressed: 500 tokens
150
+ ```
151
+
152
+ ### Feature Context Loading
153
+
154
+ ```javascript
155
+ // @load-feature FL-001
156
+ // Automatically loads feature specification into context
157
+
158
+ // @load-sprint-context
159
+ // Loads current sprint and active tasks
160
+
161
+ // @load-persona architect
162
+ // Switches to architect persona context
163
+ ```
164
+
165
+ ## Workflow Automation
166
+
167
+ ### Task Status Updates
168
+
169
+ ```javascript
170
+ // @auto-task-status
171
+ // Windsurf automatically updates task status based on:
172
+ // - File saves (in_progress)
173
+ // - Test completion (testing)
174
+ // - All tests passing (review)
175
+ // - PR merged (done)
176
+ ```
177
+
178
+ ### Documentation Sync
179
+
180
+ ```javascript
181
+ // @auto-doc-sync
182
+ // Changes to implementation automatically update:
183
+ // - Feature documentation
184
+ // - API documentation
185
+ // - README files
186
+ // - ADRs if architectural changes
187
+ ```
188
+
189
+ ## Best Practices
190
+
191
+ ### 1. Flow Initialization
192
+
193
+ Always start flows with:
194
+ ```
195
+ @cascade init-aiwf-flow --task T##_S## --feature FL-XXX
196
+ ```
197
+
198
+ ### 2. Context Optimization
199
+
200
+ Keep context focused:
201
+ - Load only relevant features
202
+ - Use compressed versions of large files
203
+ - Reference by ID when possible
204
+ - Clear context between major tasks
205
+
206
+ ### 3. Persona Switching
207
+
208
+ Use appropriate personas:
209
+ ```
210
+ @cascade switch-persona architect
211
+ // For design decisions
212
+
213
+ @cascade switch-persona developer
214
+ // For implementation
215
+
216
+ @cascade switch-persona reviewer
217
+ // For code review
218
+ ```
219
+
220
+ ### 4. Progress Tracking
221
+
222
+ Maintain flow progress:
223
+ ```
224
+ @cascade flow-progress
225
+ // Shows current task progress and remaining steps
226
+
227
+ @cascade flow-checkpoint
228
+ // Saves current state for later continuation
229
+ ```
230
+
231
+ ## Integration Commands
232
+
233
+ Quick commands for Windsurf command palette:
234
+
235
+ - `AIWF: Check Feature` - Validate against Feature Ledger
236
+ - `AIWF: Update Task` - Update current task status
237
+ - `AIWF: Switch Persona` - Change active AI persona
238
+ - `AIWF: Compress Context` - Compress current file
239
+ - `AIWF: Load Sprint` - Load current sprint context
240
+ - `AIWF: Flow Status` - Show current flow progress
241
+
242
+ ## Prohibited Actions
243
+
244
+ - NO skipping Feature Ledger validation
245
+ - NO implementing without task assignment
246
+ - NO merging without updating task status
247
+ - NO ignoring sprint boundaries
248
+ - NO bypassing test requirements
249
+
250
+ ## Windsurf + AIWF Advantages
251
+
252
+ 1. **Flow-Based Development**: Natural alignment with AIWF's structured approach
253
+ 2. **Multi-Agent Support**: Different AI agents for different personas
254
+ 3. **Visual Progress**: See task progress in Windsurf's flow view
255
+ 4. **Automatic Context**: Smart context loading based on current work
256
+ 5. **Integrated Testing**: Test flows integrated with task completion
257
+
258
+ ---
259
+
260
+ *Windsurf AIWF Integration Rules v1.0.0*