All notable changes, organized by development day.
- Initialized repository and Python package layout
- Added MCP “hello” example to verify SDK wiring
- Implemented
ingest_prtool using PyGitHub andunidiff - Added SQLite caching (24 h TTL) for PR diffs and stats
- Created local LLM smells stage with CodeLlama-13B (Ollama)
- Integrated cloud LLM (Groq Llama-3 8K) for summary and risk score
- Exposed
analyze_prtool
- Built
locateutil that maps static rule “smells” to file hunks - Added ChromaDB-backed hunk embeddings to improve line-number accuracy
- Wrapped all GitHub calls to avoid duplicate requests
- Developed
reviewgenieCLI with subcommands:ping,ingest,analyze,inline,check - Added
checktool to fail CI whenrisk_score > threshold - Updated GitHub Actions CI workflow to run
pytest+ risk gate
- Implemented
generate_teststool to draft pytest stubs and open a PR - Created branch, added files, and submitted pull request via PyGitHub
- Fixed Duplicate-ID bug in Chroma upsert logic
- Corrected review-comment arg order for PyGitHub
- Finalized CI so all tests pass (
ping,ingest,analyze,inline,check)
- Added
bench.pyto replay 10 historical PRs - Measures latency (ingest/analyze/inline) and accepted-comment counts
- Produces
bench/benchmarks.mdwith per-PR stats and averages - Introduced
--dry-runfor inline to avoid write errors
- Moved secrets to
codeview_mcp/secret.py(env-vars or OS keyring) - Wrapped all GitHub API calls in
gh_call()with exponential back-off - Instrumented tools with OpenTelemetry spans via
@traced
- Published complete
docs/suite: Architecture, Quickstart, Usage, Config, Contributing, API schema - Added
scripts/export_schema.pyto generatedocs/API_SCHEMA.json - Polished
README.mdand finalized changelog entries
- Switched Groq default model from
llama3-8b-8192→llama-3.1-8b-instant - Added
RG_CLOUD_MODELenv-var to override at runtime