Skip to main content

sr

AI-powered release engineering CLI in Rust

Overview

Rust CLI handling the full release lifecycle: AI-generated atomic commits, code review, PR generation, interactive rebase, branch naming, and automated semver releases. Three AI backends (Claude, Copilot, Gemini) run in a strict read-only sandbox with working tree snapshots for safe rollback.

Demo

sr
$sr plan
Analyzing commits since v1.2.0...
 
feat: add JSON schema validation → minor
fix: handle empty commit bodies → patch
feat!: redesign config format → major
 
Next version: v2.0.0 (major)
 
$sr release
Creating tag v2.0.0...
Generating CHANGELOG.md...
✓ Released v2.0.0

Features

AI Atomic Commits

Analyzes diffs and generates grouped conventional commits via LLM agents.

Sandboxed AI Agents

Read-only tool permissions with working tree snapshots for safe rollback.

AI Code Review

Severity-based AI feedback on staged changes using configurable multi-provider backends.

Automated Releases

Conventional commit parsing, semver bumps, changelog generation, and GitHub releases.

Version File Bumping

Auto-updates version strings in Cargo.toml, package.json, pyproject.toml, and Go modules.

AI Interactive Rebase

AI-powered reword, squash, and reorder of commits via intelligent rebase.

Tech Stack

Rust
Rust