Skip to content

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:

bash
scripts/full-regression.sh --mode pr

Every step always runs, and the gate is green only if every step exits 0:

StepWhat it checks
lockthe dependency lock file is current
ruffthe backend linter, whole tree
ruff-clithe launcher's changed Python files
secretsno secret in the branch's own commits (gitleaks)
backendthe 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.
clientsthe launcher's tests, when the branch changes it

For a change in frontend/chat, also run there:

bash
npm ci && npx tsc --noEmit && npx eslint . && npm test

The 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.

Octryx AI v0.0.1-alpha · Apache 2.0 · octryx.ai