2 releases
Uses new Rust 2024
| 0.1.1 | Jan 28, 2026 |
|---|---|
| 0.1.0 | Jan 28, 2026 |
#1093 in Development tools
45KB
650 lines
Pravda: Reconstruct clean git history from messy branches using LLM assistance.
Pravda takes a history specification (TOML) describing logical commits and reconstructs them from a messy source branch, creating a clean history suitable for code review.
Architecture
- Spec: Parse and manipulate history specifications
- Execute: Run the reconstruction loop with LLM assistance
- Prompt: Generate guidance for creating specifications
retcon
Because you knew what you were doing the whole time.
Turn messy development commits into clean, logical history. Retcon takes a history specification describing the commits you want and reconstructs them from your working branch using LLM-assisted extraction.
Installation
cargo install retcon
Usage
# 1. Generate guidance for creating a spec
retcon prompt > guidance.md
# 2. Give the guidance to your LLM agent to create a spec
# (or write one manually)
# 3. Run the reconstruction
retcon execute my-spec.toml
Documentation
Full documentation at nikomatsakis.github.io/retcon
License
MIT OR Apache-2.0
Dependencies
~28MB
~427K SLoC