Expand description
prview - PR Review & Artifact Generator
A cross-language PR analysis tool that generates diffs, quality reports, and AI-ready artifact packs.
Re-exports§
pub use cli::Cli;pub use cli::CliCommand;pub use cli::CompletionsArgs;pub use cli::GateArgs;pub use cli::OpenArgs;pub use cli::RunsArgs;pub use cli::ScopeArgs;pub use cli::StateArgs;pub use config::Config;
Modules§
- artifacts
- Artifact generation
- cache
- Cache mechanism for expensive checks
- check_
id - Canonical check-name → check-id normalization.
- checks
- Quality checks system
- cli
- CLI argument parsing using clap
- config
- Configuration management
- gate
- Quality gate adapter for contractual process exit codes.
- git
- Git operations using libgit2
- heuristics
- Heuristics module - structural analysis
- mcp
- prview MCP server (
prview mcp). - mdrender
- Self-contained Markdown-to-HTML rendering for static artifacts.
- output
- Output formatting and reporting
- paths
- policy
- Policy layer for merge gating and check severity mapping.
- proc
- Shared child-process safety rails.
- regression
- Regression detection module (v2-v4)
- scope
- Scoped review pack generator.
- state
- Fast repo state probe (
prview state) - storage
- Artifact index and retention policy
- tui
- TUI module for prview - Ratatui-based interactive interface.
Structs§
- App
- Main application context holding all state