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
Copy file name to clipboardExpand all lines: .claude/commands/bug-hunt.md
+7-7Lines changed: 7 additions & 7 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ $ARGUMENTS - The library name, optionally followed by focus context.
12
12
-`/bug-hunt redis focus on pub sub interactions` — prioritize pub/sub patterns
13
13
-`/bug-hunt psycopg2 focus on async cursors and connection pooling` — prioritize those areas
14
14
15
-
**Parsing**: The first word is always the library name. Everything after it is the optional focus context.
15
+
**Parsing**: The first word of `$ARGUMENTS`is always the library name. Everything after it is the optional focus context. All references to `<library>` below mean this parsed first word — NOT the raw `$ARGUMENTS` string.
16
16
17
17
## Library-to-GitHub-Repo Mapping
18
18
@@ -185,11 +185,11 @@ Produce a prioritized list of potential bugs to investigate.
185
185
Create `BUG_TRACKING.md` in the e2e test directory:
|`RECORD`| Records traces for all instrumented operations | Set this in environments where you want to capture API traces (e.g., staging, production) |
14
-
|`REPLAY`| Replays previously recorded traces | Automatically set by the Tusk CLI when running `tusk run` - you should NOT set this manually |
14
+
|`REPLAY`| Replays previously recorded traces | Automatically set by the Tusk CLI when running `tusk drift run` - you should NOT set this manually |
15
15
|`DISABLED`| Disables all instrumentation and recording | Use when you want to completely disable Tusk with no performance impact |
16
16
| Unset | Same as `DISABLED` - no instrumentation or recording | Default state when the variable is not set |
17
17
@@ -25,7 +25,7 @@ The `TUSK_DRIFT_MODE` environment variable controls how the SDK operates in your
25
25
26
26
**Replaying Traces:**
27
27
28
-
-`TUSK_DRIFT_MODE` is automatically set to `REPLAY` by the Tusk CLI when you run `tusk run`
28
+
-`TUSK_DRIFT_MODE` is automatically set to `REPLAY` by the Tusk CLI when you run `tusk drift run`
29
29
-**Do NOT** manually set `TUSK_DRIFT_MODE=REPLAY` in your application startup commands
30
30
- The start command specified in your `.tusk/config.yaml` should NOT cause `TUSK_DRIFT_MODE` to be set to anything - the CLI handles this automatically
31
31
@@ -61,7 +61,7 @@ start_command: "python app.py" # Do NOT include TUSK_DRIFT_MODE here
61
61
62
62
```bash
63
63
# The CLI automatically sets TUSK_DRIFT_MODE=REPLAY
64
-
tusk run
64
+
tusk drift run
65
65
```
66
66
67
67
**Disabling Tusk:**
@@ -99,7 +99,7 @@ Your Tusk Drift API key, required when using Tusk Cloud for storing and managing
99
99
- Can be set as an environment variable:
100
100
101
101
```bash
102
-
TUSK_API_KEY=your-api-key-here tusk run
102
+
TUSK_API_KEY=your-api-key-here tusk drift run
103
103
```
104
104
105
105
- Or use the Tusk CLI login command (recommended):
0 commit comments