How a pull request goes in
Built Every change goes through the same steps, whether a person or an agent wrote it.1. Start from an issue
Anything bigger than a small fix starts from an issue that says what and why. Larger work is split into slices that can each be verified on their own; if a slice grows beyond its boundary, split the rest into a new one.
2. Branch and change
Branch from the integration branch. One change per pull request, with its tests. Keep it small and focused, and update the nearest documentation when behaviour or workflow changes.
3. Run the merge gate
The merge gate runs locally and its summary goes into the pull request description:
scripts/full-regression.sh --mode prEvery step always runs, and the gate is green only if every step exits 0:
| Step | What it checks |
|---|---|
lock | the dependency lock file is current |
ruff | the backend linter, whole tree |
ruff-cli | the launcher's changed Python files |
secrets | no secret in the branch's own commits (gitleaks) |
backend | the backend tests; in --mode pr the tests a coverage map selects for the changed files, or all of them when a change cannot be placed. A selection that runs no test is red. |
clients | the launcher's tests, when the branch changes it |
For a change in frontend/chat, also run there:
npm ci && npx tsc --noEmit && npx eslint . && npm testThe full mode (the default) runs everything; it runs nightly and before a release.
The pull request says what changed and how it was tested; its template asks for both.
4. Review
The review bot reviews the pull request like any other: a summary, inline findings with severity, file and line, and the commit status octryx/review. A maintainer reviews too. Answer findings in the thread; the bot understands commands.
5. Merge
Only a fully green pull request is merged: no red test, no open blocking finding. Octryx AI itself never merges; a maintainer does.
Commit messages
Say what changed and why, in English, in the imperative. One logical change per commit.
