Skip to main content
Blame isn’t just a static review bot. Developers can converse with Blame directly within GitHub pull request discussion threads and inline diff comment threads by tagging @blame or using slash commands. Whether you need clarification on a suggested fix, want to ask how a diff interacts with a legacy backend service, or want to trigger a fresh review run, Blame responds natively in your GitHub conversation.
Group 5 1

Conversing with @blame on GitHub

You can tag @blame anywhere on GitHub pull requests:
  1. Top-Level PR Discussion Comments (issue_comment): Ask high-level architectural questions about the overall pull request.
  2. Inline Diff Threads (pull_request_review_comment): Ask specific questions anchored to a file path, line number, or diff hunk.

How Blame Resolves PR Context

When you tag @blame, Blame’s webhook handler reconstructs the full context surrounding your comment before invoking the chat agent:

Context Elements Passed to the Agent

  • Exact File & Line: Identifies the specific file path (comment.path) and line number (comment.line).
  • Diff Hunk: Provides the surrounding lines of added/removed code (comment.diff_hunk).
  • Thread History: Pulls the last 5 comments from the thread so multi-turn conversations stay coherent.
  • Codebase Index: The agent queries the repository’s Tree-sitter vector graph to check definitions across other files.

Available Slash Commands

You can execute review actions directly by posting slash commands in the PR comment box:

Inline Thread Discussions

When Blame leaves an inline finding with a 1-click suggestion, developers can reply directly in that comment thread to debate or refine the solution:
Blame evaluates the comment, inspects your cache fallback utility in the codebase graph, and replies with a hardened snippet directly in the same thread.

Webhook Security & Execution Flow

  • Zero Polling: Blame listens asynchronously to GitHub issue_comment and pull_request_review_comment events via signed HMAC webhooks (x-hub-signature-256).
  • Installation Scoping: Permissions and repository access tokens are automatically verified using the GitHub App installation credentials for your workspace.
  • Fast Response: Chat agent reasoning is queued immediately to deliver replies back to GitHub within seconds.