aiwf 0.3.14 → 0.3.16

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 (54) hide show
  1. package/README.ko.md +19 -10
  2. package/README.md +54 -9
  3. package/docs/AI-WORKFLOW.ko.md +1 -1
  4. package/docs/AI-WORKFLOW.md +1 -1
  5. package/docs/API_REFERENCE_FULL.ko.md +979 -0
  6. package/docs/API_REFERENCE_FULL.md +979 -0
  7. package/docs/ARCHITECTURE.ko.md +314 -0
  8. package/docs/ARCHITECTURE.md +314 -0
  9. package/docs/GETTING_STARTED.ko.md +219 -0
  10. package/docs/GETTING_STARTED.md +1 -2
  11. package/docs/PERFORMANCE_GUIDELINES.ko.md +388 -0
  12. package/docs/ROADMAP_v0.4.0.md +286 -0
  13. package/docs/TROUBLESHOOTING.ko.md +366 -0
  14. package/package.json +50 -2
  15. package/src/DEPENDENCY_MAP.md +90 -0
  16. package/src/cli/index.js +1 -1
  17. package/src/lib/installer.js +204 -15
  18. package/src/lib/resources/templates/api-server/template/src/controllers/aiwfController.ts +0 -14
  19. package/src/lib/resources/templates/api-server/template/src/routes/aiwf.ts +0 -11
  20. package/src/lib/resources/templates/web-app/template/src/pages/AiwfDashboard.tsx +2 -5
  21. package/src/lib/resources/utils/token-reporter.js +2 -3
  22. package/src/utils/checkpoint-manager.js +11 -1
  23. package/src/utils/engineering-guard.js +11 -1
  24. package/src/utils/messages.js +16 -0
  25. package/src/utils/paths.js +2 -2
  26. package/templates/api-server/template/src/controllers/aiwfController.ts +0 -14
  27. package/templates/api-server/template/src/routes/aiwf.ts +0 -11
  28. package/templates/web-app/template/src/pages/AiwfDashboard.tsx +2 -5
  29. package/docs/CLEANUP_RECOMMENDATIONS.md +0 -86
  30. package/docs/git-feature-integration-guide.md +0 -253
  31. package/docs/guides/feature-git-integration-guide-ko.md +0 -481
  32. package/docs/guides/feature-git-integration-guide.md +0 -481
  33. package/docs/lightweight-evaluation.md +0 -198
  34. package/docs/performance-benchmark-report.md +0 -159
  35. package/docs/reports/S02-sprint-report.md +0 -190
  36. package/docs/usability-test-report.md +0 -170
  37. package/src/commands/cache-templates.js +0 -209
  38. package/src/commands/create-offline.js +0 -86
  39. package/src/commands/state-refactored.js +0 -419
  40. package/src/lib/resources/commands/feature-ledger.js +0 -565
  41. package/src/lib/resources/commands/feature_commit_report.js +0 -370
  42. package/src/lib/resources/commands/scan_git_history.js +0 -234
  43. package/src/lib/resources/commands/sync_feature_commits.js +0 -154
  44. package/src/lib/resources/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +0 -93
  45. package/src/lib/resources/utils/feature-updater.js +0 -271
  46. package/src/utils/git-integration.js +0 -173
  47. package/templates/web-app/template/src/components/aiwf/FeatureLedger.tsx +0 -93
  48. /package/docs/{AI_PERSONA_SYSTEM_DESIGN.md → designs/AI_PERSONA_SYSTEM_DESIGN.md} +0 -0
  49. /package/docs/{API_DOCUMENTATION.md → designs/API_DOCUMENTATION.md} +0 -0
  50. /package/docs/{API_REFERENCE.md → designs/API_REFERENCE.md} +0 -0
  51. /package/docs/{Enhanced_Installation_Flow_Design.md → designs/Enhanced_Installation_Flow_Design.md} +0 -0
  52. /package/docs/{moonklabs-metadata-system-prd.md → designs/aiwf-metadata-system-prd.md} +0 -0
  53. /package/docs/{offline-template-cache.md → designs/offline-template-cache.md} +0 -0
  54. /package/docs/{persona-aware-compression.md → designs/persona-aware-compression.md} +0 -0
package/README.ko.md CHANGED
@@ -42,7 +42,7 @@ aiwf install
42
42
  # 현재 프로젝트에 AIWF 설치
43
43
  aiwf install
