Skip to content

Commit aa02c07

Browse files
haasonsaasclaude
andcommitted
Add 10 Greptile-inspired review intelligence modules with 246 tests
Implement graph-based symbol indexing, NL code summaries, function-level diff chunking, multi-pass hotspot review, convention learning from feedback, PR comment history analysis, git churn risk scoring, composable pipeline architecture, offline/self-hosted model support, and eval benchmark suites. Integrates all modules into the review pipeline via enhanced_review.rs. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 17636e4 commit aa02c07

13 files changed

+7470
-0
lines changed

src/core/code_summary.rs

Lines changed: 652 additions & 0 deletions
Large diffs are not rendered by default.

src/core/composable_pipeline.rs

Lines changed: 622 additions & 0 deletions
Large diffs are not rendered by default.

src/core/convention_learner.rs

Lines changed: 528 additions & 0 deletions
Large diffs are not rendered by default.

src/core/enhanced_review.rs

Lines changed: 1078 additions & 0 deletions
Large diffs are not rendered by default.

src/core/eval_benchmarks.rs

Lines changed: 832 additions & 0 deletions
Large diffs are not rendered by default.

src/core/function_chunker.rs

Lines changed: 645 additions & 0 deletions
Large diffs are not rendered by default.

src/core/git_history.rs

Lines changed: 578 additions & 0 deletions
Large diffs are not rendered by default.

src/core/mod.rs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,35 @@
11
pub mod changelog;
2+
pub mod code_summary;
23
pub mod comment;
34
pub mod commit_prompt;
5+
pub mod composable_pipeline;
46
pub mod context;
7+
pub mod convention_learner;
58
pub mod diff_parser;
9+
pub mod enhanced_review;
10+
pub mod eval_benchmarks;
11+
pub mod function_chunker;
612
pub mod git;
13+
pub mod git_history;
714
pub mod interactive;
15+
pub mod multi_pass;
16+
pub mod offline;
17+
pub mod pr_history;
818
pub mod pr_summary;
919
pub mod prompt;
1020
pub mod rules;
1121
pub mod smart_review_prompt;
22+
pub mod symbol_graph;
1223
pub mod symbol_index;
1324

1425
pub use changelog::ChangelogGenerator;
1526
pub use comment::{Comment, CommentSynthesizer};
1627
pub use commit_prompt::CommitPromptBuilder;
1728
pub use context::{ContextFetcher, ContextType, LLMContextChunk};
1829
pub use diff_parser::{DiffParser, UnifiedDiff};
30+
pub use enhanced_review::{
31+
build_enhanced_context, apply_enhanced_filters, generate_enhanced_guidance,
32+
};
1933
pub use git::GitIntegration;
2034
pub use pr_summary::{PRSummaryGenerator, SummaryOptions};
2135
pub use prompt::PromptBuilder;

0 commit comments

Comments
 (0)