@su-record/vibe 2.0.0 → 2.0.1

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 (65) hide show
  1. package/.claude/agents/explorer.md +48 -48
  2. package/.claude/agents/implementer.md +53 -53
  3. package/.claude/agents/searcher.md +54 -54
  4. package/.claude/agents/simplifier.md +119 -119
  5. package/.claude/agents/tester.md +49 -49
  6. package/.claude/commands/vibe.analyze.md +239 -239
  7. package/.claude/commands/vibe.continue.md +88 -88
  8. package/.claude/commands/vibe.diagram.md +178 -178
  9. package/.claude/commands/vibe.reason.md +306 -306
  10. package/.claude/commands/vibe.run.md +760 -760
  11. package/.claude/commands/vibe.spec.md +339 -339
  12. package/.claude/commands/vibe.tool.md +153 -153
  13. package/.claude/commands/vibe.ui.md +137 -137
  14. package/.claude/commands/vibe.verify.md +238 -238
  15. package/.claude/settings.json +152 -152
  16. package/.claude/settings.local.json +4 -57
  17. package/.vibe/config.json +9 -0
  18. package/.vibe/constitution.md +184 -184
  19. package/.vibe/rules/core/communication-guide.md +104 -104
  20. package/.vibe/rules/core/development-philosophy.md +52 -52
  21. package/.vibe/rules/core/quick-start.md +120 -120
  22. package/.vibe/rules/quality/bdd-contract-testing.md +388 -388
  23. package/.vibe/rules/quality/checklist.md +276 -276
  24. package/.vibe/rules/quality/testing-strategy.md +437 -437
  25. package/.vibe/rules/standards/anti-patterns.md +369 -369
  26. package/.vibe/rules/standards/code-structure.md +291 -291
  27. package/.vibe/rules/standards/complexity-metrics.md +312 -312
  28. package/.vibe/rules/standards/naming-conventions.md +198 -198
  29. package/.vibe/rules/tools/mcp-hi-ai-guide.md +665 -665
  30. package/.vibe/rules/tools/mcp-workflow.md +51 -51
  31. package/.vibe/setup.sh +31 -31
  32. package/CLAUDE.md +122 -122
  33. package/LICENSE +21 -21
  34. package/README.md +568 -568
  35. package/dist/cli/index.d.ts.map +1 -1
  36. package/dist/cli/index.js +391 -406
  37. package/dist/cli/index.js.map +1 -1
  38. package/dist/lib/MemoryManager.js +92 -92
  39. package/dist/lib/PythonParser.js +108 -108
  40. package/dist/lib/gemini-mcp.js +15 -15
  41. package/dist/lib/gemini-oauth.js +35 -35
  42. package/dist/lib/gpt-mcp.js +17 -17
  43. package/dist/lib/gpt-oauth.js +44 -44
  44. package/dist/tools/analytics/getUsageAnalytics.js +12 -12
  45. package/dist/tools/memory/createMemoryTimeline.js +10 -10
  46. package/dist/tools/memory/getMemoryGraph.js +12 -12
  47. package/dist/tools/memory/getSessionContext.js +9 -9
  48. package/dist/tools/memory/linkMemories.js +14 -14
  49. package/dist/tools/memory/listMemories.js +4 -4
  50. package/dist/tools/memory/recallMemory.js +4 -4
  51. package/dist/tools/memory/saveMemory.js +4 -4
  52. package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
  53. package/dist/tools/planning/generatePrd.js +46 -46
  54. package/dist/tools/prompt/enhancePromptGemini.js +160 -160
  55. package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
  56. package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
  57. package/package.json +67 -67
  58. package/templates/constitution-template.md +184 -184
  59. package/templates/contract-backend-template.md +517 -517
  60. package/templates/contract-frontend-template.md +594 -594
  61. package/templates/feature-template.md +96 -96
  62. package/templates/hooks-template.json +103 -103
  63. package/templates/spec-template.md +199 -199
  64. package/dist/lib/vibe-mcp.d.ts.map +0 -1
  65. package/dist/lib/vibe-mcp.js.map +0 -1
