Skip to main content

Crate trusty_review

Crate trusty_review 

Source
Expand description

trusty-review — fast local PR-review service.

Why: orchestrates LLM-backed code review as a standalone crate within the trusty-tools workspace, consuming trusty-search (context retrieval) and an LLM provider (OpenRouter or Bedrock) to produce structured review verdicts.

What: exposes config, llm, models, integrations, and pipeline. Stage-1 delivered config + LLM provider abstraction; Stage-2 adds the integration clients (GitHub App auth, trusty-search/analyze HTTP clients); Stage-3 adds the MVP review pipeline and the run/compare CLI commands; Stage-4 adds the service module — axum HTTP server with /health, /status, /review, and /pr/github/webhook (gated behind the http-server feature).

Test: each public module carries its own unit tests; see each submodule.

Modules§

config
Global configuration for trusty-review.
coverage
Test-coverage ingestion and verdict-gating for trusty-review (issue #1014).
integrations
External integration clients for trusty-review.
llm
LLM provider abstraction for trusty-review.
mcp
JSON-RPC 2.0 / MCP stdio service for trusty-review.
models
Core data models for trusty-review.
pipeline
Review pipeline — diff loading, context retrieval, LLM review, parsing, and output.
profile
Longitudinal contributor-profile pipeline for trusty-review (epic #558).
service
HTTP service layer for trusty-review — axum router and shared state.
store
Persistence and concurrency-guard layer for trusty-review (issue #582).
voice
Voice package system for trusty-review (#754).