Quick Overview
- Auto-Generation: Kody analyzes your review history to create new rules
- Data-Driven: Uses 3 months of review data for intelligent insights
- Smart Suggestions: Generates rules based on actual team patterns
- Optional Approval: Generated rules are active by default; turn on Kody knowledge approval to review each one before it takes effect
- Continuous Learning: Weekly rule updates as your team evolves

Generate from past reviews and Kody knowledge approval in the Kody Rules Configuration sheet
How It Works
1. Turning On Rules Generation
Rules generation is set per repository:- In the sidebar, pick the repository in the scope picker at the top of the Code review group, then open Kody Rules
- Click Configuration to open the side sheet
- Turn on Generate from past reviews
- Optionally, use the reviewer picker below the toggle (Learning from all reviewers by default) to exclude developers whose review comments Kody should not learn from
2. Analysis Process
The first time you turn on Generate from past reviews for a repository, Kody will:- Scan Review History: Analyzes the last 3 months of closed PRs in your repository
- Identify Patterns: Discovers common feedback themes and coding preferences
- Extract Standards: Converts review patterns into actionable rules
- Generate Rules: Creates custom rules tailored to your team’s style
3. Reviewing Generated Rules
Generated rules are listed with the Kody-generated origin (use Filters → Origin → Kody-generated to see only them). Open any of them to edit, pause, or delete it like any other rule.4. Approving Rules Before They Take Effect
To review generated rules before they take effect, turn on Kody knowledge approval in the same Configuration sheet. With approval on:- Pending Review: New generated rules land in the Pending review section at the top of the Kody Rules page instead of being enforced
- Choose Selectively: Approve the rules that match your team’s needs and Discard the rest
- Activation: Only approved rules are enforced during code reviews
Continuous Learning
After the initial setup, Kody maintains an ongoing learning cycle:- Weekly Updates: Kody generates new rule suggestions every week
- Evolving Standards: Rule suggestions adapt as your team’s coding style evolves
- Refined Accuracy: Suggestions become more precise over time
- Regular Reviews: New rules appear weekly (in Pending review when approval is on)
Requirements
- Minimum Data: At least 3 months of review history in the repository
- Active Reviews: Regular code review activity for better pattern detection
- Repository Access: Proper permissions to modify repository rules