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
@@ -1,481 +0,0 @@
1
- [Read in Korean (한국어로 보기)](feature-git-integration-guide-ko.md)
2
-
3
- # Feature-Git Integration Setup Guide
4
-
5
- ## Overview
6
-
7
- The Feature-Git integration system is a tool that automatically connects AIWF's Feature Ledger with Git commits to track and manage feature development progress. It automates project management through commit message parsing, automatic status updates, and progress tracking.
8
-
9
- ## Key Features
10
-
11
- ### 1. Automatic Feature Tracking
12
- - Automatic connection between Git commits and Feature IDs
13
- - Extract Feature information from commit messages
14
- - Automatic Feature status updates
15
-
16
- ### 2. Pre-commit Hook
17
- - Validate Feature ID before commit
18
- - Check commit message format
19
- - Automatic Feature Ledger updates
20
-
21
- ### 3. Progress Management
22
- - Calculate progress based on commit count
23
- - Track contribution by Feature
24
- - Generate team productivity metrics
25
-
26
- ## Installation and Setup
27
-
28
- ### 1. Basic Installation
29
-
30
- **Automatic Installation (Recommended)**:
31
- ```bash
32
- /project:aiwf:install_git_hooks
33
- # or
34
- /프로젝트:aiwf:git_훅_설치
35
- ```
36
-
37
- **Manual Installation**:
38
- ```bash
39
- # Navigate to Git hooks directory
40
- cd .git/hooks
41
-
42
- # Create Pre-commit hook
43
- cat > pre-commit << 'EOF'
44
- #!/bin/bash
45
- # AIWF Feature-Git Integration Hook
46
-
47
- # Commit message file path
48
- COMMIT_MSG_FILE="$1"
49
-
50
- # Execute AIWF commit validation
51
- node .aiwf/scripts/validate-commit.js "$COMMIT_MSG_FILE"
52
-
53
- # Return validation result
54
- exit $?
55
- EOF
56
-
57
- # Grant execution permission
58
- chmod +x pre-commit
59
- ```
60
-
61
- ### 2. Configuration File Setup
62
-
63
- `.aiwf/config/git-integration.json`:
64
- ```json
65
- {
66
- "featureGitIntegration": {
67
- "enabled": true,
68
- "autoLinkCommits": true,
69
- "updateFeatureStatus": true,
70
- "commitMessagePattern": "^(feat|fix|docs|style|refactor|test|chore)\\(([A-Z]\\d{3})\\): .+$",
71
- "featureIdPattern": "[A-Z]\\d{3}",
72
- "hooks": {
73
- "preCommit": true,
74
- "postCommit": true,
75
- "prePush": false
76
- },
77
- "statusMapping": {
78
- "feat": "in_progress",
79
- "fix": "in_progress",
80
- "docs": "in_progress",
81
- "test": "testing",
82
- "chore": "in_progress",
83
- "refactor": "in_progress",
84
- "style": "in_progress"
85
- }
86
- }
87
- }
88
- ```
89
-
90
- ### 3. Feature Ledger Initialization
91
-
92
- ```bash
93
- /project:aiwf:init_feature_ledger
94
- # or
95
- /프로젝트:aiwf:기능_원장_초기화
96
- ```
97
-
98
- ## Commit Message Format
99
-
100
- ### Basic Format
101
- ```
102
- <type>(<feature-id>): <description>
103
-
104
- [optional body]
105
-
106
- [optional footer]
107
- ```
108
-
109
- ### Type Categories
110
- - `feat`: Add new feature
111
- - `fix`: Fix bug
112
- - `docs`: Modify documentation
113
- - `style`: Code formatting, missing semicolons, etc.
114
- - `refactor`: Code refactoring
115
- - `test`: Add or modify tests
116
- - `chore`: Build process or auxiliary tool changes
117
-
118
- ### Feature ID Format
119
- - Format: `[A-Z][0-9]{3}` (e.g., F001, B023, T456)
120
- - Customizable per project
121
-
122
- ### Examples
123
-
124
- **Basic commit**:
125
- ```bash
126
- git commit -m "feat(F001): Implement user authentication system"
127
- ```
128
-
129
- **With detailed description**:
130
- ```bash
131
- git commit -m "fix(B023): Resolve session persistence issue on login
132
-
133
- - Fixed session timeout settings
134
- - Added cookie domain configuration
135
- - Improved refresh token logic"
136
- ```
137
-
138
- **Multiple Feature references**:
139
- ```bash
140
- git commit -m "refactor(F001,F002): Integrate authentication modules
141
-
142
- Integrated login logic from F001 and permission system from F002
143
- to eliminate code duplication and improve maintainability."
144
- ```
145
-
146
- ## link_feature_commit Command
147
-
148
- ### Basic Usage
149
- ```bash
150
- /project:aiwf:link_feature_commit <commit-hash> <feature-id>
151
- # or
152
- /프로젝트:aiwf:기능_커밋_연결 <커밋해시> <기능ID>
153
- ```
154
-
155
- ### Examples
156
- ```bash
157
- # Link specific commit to Feature
158
- /project:aiwf:link_feature_commit abc123def F001
159
-
160
- # Link recent commit
161
- /project:aiwf:link_feature_commit HEAD F002
162
-
163
- # Link range of commits
164
- /project:aiwf:link_feature_commit abc123..def456 F003
165
- ```
166
-
167
- ### Batch Linking
168
- ```bash
169
- # Link multiple commits at once
170
- /project:aiwf:link_feature_commits --batch
171
- "abc123 -> F001
172
- def456 -> F002
173
- ghi789 -> F003"
174
- ```
175
-
176
- ## Automatic Feature Status Updates
177
-
178
- ### Status Transition Rules
179
-
180
- 1. **First commit**: `planned` → `in_progress`
181
- 2. **Test type commit**: → `testing`
182
- 3. **Fix followed by test pass**: → `ready_for_review`
183
- 4. **PR merge**: → `completed`
184
-
185
- ### Custom Rule Configuration
186
- ```json
187
- {
188
- "stateTransitions": {
189
- "planned": {
190
- "feat": "in_progress",
191
- "fix": "in_progress"
192
- },
193
- "in_progress": {
194
- "test": "testing",
195
- "docs": "documenting"
196
- },
197
- "testing": {
198
- "fix": "in_progress",
199
- "feat": "ready_for_review"
200
- }
201
- }
202
- }
203
- ```
204
-
205
- ## Advanced Configuration
206
-
207
- ### 1. Commit Message Template
208
-
209
- Create `.gitmessage` file:
210
- ```
211
- # <type>(<feature-id>): <subject>
212
- #
213
- # <body>
214
- #
215
- # Feature: <feature-description>
216
- # Related: <related-features>
217
- # Closes: <issue-numbers>
218
- ```
219
-
220
- Git configuration:
221
- ```bash
222
- git config commit.template .gitmessage
223
- ```
224
-
225
- ### 2. Automatic Feature ID Suggestion
226
-
227
- ```bash
228
- # Extract Feature ID from current branch name
229
- /project:aiwf:suggest_feature_id
230
- ```
231
-
232
- ### 3. Post-commit Automation
233
-
234
- `.aiwf/hooks/post-commit`:
235
- ```bash
236
- #!/bin/bash
237
- # Update Feature Ledger
238
- node .aiwf/scripts/update-feature-ledger.js
239
-
240
- # Calculate progress
241
- node .aiwf/scripts/calculate-progress.js
242
-
243
- # Notify team (optional)
244
- # node .aiwf/scripts/notify-team.js
245
- ```
246
-
247
- ## Workflow Integration
248
-
249
- ### 1. Branch Strategy Integration
250
-
251
- **Feature Branch Creation**:
252
- ```bash
253
- # Create branch with Feature ID
254
- git checkout -b feature/F001-user-authentication
255
-
256
- # AIWF automatically recognizes Feature ID
257
- ```
258
-
259
- **Branch Rules**:
260
- - `feature/[FEATURE-ID]-description`
261
- - `bugfix/[BUG-ID]-description`
262
- - `hotfix/[HOTFIX-ID]-description`
263
-
264
- ### 2. PR/MR Integration
265
-
266
- **PR Template** (`.github/pull_request_template.md`):
267
- ```markdown
268
- ## Feature ID: [FEATURE-ID]
269
-
270
- ### Changes
271
- - [ ] Feature implementation completed
272
- - [ ] Tests written and completed
273
- - [ ] Documentation updated
274
-
275
- ### Feature Ledger Update
276
- - Current status: `in_progress`
277
- - Target status: `completed`
278
- - Progress: X%
279
-
280
- ### Related Commits
281
- - commit1: description
282
- - commit2: description
283
- ```
284
-
285
- ### 3. CI/CD Pipeline Integration
286
-
287
- **GitHub Actions Example**:
288
- ```yaml
289
- name: AIWF Feature Tracking
290
-
291
- on:
292
- push:
293
- branches: [ main, develop ]
294
- pull_request:
295
- branches: [ main ]
296
-
297
- jobs:
298
- feature-tracking:
299
- runs-on: ubuntu-latest
300
- steps:
301
- - uses: actions/checkout@v2
302
-
303
- - name: Validate Commit Message
304
- run: |
305
- node .aiwf/scripts/validate-commit.js ${{ github.event.head_commit.message }}
306
-
307
- - name: Update Feature Ledger
308
- run: |
309
- node .aiwf/scripts/update-feature-ledger.js \
310
- --commit ${{ github.sha }} \
311
- --message "${{ github.event.head_commit.message }}"
312
-
313
- - name: Calculate Progress
314
- run: |
315
- node .aiwf/scripts/calculate-progress.js
316
-
317
- - name: Generate Report
318
- run: |
319
- node .aiwf/scripts/generate-feature-report.js
320
- ```
321
-
322
- ## Reports and Analytics
323
-
324
- ### 1. Feature Progress Report
325
-
326
- ```bash
327
- /project:aiwf:feature_report
328
- # or
329
- /프로젝트:aiwf:기능_보고서
330
- ```
331
-
332
- **Example Output**:
333
- ```
334
- Feature Progress Report
335
- =======================
336
-
337
- Active Features:
338
- - F001: User Authentication (75% complete)
339
- - 12 commits, 3 contributors
340
- - Status: testing
341
- - Last update: 2 hours ago
342
-
343
- - F002: Payment Integration (45% complete)
344
- - 8 commits, 2 contributors
345
- - Status: in_progress
346
- - Last update: 1 day ago
347
-
348
- Completed Features (Last 7 days):
349
- - F003: Dashboard UI (100% complete)
350
- - F004: API Documentation (100% complete)
351
-
352
- Team Velocity: 4.5 features/week
353
- ```
354
-
355
- ### 2. Commit Analysis
356
-
357
- ```bash
358
- /project:aiwf:analyze_commits --period 7d
359
- ```
360
-
361
- **Analysis Content**:
362
- - Commit frequency
363
- - Commit distribution by Feature
364
- - Contribution by developer
365
- - Activity patterns by time
366
-
367
- ## Troubleshooting
368
-
369
- ### 1. Hook Not Working
370
-
371
- **Check Items**:
372
- ```bash
373
- # Check if hook file exists
374
- ls -la .git/hooks/pre-commit
375
-
376
- # Check execution permission
377
- test -x .git/hooks/pre-commit && echo "Executable" || echo "Not executable"
378
-
379
- # Check hook content
380
- cat .git/hooks/pre-commit
381
- ```
382
-
383
- **Solutions**:
384
- ```bash
385
- # Reset permissions
386
- chmod +x .git/hooks/pre-commit
387
-
388
- # Reinstall hook
389
- /project:aiwf:reinstall_hooks
390
- ```
391
-
392
- ### 2. Feature ID Recognition Failure
393
-
394
- **Symptoms**: Commit succeeds but Feature is not updated
395
-
396
- **Solutions**:
397
- 1. Check commit message format
398
- 2. Check Feature ID pattern configuration
399
- 3. Check Feature Ledger file permissions
400
-
401
- ### 3. Status Update Errors
402
-
403
- **Check Logs**:
404
- ```bash
405
- tail -f .aiwf/logs/git-integration.log
406
- ```
407
-
408
- **Manual Update**:
409
- ```bash
410
- /project:aiwf:update_feature_status F001 in_progress
411
- ```
412
-
413
- ## Best Practices
414
-
415
- ### 1. Consistent Commit Messages
416
- - Use the same format across the entire team
417
- - Always include Feature ID
418
- - Write clear and descriptive messages
419
-
420
- ### 2. Small Unit Commits
421
- - One commit for one logical change
422
- - Easy to review and track
423
- - Easy to rollback when issues occur
424
-
425
- ### 3. Regular Synchronization
426
- ```bash
427
- # Daily Feature Ledger synchronization
428
- /project:aiwf:sync_features
429
-
430
- # Weekly report generation
431
- /project:aiwf:weekly_feature_report
432
- ```
433
-
434
- ### 4. Branch and Feature Mapping
435
- - Include Feature ID in branch names
436
- - Specify Feature ID in PR titles
437
- - Maintain Feature ID in merge commits
438
-
439
- ## Team Collaboration Scenarios
440
-
441
- ### 1. Starting New Feature
442
- ```bash
443
- # 1. Create Feature
444
- /project:aiwf:create_feature "User Profile Feature"
445
- # Returns: F005 created
446
-
447
- # 2. Create Branch
448
- git checkout -b feature/F005-user-profile
449
-
450
- # 3. First Commit
451
- git commit -m "feat(F005): Create basic user profile structure"
452
- ```
453
-
454
- ### 2. Collaborative Development
455
- ```bash
456
- # Developer A
457
- git commit -m "feat(F005): Implement profile image upload"
458
-
459
- # Developer B
460
- git commit -m "test(F005): Add profile upload tests"
461
-
462
- # Check progress
463
- /project:aiwf:feature_status F005
464
- ```
465
-
466
- ### 3. Completion and Merge
467
- ```bash
468
- # When creating PR
469
- # Title: "feat(F005): Complete user profile feature"
470
-
471
- # After merge, automatically
472
- # - Feature status → completed
473
- # - Progress → 100%
474
- # - Completion time recorded
475
- ```
476
-
477
- ## Conclusion
478
-
479
- The Feature-Git integration system effectively combines development processes with project management. Through automated tracking and reporting capabilities, it improves team productivity and enables real-time monitoring of project progress.
480
-
481
- We encourage you to continuously improve and optimize your workflow through ongoing use and team feedback.
@@ -1,198 +0,0 @@
1
- # 경량 평가 시스템
2
-
3
- ## 개요
4
-
5
- AIWF의 경량 평가 시스템은 AI 응답 품질을 간단하고 효율적으로 모니터링합니다. 복잡한 수동 평가 대신 백그라운드 자동 평가를 통해 사용자 작업 흐름을 방해하지 않으면서도 품질을 유지합니다.
6
-
7
- ## 핵심 원칙
8
-
9
- ### 1. Invisible by Default
10
- - 평가는 백그라운드에서 자동 실행
11
- - 사용자가 인지하지 못하도록 설계
12
- - 필요할 때만 피드백 제공
13
-
14
- ### 2. Simple Metrics
15
- - 3가지 핵심 지표만 사용
16
- - 복잡한 계산 없이 빠른 평가
17
- - 실용적인 피드백 중심
18
-
19
- ### 3. Non-Intrusive
20
- - 품질이 낮을 때만 알림 (60% 미만)
21
- - 간단한 한 줄 피드백
22
- - 작업 흐름을 방해하지 않음
23
-
24
- ## 평가 지표
25
-
26
- ### 1. 역할 일치도 (Role Alignment) - 50%
27
- 페르소나의 핵심 키워드가 응답에 포함되었는지 확인합니다.
28
-
29
- ```javascript
30
- // 페르소나별 핵심 키워드
31
- architect: ['시스템', '설계', '구조', '아키텍처']
32
- security: ['보안', '취약점', '암호화', '위협']
33
- frontend: ['UI', 'UX', '사용자', '화면']
34
- backend: ['API', '데이터베이스', '서버', '성능']
35
- data_analyst: ['데이터', '분석', '통계', '인사이트']
36
- ```
37
-
38
- ### 2. 작업 관련성 (Task Relevance) - 30%
39
- 응답의 길이와 내용으로 작업 관련성을 간단히 평가합니다.
40
- - 50자 미만: 0.3
41
- - 50-200자: 0.6
42
- - 200자 이상: 0.8
43
-
44
- ### 3. 기본 품질 (Response Quality) - 20%
45
- 응답의 구조와 내용 풍부도를 확인합니다.
46
- - 구조화된 응답 (줄바꿈, 목록 등): +0.2
47
- - 충분한 내용 (100자 이상): +0.2
48
-
49
- ## 자동 평가 시점
50
-
51
- ### 1. 페르소나 전환 시
52
- ```bash
53
- $ aiwf persona architect
54
- ✓ Architect 페르소나 활성화
55
- # (백그라운드에서 자동 평가 시작)
56
- ```
57
-
58
- ### 2. 컨텍스트 압축 시
59
- ```bash
60
- $ aiwf compress-with-persona
61
- ✓ 압축 완료!
62
- # (압축 품질 자동 체크)
63
- 💡 시스템 설계 관점을 더 포함해보세요 # 품질이 낮을 때만
64
- ```
65
-
66
- ## 수동 평가 명령어
67
-
68
- 필요할 때 수동으로 평가 정보를 확인할 수 있습니다.
69
-
70
- ### 빠른 확인
71
- ```bash
72
- $ aiwf evaluate
73
- 🔍 최근 응답 평가
74
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
75
- 현재 페르소나: architect
76
- 평균 점수: 0.75
77
- 평가 횟수: 23
78
- 추세: 📈 개선 중
79
- ```
80
-
81
- ### 상세 분석
82
- ```bash
83
- $ aiwf evaluate --detailed
84
- 📊 상세 평가 분석
85
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
86
- 전체 통계:
87
- - 총 평가: 47회
88
- - 평균 점수: 0.72
89
- - 추세: 📈 개선 중
90
-
91
- 페르소나별 성과:
92
- - 아키텍트: 0.85 (15회)
93
- - 보안 전문가: 0.62 (8회)
94
- - 프론트엔드: 0.74 (12회)
95
- - 백엔드: 0.70 (9회)
96
- - 데이터 분석가: 0.58 (3회)
97
-
98
- 개선 제안:
99
- 📊 데이터 기반 인사이트를 더 제공해보세요
100
- ```
101
-
102
- ### 평가 히스토리
103
- ```bash
104
- $ aiwf evaluate --history
105
- 📈 평가 히스토리
106
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
107
- 14:32 | 아키텍트 | 0.85
108
- 14:25 | 프론트엔드 | 0.72
109
- 14:18 | 아키텍트 | 0.90
110
- ...
111
- ```
112
-
113
- ### 주간 통계
114
- ```bash
115
- $ aiwf evaluate --stats
116
- 📊 주간 통계
117
- ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
118
- 평가 횟수: 142회
119
- 평균 점수: 0.74
120
- 추세: 📈 개선 중
121
-
122
- 페르소나별 활용도:
123
- 아키텍트 ████████████ 45회
124
- 프론트엔드 ████████ 32회
125
- 백엔드 ██████ 28회
126
- 보안 전문가 ████ 20회
127
- 데이터 분석가 ████ 17회
128
- ```
129
-
130
- ## 피드백 메시지
131
-
132
- 각 페르소나별로 간단한 피드백 메시지가 준비되어 있습니다:
133
-
134
- - **Architect**: "💡 시스템 설계 관점을 더 포함해보세요"
135
- - **Security**: "🔒 보안 측면을 좀 더 고려해보세요"
136
- - **Frontend**: "🎨 사용자 경험 관점을 추가해보세요"
137
- - **Backend**: "⚙️ 서버/데이터 처리 관점을 강화해보세요"
138
- - **Data Analyst**: "📊 데이터 기반 인사이트를 더 제공해보세요"
139
-
140
- ## 데이터 저장
141
-
142
- 평가 데이터는 `.aiwf/.evaluation-stats.json`에 자동 저장됩니다:
143
-
144
- ```json
145
- {
146
- "recentEvaluations": [
147
- {
148
- "persona": "architect",
149
- "score": 0.85,
150
- "timestamp": "2024-01-10T14:32:00Z",
151
- "responseLength": 350
152
- }
153
- ],
154
- "lastUpdated": "2024-01-10T14:32:00Z"
155
- }
156
- ```
157
-
158
- ## 구현 세부사항
159
-
160
- ### SimplifiedEvaluator 클래스
161
- - 200줄 이하의 간단한 구현
162
- - 빠른 평가 알고리즘
163
- - 최소한의 의존성
164
-
165
- ### BackgroundMonitor 클래스
166
- - 싱글톤 패턴으로 리소스 효율성
167
- - 비동기 평가로 성능 영향 최소화
168
- - 자동 데이터 정리 (최대 100개 기록)
169
-
170
- ## 마이그레이션 가이드
171
-
172
- ### 기존 시스템에서 전환
173
- 1. 기존 평가 명령어들이 자동으로 제거됨
174
- 2. 새로운 `aiwf evaluate` 명령어만 사용
175
- 3. 대부분의 평가는 자동으로 백그라운드에서 수행
176
-
177
- ### 주요 변경사항
178
- - 5개 지표 → 3개 지표
179
- - 수동 평가 → 자동 평가
180
- - 5개 명령어 → 1개 명령어
181
- - 복잡한 리포트 → 간단한 피드백
182
-
183
- ## 성능 영향
184
-
185
- - **CPU 사용**: 거의 없음 (< 0.1%)
186
- - **메모리 사용**: 최소 (< 5MB)
187
- - **평가 시간**: 즉시 (< 10ms)
188
- - **저장 공간**: 작음 (< 100KB)
189
-
190
- ## 향후 계획
191
-
192
- 1. **AI 응답 후 자동 평가**: Claude API 응답 후킹
193
- 2. **주간 리포트 자동 생성**: 매주 월요일 아침
194
- 3. **팀 통계 공유**: 팀원 간 평가 통계 공유 기능
195
-
196
- ## 결론
197
-
198
- 경량 평가 시스템은 "적을수록 좋다"는 철학을 따릅니다. 필수적인 기능만 유지하면서도 AI 응답 품질을 효과적으로 모니터링할 수 있습니다. 사용자는 평가 시스템의 존재를 거의 인지하지 못하면서도 품질 개선의 혜택을 받습니다.