work / lorx
Lorx
A git-compatible code forge in Rust, with change requests, its own actions engine, an automatic review engine and the bit CLI.
- Years
- 2026
- Status
- active
- Live
- lorx.space
What it is
Lorx is a code forge that runs as one lorx serve process on SQLite or Postgres. Repositories are plain git over smart HTTP and SSH. bit is a superset of git with device-flow login, tokens kept in the system keychain, change requests and GitHub import.
Read more
It has its own workflow engine. A push is planned against .lorx/actions/ci.yml by the paths it touched, runs at the same head are deduplicated, and a runner pool wakes machines only when jobs are queued.
The review engine reads a change request's diff, the touched files, the repo's review rules and earlier threads, then writes inline comments tagged with one of five severities, info to critical, and reports a check that branch protection can require. On a self-hosted forge you bring the model: Anthropic, OpenAI or a local one.
Stack
- Rust
- SeaORM
- SQLite
- Postgres
- gix
- OpenAPI
- Next.js
- Expo
- GCP
- Anthropic
- OpenAI
Counted
- 350commits
git rev-list, 2026-09-22 → 10-07 - 90,420Rust lines
line count across 8 crates - 399Rust tests
#[test] and #[tokio::test] - 92OpenAPI paths
openapi.json - 6bit release targets
cargo-zigbuild / cargo-xwin
How it works
The system as a machine on a bench. Hover or use the arrow keys to drive it.
The path through it
- git or bitPush over smart HTTP or SSH; bit adds device-flow login and change requests.
- lorx-serverGit hosting, the REST API in openapi.json, auth, change requests and auto-merge.
- lorx-actionsPlans workflows from .lorx/actions/ci.yml by the paths a push touched, and skips a run already done at the same head.
- Runner poolThe scheduler wakes machines when jobs queue; lorx-runner executes and reports each run as a check.
- lorx-reviewDiff, touched files, review rules and prior threads go to the model; inline comments come back with a severity, plus a check.
- MergeBranch protection can require the review check and the runs before a change lands.