You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Intelligent Review: Wire index to review pipeline (Tier 1) #443
Wire cora's symbol index (brain intelligence) into the review pipeline so cora review uses index-based caller resolution, impact analysis, affected tests, and brain search — when an index is available.
Design Doc
docs/design/intelligent-review-tier1.md
Scope (~137 LOC)
File
Change
src/engine/context/types.rs
Add use_brain: bool, impact_depth: u32 to ContextConfig
src/engine/context/resolver.rs
Wire graph::find_callers() as primary, fallback to regex
src/engine/review.rs
Add brain enrichment phase: impact, tests, related patterns
src/hook/template.rs
Add cora index --quiet before review in pre-commit hook
Behavior
Index exists → use graph::find_callers + impact_analysis + brain_search + affected_tests
No index → identical to current behavior (regex scan, no brain context)
use_brain: true (default) / false to disable
Pre-commit hook runs cora index --quiet before review (non-blocking)
Acceptance Criteria
cora index && cora review --staged uses index callers (not regex)
Activity
feat: wire index to review pipeline (Tier 1 — brain enrichment) (#444)
release: v0.11.1 → main (#450)