adaptive power & performance for Arch
Rush Linux is an Arch-based operating-system project that adapts power and
performance to the work being done. optid observes the machine, classifies the
workload, explains its decisions, and can apply guarded hardware settings when
explicitly enabled.
| I want to… | Best starting point |
|---|---|
| Try Rush in a VM or from USB | LiveDev for Linux/macOS or Windows |
Compare optid on my current Linux install |
Run the host benchmark |
| Understand the adaptive control loop | What optid does |
| Continue project development | Current work selector |
| Build Rush or contribute | Build and development |
Environment: Linux / macOS
curl -fsSL https://raw.githubusercontent.com/Nan0pk/Rush-linux/main/tools/livedev-bootstrap.sh -o livedev-bootstrap.sh && bash livedev-bootstrap.shDetects an existing results USB, QEMU, or a USB-preparation path and chooses the useful next action.
This table is generated from the repository's canonical version, build, and work-state files.
| Item | Current state |
|---|---|
| Project stage | Early beta: dry-run is the safe default; automatic hardware actuation is not release-ready. |
| Version | 0.7.0-beta.4 |
| Active general repair | T1 — Build thermal sensing and a pure budget model (merged_incomplete) |
| Active safety repair | C1 — Model contracts with measured latency and provenance (next) |
| Build profiles | desktop, laptop, livedev, realtime-audio, server, testos |
| Safety architecture | D2 fail-passive |
| Canonical work state | optid package ledger |
Pick the goal that matches what you want to do. Detailed options stay in the linked runbooks.
| Goal | Environment |
|---|---|
| Run the smart LiveDev flow | Linux / macOS |
| Run the smart LiveDev flow | Windows PowerShell (Administrator) |
| Compare optid on an existing Linux install | Linux |
| Start a clean development task | Cloned repository |
| Run every check relevant to a change | Cloned repository |
| Build the LiveDev image | Supported Linux build host |
Environment: Windows PowerShell (Administrator)
curl.exe -fL -o livedev-bootstrap.ps1 https://raw.githubusercontent.com/Nan0pk/Rush-linux/main/tools/livedev-bootstrap.ps1; if ($LASTEXITCODE -ne 0) { exit $LASTEXITCODE }; powershell -ExecutionPolicy Bypass -File .\livedev-bootstrap.ps1Open PowerShell as Administrator. Elevation is needed only for raw USB writing and temporary ESP mounting.
Environment: Linux
curl -fsSL https://raw.githubusercontent.com/Nan0pk/Rush-linux/main/tools/rush-host-bench.sh | sudo bashNo USB, VM, reboot, or Rush installation. Apply mode is experimental; a reboot remains the final recovery fallback.
Environment: Cloned repository
bash tools/start-work.sh "short task description"Creates a work branch when needed and runs the fast starting-state checks.
Environment: Cloned repository
bash tools/finish-work.sh --dry-runUses the same change-aware check runner as CI and does not commit or push.
Environment: Supported Linux build host
sudo bash tools/build-mkosi-image.sh --edition livedevRequires Rust, mkosi, and the host dependencies listed in the build documentation.
The bootstrap command chooses the next step from what it detects:
| Detected environment | Next action |
|---|---|
| Results USB present | Copy and validate results, then offer an evidence submission |
| QEMU available | Build or reuse the LiveDev image and start the VM path |
| Neither available | Prepare the real-hardware USB path and print boot instructions |
It preserves an existing checkout and does not merge pull requests or mark
milestones verified. USB writing needs sudo on Linux/macOS or an Administrator
PowerShell on Windows. GitHub authentication is needed only when opening an
evidence PR.
The full operator procedure is in the LiveDev runbook.
testOS remains the current boot backend and manual fallback for real-hardware USB testing.
Every control-loop iteration follows the same basic path:
- read pressure, power, thermal, application, and device state;
- classify the workload as
idle,light,interactive,latency-critical,throughput, orvm.guest; - resolve the desired contract and domain gates;
- log intended actions in dry-run mode, or attempt guarded writes with
--apply; - report support, skip, failure, and recovery outcomes.
Implemented paths include core CPU controls and initial runtime-PM, PCIe ASPM, SATA ALPM, backlight, VM-sysctl, PM QoS, and cgroup controls. The packaged apply service cannot yet reach all dynamic device paths, and the persistent verified D2 recovery protocol is not complete. Treat apply mode as experimental.
See adaptive engine for the control model and implementation status for the detailed inventory.
The commands above are the supported entry points. Use these guides for detail:
| Topic | Guide |
|---|---|
| Host dependencies, mkosi profiles, and image outputs | Build system |
| Source and packaging flow | How Rush is built |
| Claims, evidence, and release tiers | Testing and benchmarks |
| Risk-based contributor process | Project workflow |
Only the human maintainer merges to main. A merged optid PR proves that code
landed; package completion additionally requires production-path integration
and independent committed evidence.
| Area | Document |
|---|---|
| Product direction | Northstar specification |
| System design | Architecture |
| Current agent work | Current work selector |
| Current implementation work | Active optid completion plan |
| Compatibility | Hardware support |
| Release direction | Roadmap |
| Documentation index | All documentation |
Latest release: v0.7.0-beta.4
Start with CONTRIBUTING.md. The repository expects small coherent pull requests, change-aware tests, and evidence that matches the claim.
Apache-2.0. Copyright the Rush Linux authors.