D81 · Work lands on an integration branch with no CI, and every check runs locally first
Accepted · 2026-10-28 · zuki · Partly supersedes D28 (a pull request with green checks, into main) and D6 (the pull request title is checked in CI, only for pull requests into main)
Decision: The repository has a long-lived branch, integration, made from main. Agents and sessions open their pull requests into integration, and no CI workflow runs on them. Before it opens a pull request, the author runs pnpm check and puts its result in the pull request body. CI still runs on every pull request into main and on every push to main.
integrationgoes to main by a pull request of its own, when zuki chooses, and that is where CI runs: once for the batch, not once for each pull request. It is merged with a merge commit, not squashed, so the Conventional Commits and theirRole:trailers survive on main.pnpm checkruns everything CI runs on a pull request: Biome,pnpm docs:rules, the role-paths check (D77), the commit messages, typecheck and build of what changed, and, when the change touches the database side or apps/web, pgTAP, the generated types and reference pages, and the Playwright specs. It needs the local stack for the last three, and it never touches staging, production or a linked project.- zuki still reviews and squash-merges every pull request into
integration(D28). A step is still done when zuki has logged a clean run.
Why: zuki, 2026-10-28: GitHub Actions has used the month's minutes, and they reset in about four days. Pull requests cannot reach green checks until then, and one CI run for each small pull request is what spends them. A branch with no CI, and the same checks run here first, keeps the work moving and spends minutes once for each batch.
Consequences:
- The branch is
integration, notstaging, because the rules already use "staging" for the staging environment, which no agent touches. - The workflows:
ci.ymlandpr-title.ymlrun on pull requests intomainonly. The ruleset onmainis unchanged.integrationhas no required checks, and the pre-push hook refuses a direct push to it, as it does for main. pnpm checkistools/team/check.sh(CTO). It reads the same path filters asci.yml; a change to one is a change to the other.- AGENTS.md says pull requests go to
integration. The pull request that adds this decision goes tomain, while minutes are short: zuki reads thepnpm checkresult in its body and merges without CI. Open pull requests are retargeted tointegrationafter it merges. - Unchanged: nothing runs against staging or production; rules before tests before code (D27); zuki reviews and squash-merges.
- Revisit when zuki retires it. The reset of the minutes does not end it by itself, because a run for each pull request would spend them again.