How orbi-build/orbi works
Orbi is a self-hosted autonomous GitHub Issue-to-release agent. A scheduled Runner selects eligible Issues, claims work into an isolated worktree, delegates coding to Pi, then handles PR creation, independent review and gated merge; release Issues follow a release state machine. GitHub Issues, PRs, comments and releases are both the external collaboration surface and the documented record, rather than a local database. The README documents the end-to-end flow; source-index references and excerpts support the internal boundaries shown here, but not every runtime call was sampled.
Main entry points: runner.py Runner · claim.py Issue claim · cli.py CLI · scheduler.py Scheduler
Components 19
Entry and scheduling
- CLI
src/orbi/cli.py - Scheduler
src/orbi/scheduler.py - Platform units
src/orbi/systemd_deploy.py - Runner
src/orbi/runner.py
Issue delivery
- Issue claim
src/orbi/claim.py - Delivery scene
src/orbi/delivery_scene.py - Label policy
src/orbi/delivery_labels.py - Repository policy
src/orbi/repo_config.py - Worktree operations
src/orbi/gitops.py
Agent execution
- Pi execution
src/orbi/pi_process.py - Pi session
src/orbi/pi_session.py
Review and release
- Review and merge
src/orbi/review_merge.py - Human review
src/orbi/human_review.py - Release workflow
src/orbi/release.py
Runtime foundations
- Progress comments
src/orbi/progress.py - Run journal
src/orbi/journal.py - Host configuration
src/orbi/config.py
Other components
- Operator
- GitHub
Connections 24
- Operator → CLI: runs commands
README.md - CLI → Runner: starts tick
src/orbi/cli.py - CLI → Scheduler: manages units
src/orbi/cli.py - Scheduler → Platform units: selects platform
src/orbi/scheduler.py - Scheduler → Runner: schedules tick
README.md - Runner → Issue claim: dispatches work
src/orbi/runner.py - Runner → Pi execution: runs agent
README.md - Runner → Review and merge: starts closeout
README.md - Runner → Release workflow: dispatches release
src/orbi/runner.py - Issue claim → GitHub: reads Issues
README.md - Issue claim → Delivery scene: classifies delivery
src/orbi/claim.py - Issue claim → Label policy: applies label policy
src/orbi/claim.py - Issue claim → Repository policy: loads policy
src/orbi/claim.py - Issue claim → Worktree operations: creates worktree
README.md - Pi execution → Pi session: uses session
src/orbi/pi_process.py - Pi execution → Worktree operations: works in worktree
README.md - Review and merge → GitHub: opens and merges PR
README.md - Review and merge → Human review: routes findings
src/orbi/review_merge.py - Release workflow → GitHub: publishes release
README.md - Runner → Progress comments: posts progress
src/orbi/runner.py - Progress comments → GitHub: updates comments
src/orbi/progress.py - Runner → Run journal: records run
src/orbi/runner.py - Runner → Host configuration: loads settings
src/orbi/runner.py - GitHub → Issue claim: supplies task state
README.md