A local AI-assisted auto-rebase workflow for long-lived forks.
Project description
auto-rebase-ai
auto-rebase-ai is a local PyPI package for maintaining long-lived forks with
the same four-part architecture described in goal.md, reference.md, and the
diagram in image.png.
auto-rebase = orchestrator
detect-upstream-base = disturbance detection
rebase-assistant = controller
local-test-runner = measurement
The orchestrator finds the fork's current upstream base, resolves a newer target ref, delegates the rebase to the controller, and writes a final report. The controller owns the baseline gate, rebase, conflict handling, Codex repair loop, and summary. The local test runner only measures configured checks.
Install
pipx install auto-rebase-ai
or:
uv tool install auto-rebase-ai
Usage
Inside a forked repository:
auto-rebase init
auto-rebase doctor
auto-rebase run
The default command launches the simple TUI:
auto-rebase
Safety
Version 0.1 never pushes automatically, refuses a dirty working tree except
for generated .auto-rebase/ artifacts, creates a backup branch before rebasing,
and writes repair packets with configured secret redaction.
Release
Before publishing:
uv run --extra dev pytest
uv run --extra dev ruff check .
uv build
Verify the built wheel through the tool-install path:
UV_TOOL_DIR=/tmp/auto-rebase-tool \
UV_TOOL_BIN_DIR=/tmp/auto-rebase-tool-bin \
uv tool install dist/auto_rebase_ai-0.1.1-py3-none-any.whl
/tmp/auto-rebase-tool-bin/auto-rebase init
Publish to PyPI after the package owner has configured credentials:
uv publish
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file auto_rebase_ai-0.1.1.tar.gz.
File metadata
- Download URL: auto_rebase_ai-0.1.1.tar.gz
- Upload date:
- Size: 620.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a31a7b446870ae01b55bc029b8b3955c1284897c0d08931c0b5f7742b0c8f05d
|
|
| MD5 |
3f850d0640fe367b4656b8689d8ba8ef
|
|
| BLAKE2b-256 |
ca67da783eacd141b6f03b7d66046fcaa3ef2d4478df167fb1b1cd5b3f9e1657
|
File details
Details for the file auto_rebase_ai-0.1.1-py3-none-any.whl.
File metadata
- Download URL: auto_rebase_ai-0.1.1-py3-none-any.whl
- Upload date:
- Size: 29.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.9.22 {"installer":{"name":"uv","version":"0.9.22","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b38369b65f1e6571bf62e9c257ff14a627fb2b6e42d31d850b370e338e32558c
|
|
| MD5 |
1a16060f3b980a84eca28c5628bcc7c1
|
|
| BLAKE2b-256 |
9a0dddd6bfa8d4498e5d36f56f5ea7a30c52f4abfd4bfadfb5a65a0be43629ce
|