Pull requests and CI
Connect your code host
Section titled “Connect your code host”Give ORBYTE a token for your code host. Add these to ~/.zshrc on macOS or ~/.bashrc on Linux:
# GitLab, self-hosted or gitlab.com (token scope: api)export ORBYTE_GITLAB_URL=https://gitlab.your-company.comexport ORBYTE_GITLAB_TOKEN=glpat-...
# GitHub (fine-grained token: Contents, Pull requests: read/write; Checks, Actions: read)export ORBYTE_GITHUB_TOKEN=github_pat_...The repository’s origin remote decides which one is used. For GitHub Enterprise, set
ORBYTE_GITHUB_API_URL.
Open a PR or MR
Section titled “Open a PR or MR”Dev agents are told to run orbyte pr open when their tests pass. You can also run it yourself:
orbyte pr open Forge # push orbyte/<id> and open a PR or MR, titled "PAY-142: <first commit>"orbyte pr open Forge --draft --base developorbyte ls # STATUS shows ci_pending, ci_failed, pr_ready or merged; PR shows #482 or !7ORBYTE links the PR or MR on the Jira ticket.
CI failures go back
Section titled “CI failures go back”Every 30 seconds ORBYTE checks CI. When it fails, the agent that owns the branch receives a message like this, once per failing commit:
CI is failing on your MR #7 (https://gitlab.your-company.com/pay/api/-/merge_requests/7).
Failed: test:unitLog tail:--- FAIL: TestRefund (0.00s) refund_test.go:42: got 33.33 want 33.34
Find the cause from the log above, fix it, run the tests locally, then commit and push.It is never sent to an agent that is waiting on you (a permission prompt, a question). Jobs marked
allow_failure and cancelled checks do not count as failures.
Review comments and merge conflicts are routed back too: see Review feedback.