You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Scope**: Adds temporary debug logging to observe program state; cleans up all instrumentation after resolution. Does NOT execute code injection, security testing, or modify program behavior.
21
+
20
22
**Key enhancements over /workflow:debug**:
21
23
-**understanding.md**: Timeline of exploration and learning
22
24
-**Gemini-assisted correction**: Validates and corrects hypotheses
@@ -44,7 +46,7 @@ Explore Mode:
44
46
├─ Locate error source in codebase
45
47
├─ Document initial understanding in understanding.md
46
48
├─ Generate testable hypotheses with Gemini validation
47
-
├─ Add NDJSON logging instrumentation
49
+
├─ Add NDJSON debug logging statements
48
50
└─ Output: Hypothesis list + await user reproduction
49
51
50
52
Analyze Mode:
@@ -216,9 +218,9 @@ Save Gemini output to `hypotheses.json`:
216
218
}
217
219
```
218
220
219
-
**Step 1.4: Add NDJSON Instrumentation**
221
+
**Step 1.4: Add NDJSON Debug Logging**
220
222
221
-
For each hypothesis, add logging (same as original debug command).
223
+
For each hypothesis, add temporary logging statements to observe program state at key execution points. Use NDJSON format for structured log parsing. These are read-only observations that do not modify program behavior.
222
224
223
225
**Step 1.5: Update understanding.md**
224
226
@@ -441,7 +443,7 @@ What we learned from this debugging session:
441
443
442
444
**Step 3.3: Cleanup**
443
445
444
-
Remove debug instrumentation (same as original command).
446
+
Remove all temporary debug logging statements added during investigation. Verify no instrumentation code remains in production code.
445
447
446
448
---
447
449
@@ -647,7 +649,7 @@ Why is config value None during update?
0 commit comments