feat: Add @codebot changelog command for Keep a Changelog format generation #25

Merged
Latte merged 1 commits from feature/pr-changelog-generator into dev 2025-12-29 11:53:58 +00:00
8 changed files with 628 additions and 3 deletions
Showing only changes of commit 15beb0fb5b - Show all commits

View File

@@ -25,6 +25,7 @@ jobs:
!contains(github.event.comment.body, '@codebot suggest') && !contains(github.event.comment.body, '@codebot suggest') &&
!contains(github.event.comment.body, '@codebot security') && !contains(github.event.comment.body, '@codebot security') &&
!contains(github.event.comment.body, '@codebot summarize') && !contains(github.event.comment.body, '@codebot summarize') &&
!contains(github.event.comment.body, '@codebot changelog') &&
!contains(github.event.comment.body, '@codebot review-again') && !contains(github.event.comment.body, '@codebot review-again') &&
!contains(github.event.comment.body, '@codebot setup-labels') !contains(github.event.comment.body, '@codebot setup-labels')
runs-on: ubuntu-latest runs-on: ubuntu-latest

View File

@@ -1,7 +1,7 @@
name: AI Comment Reply name: AI Comment Reply
# WORKFLOW ROUTING: # WORKFLOW ROUTING:
# This workflow handles SPECIFIC commands: help, explain, suggest, security, summarize, review-again, setup-labels # This workflow handles SPECIFIC commands: help, explain, suggest, security, summarize, changelog, review-again, setup-labels
# Other workflows: ai-issue-triage.yml (@codebot triage), ai-chat.yml (free-form questions) # Other workflows: ai-issue-triage.yml (@codebot triage), ai-chat.yml (free-form questions)
on: on:
@@ -23,6 +23,7 @@ jobs:
contains(github.event.comment.body, '@codebot suggest') || contains(github.event.comment.body, '@codebot suggest') ||
contains(github.event.comment.body, '@codebot security') || contains(github.event.comment.body, '@codebot security') ||
contains(github.event.comment.body, '@codebot summarize') || contains(github.event.comment.body, '@codebot summarize') ||
contains(github.event.comment.body, '@codebot changelog') ||
contains(github.event.comment.body, '@codebot review-again') || contains(github.event.comment.body, '@codebot review-again') ||
contains(github.event.comment.body, '@codebot setup-labels')) contains(github.event.comment.body, '@codebot setup-labels'))
steps: steps:

View File

