Skip to content

Fix/review with repoid#29

Merged
Wellington01 merged 4 commits intomainfrom
fix/review-with-repoid
Mar 17, 2026
Merged

Fix/review with repoid#29
Wellington01 merged 4 commits intomainfrom
fix/review-with-repoid

Conversation

@Wellington01
Copy link
Member

@Wellington01 Wellington01 commented Mar 17, 2026

This pull request introduces the following changes:

  • Enhanced Review Context for Personal Tokens: The CLI now sends comprehensive Git context (including repository remote URL, branch name, commit SHA, inferred Git platform, user email, and CLI version) to the review API when a personal access token is used. This enables more precise, repository-scoped review rules and provides richer context for analysis.
  • Improved Repository Identification: The utility for parsing Git remote URLs has been significantly enhanced to accurately infer the Git hosting platform and extract organization/project and repository names from a wider variety of formats. This includes support for GitHub, GitLab, Bitbucket, and Azure DevOps, covering both HTTPS and SSH URL schemes, self-hosted instances, and URLs with subgroups.
  • Organization ID Association: For personal access tokens, the CLI attempts to extract an organizationId from the token payload and includes it in the review API request, further improving the context for repository-scoped rules.
  • Minor UI Adjustment: A redundant step in the interactive review flow, which would re-display the file issues menu, has been removed.

Wellington01 and others added 3 commits March 17, 2026 19:30
- analyzeWithMetrics now handles both team key and JWT auth
- Personal token path now collects gitInfo and sends gitRemote/branch
- Fixes repo-scoped kody rules not being applied when using personal token

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- extractOrgRepoFromRemote now handles SSH, HTTPS, Azure DevOps, Bitbucket Server, self-hosted GitLab
- Support subgroups in GitLab URLs (org/sub/repo)
- Add comprehensive tests for all platform URL formats
- Fix recursive loop in interactive.ts reviewFileIssues

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Mar 17, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
kodus-skill-install Ready Ready Preview, Comment Mar 17, 2026 11:07pm

@kody-ai

This comment has been minimized.

@kody-ai
Copy link

kody-ai bot commented Mar 17, 2026

kody code-review Kody Rules critical

The pull request description is currently empty. Please add a reference to the issue this PR addresses, using a keyword like 'Closes #issue_number' or 'Fixes #issue_number' to automatically link and close the issue upon merging. Kody Rule violation: Ensure PR closes referenced issues

Copy link

@kody-ai kody-ai bot left a comment

Choose a reason for hiding this comment

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

…ithMetrics

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@kody-ai
Copy link

kody-ai bot commented Mar 17, 2026

Kody Review Complete

Great news! 🎉
No issues were found that match your current review configurations.

Keep up the excellent work! 🚀

Kody Guide: Usage and Configuration
Interacting with Kody
  • Request a Review: Ask Kody to review your PR manually by adding a comment with the @kody start-review command at the root of your PR.

  • Validate Business Logic: Ask Kody to validate your code against business rules by adding a comment with the @kody -v business-logic command.

  • Provide Feedback: Help Kody learn and improve by reacting to its comments with a 👍 for helpful suggestions or a 👎 if improvements are needed.

Current Kody Configuration
Review Options

The following review options are enabled or disabled:

Options Enabled
Bug
Performance
Security
Cross File
Business Logic

Access your configuration settings here.

@kody-ai
Copy link

kody-ai bot commented Mar 17, 2026

kody code-review Kody Rules critical

The pull request description does not contain a reference to a GitHub issue. To improve tracking and context, please add a closing statement like 'Closes #123' or 'Fixes #456' to the description. Kody Rule violation: Ensure PR closes referenced issues

@Wellington01 Wellington01 merged commit b03a0cb into main Mar 17, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant