@su-record/vibe 2.3.0 → 2.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.
- package/.claude/settings.json +35 -35
- package/.claude/settings.local.json +24 -25
- package/.claude/vibe/constitution.md +184 -184
- package/.claude/vibe/rules/core/communication-guide.md +104 -104
- package/.claude/vibe/rules/core/development-philosophy.md +52 -52
- package/.claude/vibe/rules/core/quick-start.md +120 -120
- package/.claude/vibe/rules/languages/dart-flutter.md +509 -509
- package/.claude/vibe/rules/languages/go.md +396 -396
- package/.claude/vibe/rules/languages/java-spring.md +586 -586
- package/.claude/vibe/rules/languages/kotlin-android.md +491 -491
- package/.claude/vibe/rules/languages/python-django.md +371 -371
- package/.claude/vibe/rules/languages/python-fastapi.md +386 -386
- package/.claude/vibe/rules/languages/rust.md +425 -425
- package/.claude/vibe/rules/languages/swift-ios.md +516 -516
- package/.claude/vibe/rules/languages/typescript-nextjs.md +441 -441
- package/.claude/vibe/rules/languages/typescript-node.md +375 -375
- package/.claude/vibe/rules/languages/typescript-nuxt.md +521 -521
- package/.claude/vibe/rules/languages/typescript-react-native.md +446 -446
- package/.claude/vibe/rules/languages/typescript-react.md +525 -525
- package/.claude/vibe/rules/languages/typescript-vue.md +353 -353
- package/.claude/vibe/rules/quality/bdd-contract-testing.md +388 -388
- package/.claude/vibe/rules/quality/checklist.md +276 -276
- package/.claude/vibe/rules/quality/testing-strategy.md +437 -437
- package/.claude/vibe/rules/standards/anti-patterns.md +369 -369
- package/.claude/vibe/rules/standards/code-structure.md +291 -291
- package/.claude/vibe/rules/standards/complexity-metrics.md +312 -312
- package/.claude/vibe/rules/standards/naming-conventions.md +198 -198
- package/.claude/vibe/setup.sh +31 -31
- package/.claude/vibe/templates/constitution-template.md +184 -184
- package/.claude/vibe/templates/contract-backend-template.md +517 -517
- package/.claude/vibe/templates/contract-frontend-template.md +594 -594
- package/.claude/vibe/templates/feature-template.md +96 -96
- package/.claude/vibe/templates/spec-template.md +199 -199
- package/CLAUDE.md +345 -323
- package/LICENSE +21 -21
- package/README.md +744 -724
- package/agents/compounder.md +261 -261
- package/agents/diagrammer.md +178 -178
- package/agents/e2e-tester.md +266 -266
- package/agents/explorer.md +48 -48
- package/agents/implementer.md +53 -53
- package/agents/research/best-practices-agent.md +139 -139
- package/agents/research/codebase-patterns-agent.md +147 -147
- package/agents/research/framework-docs-agent.md +181 -181
- package/agents/research/security-advisory-agent.md +167 -167
- package/agents/review/architecture-reviewer.md +107 -107
- package/agents/review/complexity-reviewer.md +116 -116
- package/agents/review/data-integrity-reviewer.md +88 -88
- package/agents/review/git-history-reviewer.md +103 -103
- package/agents/review/performance-reviewer.md +86 -86
- package/agents/review/python-reviewer.md +152 -152
- package/agents/review/rails-reviewer.md +139 -139
- package/agents/review/react-reviewer.md +144 -144
- package/agents/review/security-reviewer.md +80 -80
- package/agents/review/simplicity-reviewer.md +140 -140
- package/agents/review/test-coverage-reviewer.md +116 -116
- package/agents/review/typescript-reviewer.md +127 -127
- package/agents/searcher.md +54 -54
- package/agents/simplifier.md +119 -119
- package/agents/tester.md +49 -49
- package/agents/ui-previewer.md +137 -137
- package/commands/vibe.analyze.md +245 -180
- package/commands/vibe.reason.md +223 -183
- package/commands/vibe.review.md +200 -136
- package/commands/vibe.run.md +838 -836
- package/commands/vibe.spec.md +419 -383
- package/commands/vibe.utils.md +101 -101
- package/commands/vibe.verify.md +282 -241
- package/dist/cli/index.js +385 -385
- package/dist/lib/MemoryManager.d.ts.map +1 -1
- package/dist/lib/MemoryManager.js +119 -114
- package/dist/lib/MemoryManager.js.map +1 -1
- package/dist/lib/PythonParser.js +108 -108
- package/dist/lib/gemini-mcp.js +15 -15
- package/dist/lib/gemini-oauth.js +35 -35
- package/dist/lib/gpt-mcp.js +17 -17
- package/dist/lib/gpt-oauth.js +44 -44
- package/dist/tools/analytics/getUsageAnalytics.js +12 -12
- package/dist/tools/index.d.ts +50 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools/index.js +61 -0
- package/dist/tools/index.js.map +1 -0
- package/dist/tools/memory/createMemoryTimeline.js +10 -10
- package/dist/tools/memory/getMemoryGraph.js +12 -12
- package/dist/tools/memory/getSessionContext.js +9 -9
- package/dist/tools/memory/linkMemories.js +14 -14
- package/dist/tools/memory/listMemories.js +4 -4
- package/dist/tools/memory/recallMemory.js +4 -4
- package/dist/tools/memory/saveMemory.js +4 -4
- package/dist/tools/memory/searchMemoriesAdvanced.js +22 -22
- package/dist/tools/planning/generatePrd.js +46 -46
- package/dist/tools/prompt/enhancePromptGemini.js +160 -160
- package/dist/tools/reasoning/applyReasoningFramework.js +56 -56
- package/dist/tools/semantic/analyzeDependencyGraph.js +12 -12
- package/hooks/hooks.json +121 -103
- package/package.json +73 -69
- package/skills/git-worktree.md +178 -178
- package/skills/priority-todos.md +236 -236
package/commands/vibe.reason.md
CHANGED
|
@@ -1,183 +1,223 @@
|
|
|
1
|
-
---
|
|
2
|
-
description: Apply systematic reasoning framework to complex problems
|
|
3
|
-
argument-hint: "problem description"
|
|
4
|
-
---
|
|
5
|
-
|
|
6
|
-
# /vibe.reason
|
|
7
|
-
|
|
8
|
-
Apply 9-step reasoning framework to complex problems.
|
|
9
|
-
|
|
10
|
-
## Usage
|
|
11
|
-
|
|
12
|
-
```
|
|
13
|
-
/vibe.reason "problem description"
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## When to Use
|
|
17
|
-
|
|
18
|
-
1. **Complex bug debugging** - Root cause unclear, need systematic hypothesis verification
|
|
19
|
-
2. **Architecture design decisions** - Choose optimal option among several
|
|
20
|
-
3. **Performance optimization** - Bottleneck may be in multiple places
|
|
21
|
-
4. **Refactoring planning** - Systematically analyze legacy code complexity
|
|
22
|
-
5. **Requirements analysis** - Reconcile conflicting requirements
|
|
23
|
-
|
|
24
|
-
## 9-Step Reasoning Framework
|
|
25
|
-
|
|
26
|
-
### 1. Logical Dependencies and Constraints
|
|
27
|
-
- Check policies, rules, prerequisites
|
|
28
|
-
- Optimize task order (identify dependencies)
|
|
29
|
-
- Apply user constraints first
|
|
30
|
-
|
|
31
|
-
### 2. Risk Assessment
|
|
32
|
-
- Analyze action consequences
|
|
33
|
-
- Check rollback possibility
|
|
34
|
-
- Review compatibility, security, performance risks
|
|
35
|
-
|
|
36
|
-
### 3. Inductive Reasoning and Hypothesis Exploration
|
|
37
|
-
- Generate hypotheses about root cause
|
|
38
|
-
- Prioritize by likelihood
|
|
39
|
-
- Present verification method for each hypothesis
|
|
40
|
-
|
|
41
|
-
### 4. Result Evaluation and Adaptability
|
|
42
|
-
- Modify plan based on observations
|
|
43
|
-
- Generate new hypothesis when disproved
|
|
44
|
-
- Determine backtracking need
|
|
45
|
-
|
|
46
|
-
### 5. Information Availability
|
|
47
|
-
- Identify all available tools
|
|
48
|
-
- Reference relevant policy/rule documents
|
|
49
|
-
- Restore previous context
|
|
50
|
-
- Distinguish items needing user confirmation
|
|
51
|
-
|
|
52
|
-
### 6. Precision and Evidence
|
|
53
|
-
- Cite exact source when referencing policies
|
|
54
|
-
- Include filename:line when referencing code
|
|
55
|
-
- Provide exact metric numbers
|
|
56
|
-
|
|
57
|
-
### 7. Completeness
|
|
58
|
-
- Integrate all requirements, options, preferences
|
|
59
|
-
- Avoid premature conclusions
|
|
60
|
-
- Explore multiple alternatives
|
|
61
|
-
|
|
62
|
-
### 8. Persistence and Patience
|
|
63
|
-
- Intelligently retry temporary errors
|
|
64
|
-
- Solve problems through strategy changes
|
|
65
|
-
- Continue until all reasoning steps complete
|
|
66
|
-
|
|
67
|
-
### 9. Response Suppression
|
|
68
|
-
- Act only after reasoning complete
|
|
69
|
-
- Document reasoning process for complex decisions
|
|
70
|
-
- Ensure safety through step-by-step execution
|
|
71
|
-
|
|
72
|
-
## Output Format
|
|
73
|
-
|
|
74
|
-
```markdown
|
|
75
|
-
# Reasoning Framework Analysis
|
|
76
|
-
|
|
77
|
-
**Problem**: [problem description]
|
|
78
|
-
**Context**: [relevant information]
|
|
79
|
-
**Steps Applied**: 9/9
|
|
80
|
-
|
|
81
|
-
---
|
|
82
|
-
|
|
83
|
-
## 1. Logical Dependencies and Constraints
|
|
84
|
-
|
|
85
|
-
**Constraint Analysis**:
|
|
86
|
-
[analysis content]
|
|
87
|
-
|
|
88
|
-
---
|
|
89
|
-
|
|
90
|
-
## 2. Risk Assessment
|
|
91
|
-
|
|
92
|
-
**Risk Assessment**:
|
|
93
|
-
- Task type: [risk level]
|
|
94
|
-
- Rollback possibility: [assessment]
|
|
95
|
-
- Compatibility/Security/Performance risks
|
|
96
|
-
|
|
97
|
-
---
|
|
98
|
-
|
|
99
|
-
## 3. Inductive Reasoning and Hypothesis Exploration
|
|
100
|
-
|
|
101
|
-
**Hypothesis Generation**:
|
|
102
|
-
1. **Hypothesis 1**: [description] (Likelihood: High/Medium/Low)
|
|
103
|
-
- Evidence: [supporting evidence]
|
|
104
|
-
- Verification: [how to verify]
|
|
105
|
-
|
|
106
|
-
2. **Hypothesis 2**: ...
|
|
107
|
-
|
|
108
|
-
---
|
|
109
|
-
|
|
110
|
-
[Steps 4-9...]
|
|
111
|
-
|
|
112
|
-
---
|
|
113
|
-
|
|
114
|
-
## Summary
|
|
115
|
-
|
|
116
|
-
[Overall reasoning results summary and recommendations]
|
|
117
|
-
|
|
118
|
-
**Recommended Actions**:
|
|
119
|
-
1. Immediate: [low risk action]
|
|
120
|
-
2. Short-term: [medium priority]
|
|
121
|
-
3. Medium-term: [long-term fix]
|
|
122
|
-
```
|
|
123
|
-
|
|
124
|
-
## Example
|
|
125
|
-
|
|
126
|
-
```
|
|
127
|
-
User: /vibe.reason "After user login, profile page intermittently returns 500 error"
|
|
128
|
-
|
|
129
|
-
AI: Analyzing with 9-step reasoning framework...
|
|
130
|
-
|
|
131
|
-
# Reasoning Framework Analysis
|
|
132
|
-
|
|
133
|
-
**Problem**: Intermittent 500 error on profile page after login
|
|
134
|
-
**Context**: Intermittent occurrence, happens after successful login
|
|
135
|
-
|
|
136
|
-
## 1. Logical Dependencies and Constraints
|
|
137
|
-
|
|
138
|
-
**Constraint Analysis**:
|
|
139
|
-
- Policy/Rules: Need to check auth/authz system policies
|
|
140
|
-
- Task Order: Verify login -> session creation -> profile fetch order
|
|
141
|
-
- Prerequisites: Need to identify error reproduction conditions
|
|
142
|
-
|
|
143
|
-
## 3. Inductive Reasoning and Hypothesis Exploration
|
|
144
|
-
|
|
145
|
-
**Hypothesis Generation**:
|
|
146
|
-
1. **Hypothesis 1: Incomplete session data** (Likelihood: High)
|
|
147
|
-
- Evidence: Intermittent = timing issue or data consistency problem
|
|
148
|
-
- Verification: Add logging to session save logic
|
|
149
|
-
|
|
150
|
-
2. **Hypothesis 2: Async processing order issue** (Likelihood: Medium)
|
|
151
|
-
- Evidence: undefined = accessing data before load
|
|
152
|
-
- Verification: Check Promise chain, missing await
|
|
153
|
-
|
|
154
|
-
## Summary
|
|
155
|
-
|
|
156
|
-
**Key Findings**:
|
|
157
|
-
- Most likely cause: Incomplete session data
|
|
158
|
-
- Verification priority: 1) Session logging -> 2) Async review -> 3) DB check
|
|
159
|
-
|
|
160
|
-
**Recommended Actions**:
|
|
161
|
-
1. Immediate: Add detailed logging to session save/fetch
|
|
162
|
-
2. Short-term: Code review async processing
|
|
163
|
-
3. Medium-term: Strengthen session store monitoring
|
|
164
|
-
```
|
|
165
|
-
|
|
166
|
-
## Best Practices
|
|
167
|
-
|
|
168
|
-
1. **Describe problem specifically**
|
|
169
|
-
- Bad: "There's a bug"
|
|
170
|
-
- Good: "After login, profile page intermittently returns 500 error"
|
|
171
|
-
|
|
172
|
-
2. **Include context**
|
|
173
|
-
- Occurrence conditions (always? intermittent?)
|
|
174
|
-
- Relevant tech stack
|
|
175
|
-
- Solutions already tried
|
|
176
|
-
|
|
177
|
-
3. **Verify step by step**
|
|
178
|
-
- Verify hypotheses in order of likelihood
|
|
179
|
-
- Feedback each verification result
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
1
|
+
---
|
|
2
|
+
description: Apply systematic reasoning framework to complex problems
|
|
3
|
+
argument-hint: "problem description"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# /vibe.reason
|
|
7
|
+
|
|
8
|
+
Apply 9-step reasoning framework to complex problems.
|
|
9
|
+
|
|
10
|
+
## Usage
|
|
11
|
+
|
|
12
|
+
```
|
|
13
|
+
/vibe.reason "problem description"
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## When to Use
|
|
17
|
+
|
|
18
|
+
1. **Complex bug debugging** - Root cause unclear, need systematic hypothesis verification
|
|
19
|
+
2. **Architecture design decisions** - Choose optimal option among several
|
|
20
|
+
3. **Performance optimization** - Bottleneck may be in multiple places
|
|
21
|
+
4. **Refactoring planning** - Systematically analyze legacy code complexity
|
|
22
|
+
5. **Requirements analysis** - Reconcile conflicting requirements
|
|
23
|
+
|
|
24
|
+
## 9-Step Reasoning Framework
|
|
25
|
+
|
|
26
|
+
### 1. Logical Dependencies and Constraints
|
|
27
|
+
- Check policies, rules, prerequisites
|
|
28
|
+
- Optimize task order (identify dependencies)
|
|
29
|
+
- Apply user constraints first
|
|
30
|
+
|
|
31
|
+
### 2. Risk Assessment
|
|
32
|
+
- Analyze action consequences
|
|
33
|
+
- Check rollback possibility
|
|
34
|
+
- Review compatibility, security, performance risks
|
|
35
|
+
|
|
36
|
+
### 3. Inductive Reasoning and Hypothesis Exploration
|
|
37
|
+
- Generate hypotheses about root cause
|
|
38
|
+
- Prioritize by likelihood
|
|
39
|
+
- Present verification method for each hypothesis
|
|
40
|
+
|
|
41
|
+
### 4. Result Evaluation and Adaptability
|
|
42
|
+
- Modify plan based on observations
|
|
43
|
+
- Generate new hypothesis when disproved
|
|
44
|
+
- Determine backtracking need
|
|
45
|
+
|
|
46
|
+
### 5. Information Availability
|
|
47
|
+
- Identify all available tools
|
|
48
|
+
- Reference relevant policy/rule documents
|
|
49
|
+
- Restore previous context
|
|
50
|
+
- Distinguish items needing user confirmation
|
|
51
|
+
|
|
52
|
+
### 6. Precision and Evidence
|
|
53
|
+
- Cite exact source when referencing policies
|
|
54
|
+
- Include filename:line when referencing code
|
|
55
|
+
- Provide exact metric numbers
|
|
56
|
+
|
|
57
|
+
### 7. Completeness
|
|
58
|
+
- Integrate all requirements, options, preferences
|
|
59
|
+
- Avoid premature conclusions
|
|
60
|
+
- Explore multiple alternatives
|
|
61
|
+
|
|
62
|
+
### 8. Persistence and Patience
|
|
63
|
+
- Intelligently retry temporary errors
|
|
64
|
+
- Solve problems through strategy changes
|
|
65
|
+
- Continue until all reasoning steps complete
|
|
66
|
+
|
|
67
|
+
### 9. Response Suppression
|
|
68
|
+
- Act only after reasoning complete
|
|
69
|
+
- Document reasoning process for complex decisions
|
|
70
|
+
- Ensure safety through step-by-step execution
|
|
71
|
+
|
|
72
|
+
## Output Format
|
|
73
|
+
|
|
74
|
+
```markdown
|
|
75
|
+
# Reasoning Framework Analysis
|
|
76
|
+
|
|
77
|
+
**Problem**: [problem description]
|
|
78
|
+
**Context**: [relevant information]
|
|
79
|
+
**Steps Applied**: 9/9
|
|
80
|
+
|
|
81
|
+
---
|
|
82
|
+
|
|
83
|
+
## 1. Logical Dependencies and Constraints
|
|
84
|
+
|
|
85
|
+
**Constraint Analysis**:
|
|
86
|
+
[analysis content]
|
|
87
|
+
|
|
88
|
+
---
|
|
89
|
+
|
|
90
|
+
## 2. Risk Assessment
|
|
91
|
+
|
|
92
|
+
**Risk Assessment**:
|
|
93
|
+
- Task type: [risk level]
|
|
94
|
+
- Rollback possibility: [assessment]
|
|
95
|
+
- Compatibility/Security/Performance risks
|
|
96
|
+
|
|
97
|
+
---
|
|
98
|
+
|
|
99
|
+
## 3. Inductive Reasoning and Hypothesis Exploration
|
|
100
|
+
|
|
101
|
+
**Hypothesis Generation**:
|
|
102
|
+
1. **Hypothesis 1**: [description] (Likelihood: High/Medium/Low)
|
|
103
|
+
- Evidence: [supporting evidence]
|
|
104
|
+
- Verification: [how to verify]
|
|
105
|
+
|
|
106
|
+
2. **Hypothesis 2**: ...
|
|
107
|
+
|
|
108
|
+
---
|
|
109
|
+
|
|
110
|
+
[Steps 4-9...]
|
|
111
|
+
|
|
112
|
+
---
|
|
113
|
+
|
|
114
|
+
## Summary
|
|
115
|
+
|
|
116
|
+
[Overall reasoning results summary and recommendations]
|
|
117
|
+
|
|
118
|
+
**Recommended Actions**:
|
|
119
|
+
1. Immediate: [low risk action]
|
|
120
|
+
2. Short-term: [medium priority]
|
|
121
|
+
3. Medium-term: [long-term fix]
|
|
122
|
+
```
|
|
123
|
+
|
|
124
|
+
## Example
|
|
125
|
+
|
|
126
|
+
```
|
|
127
|
+
User: /vibe.reason "After user login, profile page intermittently returns 500 error"
|
|
128
|
+
|
|
129
|
+
AI: Analyzing with 9-step reasoning framework...
|
|
130
|
+
|
|
131
|
+
# Reasoning Framework Analysis
|
|
132
|
+
|
|
133
|
+
**Problem**: Intermittent 500 error on profile page after login
|
|
134
|
+
**Context**: Intermittent occurrence, happens after successful login
|
|
135
|
+
|
|
136
|
+
## 1. Logical Dependencies and Constraints
|
|
137
|
+
|
|
138
|
+
**Constraint Analysis**:
|
|
139
|
+
- Policy/Rules: Need to check auth/authz system policies
|
|
140
|
+
- Task Order: Verify login -> session creation -> profile fetch order
|
|
141
|
+
- Prerequisites: Need to identify error reproduction conditions
|
|
142
|
+
|
|
143
|
+
## 3. Inductive Reasoning and Hypothesis Exploration
|
|
144
|
+
|
|
145
|
+
**Hypothesis Generation**:
|
|
146
|
+
1. **Hypothesis 1: Incomplete session data** (Likelihood: High)
|
|
147
|
+
- Evidence: Intermittent = timing issue or data consistency problem
|
|
148
|
+
- Verification: Add logging to session save logic
|
|
149
|
+
|
|
150
|
+
2. **Hypothesis 2: Async processing order issue** (Likelihood: Medium)
|
|
151
|
+
- Evidence: undefined = accessing data before load
|
|
152
|
+
- Verification: Check Promise chain, missing await
|
|
153
|
+
|
|
154
|
+
## Summary
|
|
155
|
+
|
|
156
|
+
**Key Findings**:
|
|
157
|
+
- Most likely cause: Incomplete session data
|
|
158
|
+
- Verification priority: 1) Session logging -> 2) Async review -> 3) DB check
|
|
159
|
+
|
|
160
|
+
**Recommended Actions**:
|
|
161
|
+
1. Immediate: Add detailed logging to session save/fetch
|
|
162
|
+
2. Short-term: Code review async processing
|
|
163
|
+
3. Medium-term: Strengthen session store monitoring
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
## Best Practices
|
|
167
|
+
|
|
168
|
+
1. **Describe problem specifically**
|
|
169
|
+
- Bad: "There's a bug"
|
|
170
|
+
- Good: "After login, profile page intermittently returns 500 error"
|
|
171
|
+
|
|
172
|
+
2. **Include context**
|
|
173
|
+
- Occurrence conditions (always? intermittent?)
|
|
174
|
+
- Relevant tech stack
|
|
175
|
+
- Solutions already tried
|
|
176
|
+
|
|
177
|
+
3. **Verify step by step**
|
|
178
|
+
- Verify hypotheses in order of likelihood
|
|
179
|
+
- Feedback each verification result
|
|
180
|
+
|
|
181
|
+
## Vibe Tools (Reasoning Support)
|
|
182
|
+
|
|
183
|
+
### Tool Invocation
|
|
184
|
+
|
|
185
|
+
All tools are called via:
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
node -e "import('@su-record/vibe/tools').then(t => t.TOOL_NAME({...args}).then(r => console.log(r.content[0].text)))"
|
|
189
|
+
```
|
|
190
|
+
|
|
191
|
+
### Recommended Tools for Reasoning
|
|
192
|
+
|
|
193
|
+
| Tool | Purpose | When to Use |
|
|
194
|
+
|------|---------|-------------|
|
|
195
|
+
| `findSymbol` | Find symbol definitions | Locate potential problem areas |
|
|
196
|
+
| `findReferences` | Find all references | Trace data/control flow |
|
|
197
|
+
| `analyzeComplexity` | Complexity analysis | Identify high-risk complex code |
|
|
198
|
+
| `saveMemory` | Save reasoning progress | Store hypothesis verification results |
|
|
199
|
+
| `recallMemory` | Recall saved memory | Retrieve previous reasoning context |
|
|
200
|
+
|
|
201
|
+
### Example Tool Usage in Reasoning
|
|
202
|
+
|
|
203
|
+
**1. Find potential problem source:**
|
|
204
|
+
|
|
205
|
+
```bash
|
|
206
|
+
node -e "import('@su-record/vibe/tools').then(t => t.findSymbol({symbolName: 'getProfile', searchPath: 'src/'}).then(r => console.log(r.content[0].text)))"
|
|
207
|
+
```
|
|
208
|
+
|
|
209
|
+
**2. Trace references to understand flow:**
|
|
210
|
+
|
|
211
|
+
```bash
|
|
212
|
+
node -e "import('@su-record/vibe/tools').then(t => t.findReferences({symbolName: 'sessionData', searchPath: 'src/'}).then(r => console.log(r.content[0].text)))"
|
|
213
|
+
```
|
|
214
|
+
|
|
215
|
+
**3. Save hypothesis verification result:**
|
|
216
|
+
|
|
217
|
+
```bash
|
|
218
|
+
node -e "import('@su-record/vibe/tools').then(t => t.saveMemory({key: 'hypothesis-1-result', value: 'Session save timing issue confirmed - race condition in auth middleware', category: 'reasoning', projectPath: process.cwd()}).then(r => console.log(r.content[0].text)))"
|
|
219
|
+
```
|
|
220
|
+
|
|
221
|
+
---
|
|
222
|
+
|
|
223
|
+
ARGUMENTS: $ARGUMENTS
|