@@ -216,6 +216,7 @@ Prompts are stored in `tools/ai-review/prompts/` as Markdown files:
- `base.md` - Base instructions for all reviews - `base.md` - Base instructions for all reviews
- `pr_summary.md` - PR summary generation template - `pr_summary.md` - PR summary generation template
- `changelog.md` - Keep a Changelog format generation template
- `issue_triage.md` - Issue classification template - `issue_triage.md` - Issue classification template
- `issue_response.md` - Issue response template - `issue_response.md` - Issue response template
@@ -468,6 +469,70 @@ The PR summary feature automatically generates comprehensive summaries for pull
- Standardized documentation format - Standardized documentation format
- Pre-review context for reviewers - Pre-review context for reviewers
### PR Changelog Generation
The `@codebot changelog` command generates Keep a Changelog format entries from PR diffs.
**Key Features:**
- Generates structured changelog entries following Keep a Changelog format
- Categorizes changes: Added/Changed/Deprecated/Removed/Fixed/Security
- Automatically detects breaking changes
- Includes technical details (files changed, LOC, components)
- Output is ready to copy-paste into CHANGELOG.md
**Implementation Details:**
1. **Command Handler** - `PRAgent._handle_changelog_command()`:
- Triggered by `@codebot changelog` in PR comments
- Fetches PR title, description, and diff
- Loads `prompts/changelog.md` template
- Formats prompt with PR context
2. **LLM Analysis** - Generates structured JSON:
```json
{
"changelog": {
"added": ["New features"],
"changed": ["Changes to existing functionality"],
"fixed": ["Bug fixes"],
"security": ["Security fixes"]
},
"breaking_changes": ["Breaking changes"],
"technical_details": {
"files_changed": 15,
"insertions": 450,
"deletions": 120,
"main_components": ["auth/", "api/"]
}
}
```
3. **Formatting** - `_format_changelog()`:
- Converts JSON to Keep a Changelog markdown format
- Uses emojis for visual categorization (✨ Added, 🔄 Changed, 🐛 Fixed)
- Highlights breaking changes prominently
- Includes technical summary at the end
- Omits empty sections for clean output
4. **Prompt Engineering** - `prompts/changelog.md`:
- User-focused language (not developer jargon)
- Filters noise (formatting, typos, minor refactoring)
- Groups related changes
- Active voice, concise entries
- Maximum 100 characters per entry
**Common Use Cases:**
- Preparing release notes
- Maintaining CHANGELOG.md
- Customer-facing announcements
- Version documentation
**Workflow Safety:**
- Only triggers on PR comments (not issue comments)
- Included in ai-comment-reply.yml workflow conditions
- Excluded from ai-chat.yml to prevent duplicate runs
- No automatic triggering - manual command only
### Review-Again Command Implementation ### Review-Again Command Implementation
The `@codebot review-again` command allows manual re-triggering of PR reviews without new commits. The `@codebot review-again` command allows manual re-triggering of PR reviews without new commits.
@@ -525,6 +590,7 @@ Example commands:
- `@codebot explain` - Explain the issue - `@codebot explain` - Explain the issue
- `@codebot suggest` - Suggest solutions - `@codebot suggest` - Suggest solutions
- `@codebot summarize` - Generate PR summary or issue summary (works on both) - `@codebot summarize` - Generate PR summary or issue summary (works on both)
- `@codebot changelog` - Generate Keep a Changelog format entries (PR comments only)
- `@codebot setup-labels` - Automatic label setup (built-in, not in config) - `@codebot setup-labels` - Automatic label setup (built-in, not in config)
- `@codebot review-again` - Re-run PR review without new commits (PR comments only) - `@codebot review-again` - Re-run PR review without new commits (PR comments only)

View File

@@ -12,7 +12,7 @@ Enterprise-grade AI code review system for **Gitea** with automated PR review, i
| **PR Summaries** | Auto-generate comprehensive PR summaries with change analysis and impact assessment | | **PR Summaries** | Auto-generate comprehensive PR summaries with change analysis and impact assessment |
| **Issue Triage** | On-demand classification, labeling, priority assignment via `@codebot triage` | | **Issue Triage** | On-demand classification, labeling, priority assignment via `@codebot triage` |
| **Chat** | Interactive AI chat with codebase search and web search tools | | **Chat** | Interactive AI chat with codebase search and web search tools |
| **@codebot Commands** | `@codebot summarize`, `explain`, `suggest`, `triage`, `review-again` in comments | | **@codebot Commands** | `@codebot summarize`, `changelog`, `explain`, `suggest`, `triage`, `review-again` in comments |
| **Codebase Analysis** | Health scores, tech debt tracking, weekly reports | | **Codebase Analysis** | Health scores, tech debt tracking, weekly reports |
| **Security Scanner** | 17 OWASP-aligned rules for vulnerability detection | | **Security Scanner** | 17 OWASP-aligned rules for vulnerability detection |
| **Enterprise Ready** | Audit logging, metrics, Prometheus export | | **Enterprise Ready** | Audit logging, metrics, Prometheus export |
@@ -191,6 +191,7 @@ In any PR comment:
| Command | Description | | Command | Description |
|---------|-------------| |---------|-------------|
| `@codebot summarize` | Generate a comprehensive PR summary with changes, files affected, and impact | | `@codebot summarize` | Generate a comprehensive PR summary with changes, files affected, and impact |
| `@codebot changelog` | Generate Keep a Changelog format entries ready for CHANGELOG.md |
| `@codebot review-again` | Re-run AI code review on current PR state without new commits | | `@codebot review-again` | Re-run AI code review on current PR state without new commits |
#### PR Summary (`@codebot summarize`) #### PR Summary (`@codebot summarize`)
@@ -233,6 +234,53 @@ This PR implements automatic PR summary generation...
Adds new feature without affecting existing functionality Adds new feature without affecting existing functionality
``` ```
#### Changelog Generator (`@codebot changelog`)
**Features:**
- 📋 Generates Keep a Changelog format entries
- 🏷️ Categorizes changes (Added/Changed/Fixed/Removed/Security)
- ⚠️ Detects breaking changes automatically
- 📊 Includes technical details (files, LOC, components)
- 📝 Ready to copy-paste into CHANGELOG.md
**When to use:**
- Preparing release notes
- Maintaining CHANGELOG.md
- Customer-facing announcements
- Version documentation
**Example output:**
```markdown
## 📋 Changelog for PR #123
### ✨ Added
- User authentication system with JWT tokens
- Password reset functionality via email
### 🔄 Changed
- Updated database schema for user table
- Refactored login endpoint for better error handling
### 🐛 Fixed
- Session timeout bug causing premature logouts
- Security vulnerability in password validation
### 🔒 Security
- Fixed XSS vulnerability in user input validation
---
### ⚠️ BREAKING CHANGES
- **Removed legacy API endpoint /api/v1/old - migrate to /api/v2**
---
### 📊 Technical Details
- **Files changed:** 15
- **Lines:** +450 / -120
- **Main components:** auth/, api/users/, database/
```
#### Review Again (`@codebot review-again`) #### Review Again (`@codebot review-again`)
**Features:** **Features:**