44
44
 
45
- # 강제 설치 (프롬프트 건너뛰기)
45
+ # 완전 재설치 강제 실행 (프롬프트 건너뛰고 모든 내용 덮어쓰기)
46
46
  aiwf install --force
47
47
 
48
48
  # 도움말 표시
@@ -68,10 +68,20 @@ aiwf-lang reset
68
68
 
69
69
  ### 기존 설치 업데이트
70
70
 
71
- 기존 AIWF가 있는 프로젝트에서 `aiwf install` 실행 시:
72
- - 자동 백업 생성
73
- - 업데이트 또는 건너뛰기 옵션
74
- - 설정 보존
71
+ 기존 AIWF가 있는 프로젝트에서 `aiwf install` 실행 시 다음 옵션을 제공합니다:
72
+
73
+ #### 대화형 모드
74
+ 1. **업데이트**: 명령어와 문서만 업데이트하고 작업 내용은 보존
75
+ 2. **완전 재설치**: 새로 설치, 기존 프로젝트 덮어쓰기
76
+ 3. **건너뛰기**: 설치 취소
77
+
78
+ #### 명령행 옵션
79
+ - `--force`: 모든 프롬프트 건너뛰고 완전 재설치 실행
80
+
81
+ #### 보존/업데이트 내용
82
+ - **항상 보존**: 작업 파일, 스프린트, 태스크, 프로젝트 내용
83
+ - **항상 업데이트**: Claude 명령어, 문서, 템플릿, 규칙
84
+ - **백업 생성**: 업데이트된 파일의 자동 백업 (*.bak)
75
85
 
76
86
  ## 📁 설치 내용
77
87
 
@@ -85,7 +95,7 @@ your_project/
85
95
  │ ├── 02_REQUIREMENTS/ # 마일스톤 요구사항
86
96
  │ ├── 03_SPRINTS/ # 스프린트 실행 추적
87
97
  │ ├── 04_GENERAL_TASKS/ # 독립 작업
88
- │ ├── 05_ARCHITECTURE_DECISIONS/ # ADR 문서
98
+ │ ├── 05_ARCHITECTURAL_DECISIONS/ # ADR 문서
89
99
  │ ├── 10_STATE_OF_PROJECT/ # 프로젝트 상태 스냅샷
90
100
  │ ├── 98_PROMPTS/ # 유용한 AI 프롬프트
91
101
  │ └── 99_TEMPLATES/ # 문서 템플릿
@@ -143,9 +153,11 @@ your_project/
143
153
  - [기능 Git 통합 가이드](docs/guides/feature-git-integration-guide-ko.md) - Git hooks 및 추적
144
154
 
145
155
  ### 기술 문서
156
+ - [아키텍처](docs/ARCHITECTURE.ko.md) - 시스템 아키텍처 및 설계
146
157
  - [상태 관리 가이드](docs/STATE_MANAGEMENT_GUIDE.ko.md) - 워크플로우 기반 상태 시스템
147
158
  - [AI 워크플로우](docs/AI-WORKFLOW.ko.md) - AI 통합 패턴
148
159
  - [API 참조](docs/API_REFERENCE.md) - 프로그래머틱 사용
160
+ - [전체 API 참조](docs/API_REFERENCE_FULL.ko.md) - 포괄적인 API 문서
149
161
  - [문제 해결](docs/TROUBLESHOOTING.md) - 일반적인 문제 및 해결책
150
162
 
151
163
  ## ✨ 주요 기능
@@ -163,7 +175,6 @@ your_project/
163
175
  - 🎭 **AI 페르소나** - 5가지 전문 페르소나 (Architect, Security, Frontend, Backend, Data Analyst)
164
176
  - 🧠 **페르소나 인식 압축** - 활성 페르소나에 최적화된 지능형 컨텍스트 압축
165
177
  - 📈 **경량 평가 시스템** - 최소한의 부담으로 자동 백그라운드 품질 모니터링
166
- - 🚀 **Feature Ledger** - 개발 진행 상황 추적을 위한 기능 ID 시스템
167
178
  - 🔍 **AI 도구 템플릿** - GitHub Copilot, Cursor, Windsurf, Augment 지원
168
179
  - 🪝 **Git Hooks 통합** - git 커밋과 함께 자동 기능 추적
169
180
  - 🤖 **워크플로우 기반 상태 관리** - 지능적 작업 우선순위 지정 및 의존성 추적
