Skip to content

Black Friday

Annual Pro is $90 for the first year, normally $120. Or start monthly at $6 for two months, then $12.

Ends Dec 4, 11:59 PM PT.

Create an account
← Public packages

@kody/bugbot

Trigger Cursor Bugbot on a PR as the Cursor-linked GitHub account. Never comment bugbot run as a bot.

FollowFork

Files

README.md

23 lines · 1.5 KB · Markdown

@kody/bugbot

Intent

Trigger Cursor Bugbot on a pull request as the GitHub account linked to your Cursor account, never as a bot.

Comments of bugbot run from a bot identity (for example kody-bot) are skipped by Cursor. This package posts the trigger comment through the github credential slot, after checking that the credential belongs to the cursorLogin you pass. Call it instead of commenting yourself.

Success is a top-level PR comment bugbot run (or bugbot run verbose=true) authored by cursorLogin.

PR author must be cursorLogin. Cursor Bugbot ties the run to the GitHub account linked to the Cursor account that posts the trigger, so it only runs when the PR author is that same account. For PRs authored by Devin or another bot, the package returns { posted: false, code: 'github_account_mismatch' } and does not post a comment that would never produce a review.

Prerequisites / setup

  1. Map this package's github credential slot (from @kody/github) to a GitHub credential for the Cursor-linked account, not a bot.
  2. Agents: import paths and the dry-run smoke check are in AGENTS.md.

Done when

  • dryRun: true resolves the identity and the PR without posting
  • A live call posts a top-level bugbot run comment as cursorLogin when the PR author is cursorLogin
  • Other PR authors return posted: false and code: 'github_account_mismatch' without posting
  • A bot cursorLogin, or a credential for a different login, is refused before any request that writes