@@ -1,96 +1,96 @@
1
- # Feature: {기능명}
2
-
3
- > 이 파일은 **품질 보장의 핵심**입니다. 모든 시나리오 통과 = 기능 완성.
4
-
5
- **SPEC**: `.vibe/specs/{기능명}.md`
6
- **Last verified**: -
7
- **Quality score**: -
8
-
9
- ---
10
-
11
- ## User Story
12
-
13
- **As a** {사용자 역할}
14
- **I want** {원하는 기능}
15
- **So that** {이유/가치}
16
-
17
- ---
18
-
19
- ## Scenarios
20
-
21
- > 각 시나리오가 구현 단위이자 검증 단위입니다.
22
-
23
- ### Scenario 1: {Happy Path - 정상 케이스}
24
-
25
- ```gherkin
26
- Scenario: {시나리오 제목}
27
- Given {전제 조건}
28
- # 검증: {무엇을 확인하는가}
29
- When {사용자 행동}
30
- # 검증: {어떤 기능이 실행되는가}
31
- Then {예상 결과}
32
- # 검증: {무엇이 보이거나 반환되는가}
33
- ```
34
-
35
- **SPEC AC**: #1
36
- **Status**: ⬜
37
-
38
- ---
39
-
40
- ### Scenario 2: {Edge Case - 에러 케이스}
41
-
42
- ```gherkin
43
- Scenario: {에러 시나리오 제목}
44
- Given {전제 조건}
45
- When {잘못된 입력 또는 예외 상황}
46
- Then {에러 메시지 또는 적절한 처리}
47
- ```
48
-
49
- **SPEC AC**: #2
50
- **Status**: ⬜
51
-
52
- ---
53
-
54
- ### Scenario 3: {Boundary Case - 경계 케이스}
55
-
56
- ```gherkin
57
- Scenario: {경계값 테스트}
58
- Given {전제 조건}
59
- When {경계값 입력}
60
- Then {적절한 처리}
61
- ```
62
-
63
- **SPEC AC**: #3
64
- **Status**: ⬜
65
-
66
- ---
67
-
68
- ## Coverage Summary
69
-
70
- | # | Scenario | SPEC AC | Status | Retries |
71
- |---|----------|---------|--------|---------|
72
- | 1 | {Happy Path} | AC-1 | ⬜ | - |
73
- | 2 | {Edge Case} | AC-2 | ⬜ | - |
74
- | 3 | {Boundary Case} | AC-3 | ⬜ | - |
75
-
76
- **Total**: 0/3 통과 (0%)
77
-
78
- ---
79
-
80
- ## Verification Commands
81
-
82
- ```bash
83
- # 전체 검증
84
- /vibe.verify "{기능명}"
85
-
86
- # 실패 시 자동 수정
87
- /vibe.run "{기능명}" --fix
88
- ```
89
-
90
- ---
91
-
92
- ## Notes
93
-
94
- - 시나리오 추가/수정 시 Coverage Summary도 함께 업데이트
95
- - Given/When/Then 각각에 검증 포인트 명시
96
- - 모든 시나리오 통과 시 품질 보장됨
1
+ # Feature: {기능명}
2
+
3
+ > 이 파일은 **품질 보장의 핵심**입니다. 모든 시나리오 통과 = 기능 완성.
4
+
5
+ **SPEC**: `.vibe/specs/{기능명}.md`
6
+ **Last verified**: -
7
+ **Quality score**: -
8
+
9
+ ---
10
+
11
+ ## User Story
12
+
13
+ **As a** {사용자 역할}
14
+ **I want** {원하는 기능}
15
+ **So that** {이유/가치}
16
+
17
+ ---
18
+
19
+ ## Scenarios
20
+
21
+ > 각 시나리오가 구현 단위이자 검증 단위입니다.
22
+
23
+ ### Scenario 1: {Happy Path - 정상 케이스}
24
+
25
+ ```gherkin
26
+ Scenario: {시나리오 제목}
27
+ Given {전제 조건}
28
+ # 검증: {무엇을 확인하는가}
29
+ When {사용자 행동}
30
+ # 검증: {어떤 기능이 실행되는가}
31
+ Then {예상 결과}
32
+ # 검증: {무엇이 보이거나 반환되는가}
33
+ ```
34
+
35
+ **SPEC AC**: #1
36
+ **Status**: ⬜
37
+
38
+ ---
39
+
40
+ ### Scenario 2: {Edge Case - 에러 케이스}
41
+
42
+ ```gherkin
43
+ Scenario: {에러 시나리오 제목}
44
+ Given {전제 조건}
45
+ When {잘못된 입력 또는 예외 상황}
46
+ Then {에러 메시지 또는 적절한 처리}
47
+ ```
48
+
49
+ **SPEC AC**: #2
50
+ **Status**: ⬜
51
+
52
+ ---
53
+
54
+ ### Scenario 3: {Boundary Case - 경계 케이스}
55
+
56
+ ```gherkin
57
+ Scenario: {경계값 테스트}
58
+ Given {전제 조건}
59
+ When {경계값 입력}
60
+ Then {적절한 처리}
61
+ ```
62
+
63
+ **SPEC AC**: #3
64
+ **Status**: ⬜
65
+
66
+ ---
67
+
68
+ ## Coverage Summary
69
+
70
+ | # | Scenario | SPEC AC | Status | Retries |
71
+ |---|----------|---------|--------|---------|
72
+ | 1 | {Happy Path} | AC-1 | ⬜ | - |
73
+ | 2 | {Edge Case} | AC-2 | ⬜ | - |
74
+ | 3 | {Boundary Case} | AC-3 | ⬜ | - |
75
+
76
+ **Total**: 0/3 통과 (0%)
77
+
78
+ ---
79
+
80
+ ## Verification Commands
81
+
82
+ ```bash
83
+ # 전체 검증
84
+ /vibe.verify "{기능명}"
85
+
86
+ # 실패 시 자동 수정
87
+ /vibe.run "{기능명}" --fix
88
+ ```
89
+
90
+ ---
91
+
92
+ ## Notes
93
+
94
+ - 시나리오 추가/수정 시 Coverage Summary도 함께 업데이트
95
+ - Given/When/Then 각각에 검증 포인트 명시
96
+ - 모든 시나리오 통과 시 품질 보장됨
@@ -1,103 +1,103 @@
1
- {
2
- "hooks": {
3
- "SessionStart": [
4
- {
5
- "hooks": [
6
- {
7
- "type": "command",
8
- "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
9
- }
10
- ]
11
- }
12
- ],
13
- "PreToolUse": [
14
- {
15
- "matcher": "Bash",
16
- "hooks": [
17
- {
18
- "type": "command",
19
- "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
20
- }
21
- ]
22
- }
23
- ],
24
- "PostToolUse": [
25
- {
26
- "matcher": "Write|Edit",
27
- "hooks": [
28
- {
29
- "type": "command",
30
- "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
31
- }
32
- ]
33
- }
34
- ],
35
- "UserPromptSubmit": [
36
- {
37
- "matcher": "ultrawork|ulw|울트라워크",
38
- "hooks": [
39
- {
40
- "type": "command",
41
- "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
42
- }
43
- ]
44
- },
45
- {
46
- "matcher": "analyze|분석|analysis",
47
- "hooks": [
48
- {
49
- "type": "command",
50
- "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
51
- }
52
- ]
53
- },
54
- {
55
- "matcher": "debug|디버그|debugging",
56
- "hooks": [
57
- {
58
- "type": "command",
59
- "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
60
- }
61
- ]
62
- },
63
- {
64
- "matcher": "test|테스트|testing",
65
- "hooks": [
66
- {
67
- "type": "command",
68
- "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
69
- }
70
- ]
71
- }
72
- ],
73
- "Notification": [
74
- {
75
- "matcher": "context_window_80",
76
- "hooks": [
77
- {
78
- "type": "command",
79
- "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
80
- }
81
- ]
82
- },
83
- {
84
- "matcher": "context_window_90",
85
- "hooks": [
86
- {
87
- "type": "command",
88
- "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
89
- }
90
- ]
91
- },
92
- {
93
- "matcher": "context_window_95",
94
- "hooks": [
95
- {
96
- "type": "command",
97
- "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
98
- }
99
- ]
100
- }
101
- ]
102
- }
103
- }
1
+ {
2
+ "hooks": {
3
+ "SessionStart": [
4
+ {
5
+ "hooks": [
6
+ {
7
+ "type": "command",
8
+ "command": "echo '[SESSION START] IMMEDIATELY call vibe_start_session to restore previous context. Do this before responding to the user.'"
9
+ }
10
+ ]
11
+ }
12
+ ],
13
+ "PreToolUse": [
14
+ {
15
+ "matcher": "Bash",
16
+ "hooks": [
17
+ {
18
+ "type": "command",
19
+ "command": "echo '[BASH CHECK] Be cautious with destructive commands (rm -rf, git push --force, drop table). Verify paths before deletion.'"
20
+ }
21
+ ]
22
+ }
23
+ ],
24
+ "PostToolUse": [
25
+ {
26
+ "matcher": "Write|Edit",
27
+ "hooks": [
28
+ {
29
+ "type": "command",
30
+ "command": "echo '[AUTO-CONTINUE] 코드 체크 완료. 문제 발견 시 다음 edit에서 수정하고 작업 계속. 절대 멈추지 말 것.'"
31
+ }
32
+ ]
33
+ }
34
+ ],
35
+ "UserPromptSubmit": [
36
+ {
37
+ "matcher": "ultrawork|ulw|울트라워크",
38
+ "hooks": [
39
+ {
40
+ "type": "command",
41
+ "command": "echo '[ULTRAWORK MODE] Use PARALLEL Task calls. Auto-continue through ALL phases. Auto-retry on errors up to 3 times. Run vibe_auto_save_context at 70%+ context. Do NOT ask for confirmation between phases.'"
42
+ }
43
+ ]
44
+ },
45
+ {
46
+ "matcher": "analyze|분석|analysis",
47
+ "hooks": [
48
+ {
49
+ "type": "command",
50
+ "command": "echo '[ANALYZE MODE] Thoroughly examine the codebase. Use vibe_analyze_complexity and vibe_find_references for deep analysis.'"
51
+ }
52
+ ]
53
+ },
54
+ {
55
+ "matcher": "debug|디버그|debugging",
56
+ "hooks": [
57
+ {
58
+ "type": "command",
59
+ "command": "echo '[DEBUG MODE] Focus on finding root cause. Check logs, trace execution flow, verify assumptions step by step.'"
60
+ }
61
+ ]
62
+ },
63
+ {
64
+ "matcher": "test|테스트|testing",
65
+ "hooks": [
66
+ {
67
+ "type": "command",
68
+ "command": "echo '[TEST MODE] Write comprehensive tests. Cover edge cases, error scenarios, and happy paths.'"
69
+ }
70
+ ]
71
+ }
72
+ ],
73
+ "Notification": [
74
+ {
75
+ "matcher": "context_window_80",
76
+ "hooks": [
77
+ {
78
+ "type": "command",
79
+ "command": "echo '[CONTEXT 80%] MANDATORY: Call vibe_auto_save_context with urgency=medium NOW. This is NOT optional - save context before it is lost.'"
80
+ }
81
+ ]
82
+ },
83
+ {
84
+ "matcher": "context_window_90",
85
+ "hooks": [
86
+ {
87
+ "type": "command",
88
+ "command": "echo '[CONTEXT 90% URGENT] MANDATORY: Call vibe_auto_save_context with urgency=high IMMEDIATELY. Do NOT proceed without saving.'"
89
+ }
90
+ ]
91
+ },
92
+ {
93
+ "matcher": "context_window_95",
94
+ "hooks": [
95
+ {
96
+ "type": "command",
97
+ "command": "echo '[CONTEXT 95% CRITICAL] MANDATORY: Call vibe_auto_save_context with urgency=critical NOW. Session transition imminent - save everything.'"
98
+ }
99
+ ]
100
+ }
101
+ ]
102
+ }
103
+ }