Skip to content

dev: add /bug-hunt skill for instrumentation e2e testing#84

Merged
sohankshirsagar merged 5 commits intomainfrom
sohan/bug-hunting-skill
Mar 24, 2026
Merged

dev: add /bug-hunt skill for instrumentation e2e testing#84
sohankshirsagar merged 5 commits intomainfrom
sohan/bug-hunting-skill

Conversation

@sohankshirsagar
Copy link
Contributor

@sohankshirsagar sohankshirsagar commented Mar 24, 2026

Adds a /bug-hunt Claude 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]

@tusk-dev
Copy link

tusk-dev bot commented Mar 24, 2026

No tests generated

View output

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, .gitignore modifications, and simple command string replacements in base_runner.py. These updates do not introduce new logic, algorithms, or behavior, and testing would only verify string literals, which provides negligible value for unit testing.

View check history

Commit Status Output Created (UTC)
f5d2b1e No tests generated Output Mar 24, 2026 10:57PM
adeac9a No tests generated Output Mar 24, 2026 11:15PM
838ae93 No tests generated Output Mar 24, 2026 11:23PM
1e3f40d No tests generated Output Mar 24, 2026 11:30PM

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 2 potential issues.

Fix All in Cursor

Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.

Copy link

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@sohankshirsagar sohankshirsagar changed the title dev: add /bug-hunt slash command for instrumentation e2e testing dev: add /bug-hunt skill for instrumentation e2e testing Mar 24, 2026
@sohankshirsagar sohankshirsagar merged commit 13c3f06 into main Mar 24, 2026
27 checks passed
@sohankshirsagar sohankshirsagar deleted the sohan/bug-hunting-skill branch March 24, 2026 23:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants