@simplysm/sd-claude 13.0.47 → 13.0.49
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.
|
@@ -63,11 +63,12 @@ You MUST complete each phase before proceeding to the next.
|
|
|
63
63
|
- Does it happen every time?
|
|
64
64
|
- If not reproducible → gather more data, don't guess
|
|
65
65
|
|
|
66
|
-
3. **
|
|
67
|
-
-
|
|
68
|
-
-
|
|
69
|
-
-
|
|
70
|
-
-
|
|
66
|
+
3. **Read the Source Code Directly**
|
|
67
|
+
- Read the actual code where the bug manifests
|
|
68
|
+
- Understand what the code does line by line
|
|
69
|
+
- Walk through the logic with the failing input mentally
|
|
70
|
+
- Do NOT run `git diff` or `git log` — diffs show WHAT changed, not WHY it's broken
|
|
71
|
+
- The bug is in the code as it exists NOW; analyze the code as-is
|
|
71
72
|
|
|
72
73
|
4. **Gather Evidence in Multi-Component Systems**
|
|
73
74
|
|
|
@@ -224,6 +225,7 @@ If you catch yourself thinking:
|
|
|
224
225
|
- "Pattern says X but I'll adapt it differently"
|
|
225
226
|
- "Here are the main problems: [lists fixes without investigation]"
|
|
226
227
|
- Proposing solutions before tracing data flow
|
|
228
|
+
- "Let me check git diff/log to see what changed"
|
|
227
229
|
- **"One more fix attempt" (when already tried 2+)**
|
|
228
230
|
- **Each fix reveals new problem in different place**
|
|
229
231
|
|
|
@@ -253,13 +255,14 @@ If you catch yourself thinking:
|
|
|
253
255
|
| "Multiple fixes at once saves time" | Can't isolate what worked. Causes new bugs. |
|
|
254
256
|
| "Reference too long, I'll adapt the pattern" | Partial understanding guarantees bugs. Read it completely. |
|
|
255
257
|
| "I see the problem, let me fix it" | Seeing symptoms ≠ understanding root cause. |
|
|
258
|
+
| "Let me check git diff to see what changed" | Diff shows WHAT changed, not WHY it's broken. Read the code as-is. |
|
|
256
259
|
| "One more fix attempt" (after 2+ failures) | 3+ failures = architectural problem. Question pattern, don't fix again. |
|
|
257
260
|
|
|
258
261
|
## Quick Reference
|
|
259
262
|
|
|
260
263
|
| Phase | Key Activities | Success Criteria |
|
|
261
264
|
|-------|---------------|------------------|
|
|
262
|
-
| **1. Root Cause** | Read errors, reproduce,
|
|
265
|
+
| **1. Root Cause** | Read errors, reproduce, read source code, gather evidence | Understand WHAT and WHY |
|
|
263
266
|
| **2. Pattern** | Find working examples, compare | Identify differences |
|
|
264
267
|
| **3. Hypothesis** | Form theory, test minimally | Confirmed or new hypothesis |
|
|
265
268
|
| **4. Implementation** | Create test, fix, verify | Bug resolved, tests pass |
|
|
@@ -46,7 +46,7 @@ switch (cmd) {
|
|
|
46
46
|
const branch = getMainBranch();
|
|
47
47
|
console.log(`Creating worktree: .worktrees/${name} (from ${branch})`);
|
|
48
48
|
run(`git worktree add "${worktreePath}" -b "${name}"`);
|
|
49
|
-
console.log("Installing dependencies...")
|
|
49
|
+
console.log("Installing dependencies...");
|
|
50
50
|
run("pnpm install", { cwd: worktreePath });
|
|
51
51
|
console.log(`\nReady: ${worktreePath}`);
|
|
52
52
|
break;
|