View File

@@ -825,5 +825,232 @@ class TestPRSummaryGeneration:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "post_as_comment" in config["agents"]["pr"]["auto_summary"] assert "post_as_comment" in config["agents"]["pr"]["auto_summary"]
class TestChangelogGeneration:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test changelog generation functionality."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_changelog_prompt_exists(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Verify changelog.md prompt file exists."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
prompt_path = os.path.join(
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
os.path.dirname(__file__),
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"..",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"tools",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"ai-review",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"prompts",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changelog.md",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert os.path.exists(prompt_path), "changelog.md prompt file not found"
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_changelog_prompt_formatting(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test that changelog.md can be formatted with placeholders."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
prompt_path = os.path.join(
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
os.path.dirname(__file__),
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"..",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"tools",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"ai-review",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"prompts",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changelog.md",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
with open(prompt_path) as f:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
prompt = f.read()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Check for key elements
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "changelog" in prompt.lower()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "added" in prompt.lower()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "changed" in prompt.lower()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "fixed" in prompt.lower()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "breaking" in prompt.lower()
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "JSON" in prompt
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Should be able to format with pr_title and pr_description
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
try:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
formatted = prompt.format(
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
pr_title="Test PR Title", pr_description="Test PR Description"
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Test PR Title" in formatted
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Test PR Description" in formatted
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
except KeyError as e:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
pytest.fail(f"Prompt has unescaped placeholders: {e}")
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_pr_agent_can_handle_changelog_command(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test that PRAgent can handle @codebot changelog in PR comments."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
from agents.pr_agent import PRAgent
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
config = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"agents": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"pr": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"enabled": True,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"interaction": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"mention_prefix": "@codebot",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
agent = PRAgent(config=config)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Test changelog command in PR comment
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
event_data = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"action": "created",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"issue": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"number": 123,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"pull_request": {}, # Indicates this is a PR
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"comment": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"body": "@codebot changelog please",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert agent.can_handle("issue_comment", event_data) is True
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_pr_agent_can_handle_changelog_case_insensitive(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test that changelog command is case-insensitive."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
from agents.pr_agent import PRAgent
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
config = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"agents": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"pr": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"enabled": True,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"interaction": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"mention_prefix": "@codebot",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
agent = PRAgent(config=config)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Test various casings
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
for body in [
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"@codebot CHANGELOG",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"@codebot Changelog",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"@codebot ChAnGeLoG",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
]:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
event_data = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"action": "created",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"issue": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"number": 123,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"pull_request": {},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"comment": {"body": body},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert agent.can_handle("issue_comment", event_data) is True
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_pr_agent_ignores_changelog_on_non_pr(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test that changelog command is ignored on regular issues."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
from agents.pr_agent import PRAgent
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
config = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"agents": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"pr": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"enabled": True,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"interaction": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"mention_prefix": "@codebot",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
agent = PRAgent(config=config)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Regular issue (no pull_request field)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
event_data = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"action": "created",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"issue": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"number": 123,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# No pull_request field
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"comment": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"body": "@codebot changelog",
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert agent.can_handle("issue_comment", event_data) is False
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_format_changelog_structure(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test _format_changelog generates correct Keep a Changelog format."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
from agents.pr_agent import PRAgent
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
agent = PRAgent(config={})
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
changelog_data = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changelog": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"added": ["User authentication system", "Password reset feature"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changed": ["Updated database schema", "Refactored login endpoint"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"fixed": ["Session timeout bug", "Security vulnerability"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"security": ["Fixed XSS vulnerability in user input"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"breaking_changes": ["Removed legacy API endpoint /api/v1/old"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"technical_details": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"files_changed": 15,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"insertions": 450,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"deletions": 120,
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"main_components": ["auth/", "api/users/", "database/"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
result = agent._format_changelog(changelog_data, 123)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Verify structure
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "## 📋 Changelog for PR #123" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### ✨ Added" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "User authentication system" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🔄 Changed" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Updated database schema" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🐛 Fixed" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Session timeout bug" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🔒 Security" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Fixed XSS vulnerability" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### ⚠️ BREAKING CHANGES" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Removed legacy API endpoint" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 📊 Technical Details" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "Files changed:** 15" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "+450 / -120" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "auth/" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_format_changelog_empty_sections(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Test that empty sections are not included in output."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
from agents.pr_agent import PRAgent
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
agent = PRAgent(config={})
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
changelog_data = {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changelog": {
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"added": ["New feature"],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"changed": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"deprecated": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"removed": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"fixed": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"security": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"breaking_changes": [],
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"technical_details": {},
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
}
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
result = agent._format_changelog(changelog_data, 123)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
# Only Added section should be present
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### ✨ Added" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "New feature" in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🔄 Changed" not in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🗑️ Removed" not in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### 🐛 Fixed" not in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "### ⚠️ BREAKING CHANGES" not in result
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
def test_config_has_changelog_command(self):
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
"""Verify config.yml has changelog command."""
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
config_path = os.path.join(
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
os.path.dirname(__file__), "..", "tools", "ai-review", "config.yml"
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
import yaml
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
with open(config_path) as f:
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
config = yaml.safe_load(f)
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "interaction" in config
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "commands" in config["interaction"]
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
assert "changelog" in config["interaction"]["commands"]
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
if __name__ == "__main__": if __name__ == "__main__":
pytest.main([__file__, "-v"]) pytest.main([__file__, "-v"])
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.
Review

[LOW] Testing

The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures.

Recommendation: Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

**[LOW] Testing** The tests for changelog generation are comprehensive but do not include tests for error handling paths such as empty diffs or LLM failures. **Recommendation:** Add tests that simulate empty diffs and LLM call failures to verify error handling and user feedback.

View File

@@ -99,7 +99,8 @@ class PRAgent(BaseAgent):
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"{mention_prefix} review-again" in comment_body.lower() f"{mention_prefix} review-again" in comment_body.lower()
) )
has_summarize = f"{mention_prefix} summarize" in comment_body.lower() has_summarize = f"{mention_prefix} summarize" in comment_body.lower()
return is_pr and (has_review_again or has_summarize) has_changelog = f"{mention_prefix} changelog" in comment_body.lower()
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return is_pr and (has_review_again or has_summarize or has_changelog)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return False return False
@@ -113,6 +114,8 @@ class PRAgent(BaseAgent):
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
) )
if f"{mention_prefix} summarize" in comment_body.lower(): if f"{mention_prefix} summarize" in comment_body.lower():
return self._handle_summarize_command(context) return self._handle_summarize_command(context)
elif f"{mention_prefix} changelog" in comment_body.lower():
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return self._handle_changelog_command(context)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
elif f"{mention_prefix} review-again" in comment_body.lower(): elif f"{mention_prefix} review-again" in comment_body.lower():
return self._handle_review_again(context) return self._handle_review_again(context)
@@ -1021,3 +1024,190 @@ class PRAgent(BaseAgent):
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
message=f"Failed to generate PR summary for PR #{pr_number}", message=f"Failed to generate PR summary for PR #{pr_number}",
error="Summary generation failed", error="Summary generation failed",
) )
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
def _handle_changelog_command(self, context: AgentContext) -> AgentResult:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"""Handle @codebot changelog command from PR comments.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Generates Keep a Changelog format entries for the PR.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Args:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
context: Agent context with event data
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Returns:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
AgentResult with success status and actions taken
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"""
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
issue = context.event_data.get("issue", {})
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_number = issue.get("number")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
comment_author = (
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
context.event_data.get("comment", {}).get("user", {}).get("login", "user")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.logger.info(f"Generating changelog for PR #{pr_number} at user request")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
try:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Get PR data
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr = self.gitea.get_pull_request(context.owner, context.repo, pr_number)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_title = pr.get("title", "")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_description = pr.get("body", "")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Get PR diff
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
diff = self._get_diff(context.owner, context.repo, pr_number)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if not diff.strip():
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
error_msg = (
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"@{comment_author}\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"{self.AI_DISCLAIMER}\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"**⚠️ Changelog Generation Failed**\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"No changes found in this PR to analyze."
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.gitea.create_issue_comment(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
context.owner, context.repo, pr_number, error_msg
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return AgentResult(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
success=False,
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
message=f"No diff to generate changelog for PR #{pr_number}",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Load changelog prompt
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
prompt_template = self.load_prompt("changelog")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
prompt = prompt_template.format(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_title=pr_title,
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_description=pr_description or "(No description provided)",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
prompt = f"{prompt}\n{diff}"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Call LLM to generate changelog
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
result = self.call_llm_json(prompt)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Format the changelog comment
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
changelog_comment = self._format_changelog(result, pr_number)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Post changelog comment
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.gitea.create_issue_comment(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
context.owner, context.repo, pr_number, changelog_comment
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return AgentResult(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
success=True,
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
message=f"Generated changelog for PR #{pr_number}",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
actions_taken=["Posted changelog comment"],
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
except Exception as e:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.logger.error(f"Failed to generate changelog: {e}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Post error message
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
error_msg = (
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"@{comment_author}\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"{self.AI_DISCLAIMER}\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"**⚠️ Changelog Generation Failed**\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"I encountered an error while generating the changelog: {str(e)}\n\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"This could be due to:\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"- The PR is too large to analyze\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"- The LLM service is temporarily unavailable\n"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"- An unexpected error occurred"
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.gitea.create_issue_comment(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
context.owner, context.repo, pr_number, error_msg
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return AgentResult(
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
success=False,
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
message=f"Failed to generate changelog for PR #{pr_number}",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
error=str(e),
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
def _format_changelog(self, changelog_data: dict, pr_number: int) -> str:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"""Format changelog data into Keep a Changelog format.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Args:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
changelog_data: JSON data from LLM containing changelog entries
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
pr_number: PR number for reference
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Returns:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Formatted markdown changelog
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"""
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines = [
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
self.AI_DISCLAIMER,
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
f"## 📋 Changelog for PR #{pr_number}",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
"",
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
]
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
changelog = changelog_data.get("changelog", {})
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Added
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
added = changelog.get("added", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if added:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### ✨ Added")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in added:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Changed
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
changed = changelog.get("changed", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if changed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### 🔄 Changed")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in changed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Deprecated
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
deprecated = changelog.get("deprecated", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if deprecated:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### ⚠️ Deprecated")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in deprecated:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Removed
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
removed = changelog.get("removed", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if removed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### 🗑️ Removed")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in removed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Fixed
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
fixed = changelog.get("fixed", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if fixed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### 🐛 Fixed")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in fixed:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Security
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
security = changelog.get("security", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if security:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### 🔒 Security")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in security:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- {item}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Breaking changes
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
breaking = changelog_data.get("breaking_changes", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if breaking:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("---")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### ⚠️ BREAKING CHANGES")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
for item in breaking:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- **{item}**")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
# Technical details
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
tech = changelog_data.get("technical_details", {})
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if tech:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("---")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append("### 📊 Technical Details")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
files = tech.get("files_changed", 0)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
additions = tech.get("insertions", 0)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
deletions = tech.get("deletions", 0)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- **Files changed:** {files}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- **Lines:** +{additions} / -{deletions}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
components = tech.get("main_components", [])
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
if components:
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
lines.append(f"- **Main components:** {', '.join(components)}")
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
return "\n".join(lines)
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.
Review

[LOW] Maintainability

The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing.

Recommendation: Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.

**[LOW] Maintainability** The _handle_changelog_command method is quite long and could be split into smaller helper methods for clarity and easier testing. **Recommendation:** Refactor _handle_changelog_command by extracting diff retrieval, prompt preparation, LLM call, and comment posting into separate private methods.
Review

[LOW] Readability

The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources.

Recommendation: Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.

**[LOW] Readability** The error message posted to the PR comment on failure is informative but could be improved by including a link to documentation or support resources. **Recommendation:** Add a link or reference to troubleshooting docs or contact info in the error message to help users resolve issues.
Review

[LOW] Maintainability

The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions.

Recommendation: Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

**[LOW] Maintainability** The _format_changelog method manually appends lines to a list and joins them. This approach is clear but could be simplified or made more flexible using a templating engine or helper functions. **Recommendation:** Consider using a markdown templating approach or helper functions to reduce boilerplate and improve maintainability.

View File

@@ -67,6 +67,7 @@ interaction:
- suggest - suggest
- security - security
- summarize # Generate PR summary (works on both issues and PRs) - summarize # Generate PR summary (works on both issues and PRs)
- changelog # Generate Keep a Changelog format entries (PR comments only)
- triage - triage
- review-again - review-again

View File

@@ -0,0 +1,91 @@
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
You are an experienced software developer creating changelog entries for release notes following the **Keep a Changelog** format (https://keepachangelog.com/).
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Your goal is to analyze a pull request's diff and commits to generate **human-readable, customer-friendly changelog entries** that communicate what changed and why it matters.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
---
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
## Requirements
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Analyze the PR and generate changelog entries categorized by:
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
1. **Added** - New features or functionality
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
2. **Changed** - Changes to existing functionality
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
3. **Deprecated** - Features that will be removed in future versions
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
4. **Removed** - Features that have been removed
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
5. **Fixed** - Bug fixes
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
6. **Security** - Security vulnerability fixes
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Additional analysis:
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- **Breaking Changes** - Changes that break backward compatibility
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- **Technical Details** - Files changed, lines of code, main components affected
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
---
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
## Output Format
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Return a JSON object with this structure:
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
```json
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
{{{{
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"changelog": {{{{
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"added": ["List of new features or functionality"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"changed": ["List of changes to existing functionality"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"deprecated": ["List of deprecated features"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"removed": ["List of removed features"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"fixed": ["List of bug fixes"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"security": ["List of security fixes"]
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
}}}},
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"breaking_changes": ["List of breaking changes, if any"],
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"technical_details": {{{{
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"files_changed": 15,
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"insertions": 450,
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"deletions": 120,
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
"main_components": ["List of main components/directories affected"]
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
}}}}
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
}}}}
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
```
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
---
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
## Rules
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
1. **Be user-focused**: Write for end users, not developers
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ❌ Bad: "Refactored UserService.authenticate() method"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ✅ Good: "Improved login performance and reliability"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
2. **Be specific and actionable**: Include what changed and the benefit
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ❌ Bad: "Updated authentication"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ✅ Good: "Added JWT token authentication for improved security"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
3. **Filter noise**: Ignore formatting changes, typos, minor refactoring unless user-visible
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Skip: "Fixed linting issues", "Updated whitespace", "Renamed internal variable"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Include: "Fixed crash on invalid input", "Improved error messages"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
4. **Detect breaking changes**: Look for:
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- API endpoint changes (removed/renamed endpoints)
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Configuration changes (removed/renamed config keys)
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Dependency version upgrades with breaking changes
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Database schema changes requiring migrations
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- Removed features or deprecated functionality
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
5. **Group related changes**: Combine similar changes into one entry
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ❌ "Added user login", "Added user logout", "Added password reset"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ✅ "Added complete user authentication system with login, logout, and password reset"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
6. **Use active voice**: Start with a verb
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
- ✅ "Added", "Fixed", "Improved", "Updated", "Removed"
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
7. **Keep entries concise**: One line per change, maximum 100 characters
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
8. **Output only JSON**: No additional text before or after the JSON object
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
---
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
## PR Information
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
**Title:** {pr_title}
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
**Description:** {pr_description}
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
**Diff:**
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.
Review

[LOW] Readability

The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity.

Recommendation: Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.

**[LOW] Readability** The prompt is comprehensive and well-written but could benefit from a brief example snippet of expected JSON output at the top for immediate clarity. **Recommendation:** Add a short example JSON snippet near the top of the prompt to help the LLM understand the expected output format quickly.