dev: add /bug-hunt skill for instrumentation e2e testing#84
dev: add /bug-hunt skill for instrumentation e2e testing#84sohankshirsagar merged 5 commits intomainfrom
Conversation
|
No tests generated Tip New to Tusk Unit Tests? Learn more here. No symbols were selected for unit test generation because the code changes are limited to documentation/configuration updates, |
There was a problem hiding this comment.
3 issues found across 2 files
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name=".claude/commands/bug-hunt.md">
<violation number="1" location=".claude/commands/bug-hunt.md:221">
P1: Use the parsed library variable (not full `$ARGUMENTS`) when changing into the e2e directory; optional focus text can break the path.</violation>
<violation number="2" location=".claude/commands/bug-hunt.md:429">
P1: `git add` should target the parsed library directory, not `$ARGUMENTS`, to avoid invalid paths when focus context is provided.</violation>
<violation number="3" location=".claude/commands/bug-hunt.md:436">
P2: Push should use the same library-based branch name format as branch creation; using `$ARGUMENTS` can produce an invalid or mismatched branch.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
There was a problem hiding this comment.
1 issue found across 5 files (changes from recent commits).
Prompt for AI agents (unresolved issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="drift/instrumentation/e2e_common/base_runner.py">
<violation number="1" location="drift/instrumentation/e2e_common/base_runner.py:300">
P3: Debug output now says `tusk drift run`, but the code still executes `tusk run`. This mismatch makes failure logs misleading during e2e debugging.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.


Adds a
/bug-huntClaude Code skill that automates finding gaps in instrumentation code by writing and running e2e tests through the DISABLED → RECORD → REPLAY cycle.Usage:
/bug-hunt <library> [focus on area - optional]