@@ -228,7 +239,6 @@ aiwf/
228
239
  ├── commands/ # AIWF 명령어 구현
229
240
  ├── config/ # 설정 파일
230
241
  ├── docs/ # 프로젝트 문서
231
- ├── feature-ledger/ # 기능 추적 JSON 파일
232
242
  ├── hooks/ # 자동화된 워크플로우를 위한 Git hooks
233
243
  ├── lib/ # 핵심 라이브러리 모듈
234
244
  ├── personas/ # AI 페르소나 정의
@@ -241,8 +251,7 @@ aiwf/
241
251
 
242
252
  ### 주요 디렉토리
243
253
 
244
- - **feature-ledger/**: 기능 개발 상태 및 git 커밋 관계 추적
245
- - **hooks/**: 자동 기능 추적을 위한 git hooks (post-commit) 포함
254
+ - **hooks/**: 자동화 워크플로우를 위한 git hooks (post-commit) 포함
246
255
 
247
256
  ## 🔧 요구사항
248
257
 
package/README.md CHANGED
@@ -43,7 +43,7 @@ The installer will guide you through:
43
43
  # Install AIWF in current project
44
44
  aiwf install
45
45
 
46
- # Force installation (skip prompts)
46
+ # Force complete reinstall (skip prompts, overwrite everything)
47
47
  aiwf install --force
48
48
 
49
49
  # Show help
@@ -69,10 +69,20 @@ aiwf-lang reset
69
69
 
70
70
  ### Update Existing Installation
71
71
 
72
- When running `aiwf install` in a project with existing AIWF:
73
- - Automatic backup creation
74
- - Option to update or skip
75
- - Preserves your settings
72
+ When running `aiwf install` in a project with existing AIWF, you'll get these options:
73
+
74
+ #### Interactive Mode
75
+ 1. **Update**: Updates commands and docs only, preserves work content
76
+ 2. **Complete Reinstall**: Fresh installation, overwrites existing project
77
+ 3. **Skip**: Cancel installation
78
+
79
+ #### Command Line Options
80
+ - `--force`: Skip all prompts and perform complete reinstall
81
+
82
+ #### What Gets Preserved/Updated
83
+ - **Always Preserved**: Your work files, sprints, tasks, and project content
84
+ - **Always Updated**: Claude commands, documentation, templates, and rules
85
+ - **Backup Created**: Automatic backup of updated files (*.bak)
76
86
 
77
87
  ## 📁 What Gets Installed
78
88
 
@@ -86,7 +96,7 @@ your_project/
86
96
  │ ├── 02_REQUIREMENTS/ # Milestone requirements
87
97
  │ ├── 03_SPRINTS/ # Sprint execution tracking
88
98
  │ ├── 04_GENERAL_TASKS/ # Standalone tasks
89
- │ ├── 05_ARCHITECTURE_DECISIONS/ # ADR documents
99
+ │ ├── 05_ARCHITECTURAL_DECISIONS/ # ADR documents
90
100
  │ ├── 10_STATE_OF_PROJECT/ # Project state snapshots
91
101
  │ ├── 98_PROMPTS/ # Useful AI prompts
92
102
  │ └── 99_TEMPLATES/ # Document templates
@@ -168,9 +178,11 @@ aiwf sprint-independent "Quick Feature" --minimal
168
178
  - [Feature Git Integration Guide](docs/guides/feature-git-integration-guide.md) - Git hooks and tracking
169
179
 
170
180
  ### Technical Documentation
181
+ - [Architecture](docs/ARCHITECTURE.md) - System architecture and design
171
182
  - [State Management Guide](docs/STATE_MANAGEMENT_GUIDE.md) - Workflow-based state system
172
183
  - [AI Workflow](docs/AI-WORKFLOW.md) - AI integration patterns
173
184
  - [API Reference](docs/API_REFERENCE.md) - Programmatic usage
185
+ - [Complete API Reference](docs/API_REFERENCE_FULL.md) - Comprehensive API documentation
174
186
  - [Troubleshooting](docs/TROUBLESHOOTING.md) - Common issues and solutions
175
187
 
176
188
  ## ✨ Features
@@ -188,7 +200,6 @@ aiwf sprint-independent "Quick Feature" --minimal
188
200
  - 🎭 **AI Personas** - 5 specialized personas (Architect, Security, Frontend, Backend, Data Analyst)
189
201
  - 🧠 **Persona-Aware Compression** - Intelligent context compression optimized for active persona
190
202
  - 📈 **Lightweight Evaluation** - Automatic background quality monitoring with minimal overhead
191
- - 🚀 **Feature Ledger** - Feature ID system for development progress tracking
192
203
  - 🔍 **AI Tool Templates** - Support for GitHub Copilot, Cursor, Windsurf, and Augment
193
204
  - 🪝 **Git Hooks Integration** - Automated feature tracking with git commits
194
205
  - 🤖 **Workflow-Based State Management** - Intelligent task prioritization and dependency tracking
@@ -276,7 +287,6 @@ aiwf/
276
287
  ├── commands/ # AIWF command implementations
277
288
  ├── config/ # Configuration files
278
289
  ├── docs/ # Project documentation
279
- ├── feature-ledger/ # Feature tracking JSON files
280
290
  ├── hooks/ # Git hooks for automated workflows
281
291
  ├── lib/ # Core library modules
282
292
  ├── personas/ # AI persona definitions
@@ -289,9 +299,44 @@ aiwf/
289
299
 
290
300
  ### Key Directories
291
301
 
292
- - **feature-ledger/**: Tracks feature development status and git commit relationships
293
302
  - **hooks/**: Contains git hooks (post-commit) for automatic feature tracking
294
303
 
304
+ ## 🔧 Module Management Guide
305
+
306
+ ### 삭제하기 전 확인사항
307
+
308
+ 1. **의존성 확인**: `/src/DEPENDENCY_MAP.md` 파일 확인
309
+ 2. **파일 헤더 확인**: `@warning 삭제 금지` 주석 확인
310
+ 3. **YOLO 모듈 확인**: YOLO 전용 모듈인지 확인
311
+ 4. **동적 import 확인**: `import()` 구문으로 로드되는지 확인
312
+
313
+ ### ⚠️ YOLO 핵심 모듈들 (삭제 금지)
314
+
315
+ - **`engineering-guard.js`** - 오버엔지니어링 방지 (동적 로드됨)
316
+ - **`checkpoint-manager.js`** - YOLO 상태 관리
317
+
318
+ ### 🔍 모듈 카테고리 확인
319
+
320
+ package.json의 `aiwf.moduleCategories`에서 모듈 분류를 확인할 수 있습니다:
321
+
322
+ - **core**: 핵심 유틸리티 (경로, 메시지, 언어)
323
+ - **yolo**: YOLO 시스템 전용
324
+ - **persona**: AI 페르소나 시스템
325
+ - **installer**: 설치/백업 시스템
326
+ - **cache**: 템플릿 캐시 시스템
327
+ - **github**: GitHub 통합
328
+ - **common**: 공통 리소스
329
+
330
+ ### 📋 의존성 검사
331
+
332
+ ```bash
333
+ # 특정 모듈의 사용처 확인
334
+ grep -r "모듈명" src/
335
+
336
+ # 동적 import 확인
337
+ grep -r "import.*engineering-guard" claude-code/
338
+ ```
339
+
295
340
  ## 🔧 Requirements
296
341
 
297
342
  - Node.js 14.0.0 or higher
@@ -250,7 +250,7 @@ AIWF 워크플로를 구동하는 맞춤형 Claude Code 명령어:
250
250
  │ ├── TX001_Refactor_Logging_Module.md # Completed task
251
251
  │ ├── T002_API_Rate_Limiting.md # Open task
252
252
  │ └── ...
253
- ├── 05_ARCHITECTURE_DECISIONS/
253
+ ├── 05_ARCHITECTURAL_DECISIONS/
254
254
  │ ├── ADR001_Database_Selection.md
255
255
  │ └── ...
256
256
  ├── 10_STATE_OF_PROJECT/ # Project review snapshots
@@ -352,7 +352,7 @@ Custom Claude Code commands that drive the AIWF workflow:
352
352
  │ ├── TX001_Refactor_Logging_Module.md # Completed task
353
353
  │ ├── T002_API_Rate_Limiting.md # Open task
354
354
  │ └── ...
355
- ├── 05_ARCHITECTURE_DECISIONS/
355
+ ├── 05_ARCHITECTURAL_DECISIONS/
356
356
  │ ├── ADR001_Database_Selection.md
357
357
  │ └── ...
358
358
  ├── 10_STATE_OF_PROJECT/ # Project review snapshots