landing
How a change gets to main: `land.py` and its merge gate, taking any open pull request or issue to done, and crediting people with `Co-authored-by:`. Load before committing, opening or finishing a pull request, or picking up someone else's.
Install
Copy this folder into your Claude Code project (needs Node.js):
npx degit indexable-inc/blaze/.agents/skills/landing .claude/skills/landingOr install it for every project:
npx degit indexable-inc/blaze/.agents/skills/landing ~/.claude/skills/landingFile content
Made by its original authors and shared under Apache-2.0. We show it unchanged, with credit and a link to the source. Source ↗
--- name: landing description: "How a change gets to main: `land.py` and its merge gate, taking any open pull request or issue to done, and crediting people with `Co-authored-by:`. Load before committing, opening or finishing a pull request, or picking up someone else's." --- # Landing changes <!-- Generated by `bun tools/agents/rules.ts --write` from tools/agents/rules.ts, down to the end marker; edit the rules there. AGENTS.md carries each rule as one line. --> ## land-through-pr (rule 37) Land small and often through a pull request: `python3 .github/scripts/land.py "what the branch does"` opens it, turns on auto-merge and waits for the merge gate (`--wait` resumes). Harnesses run after merge in the release train. Never push to main. See [docs/contributing.md#landing-a-change](../../../docs/contributing.md#landing-a-change). ## own-prs-to-merge (rule 38) Any agent may take any open pull request or issue to done (merge main, resolve conflicts, fix its gate, finish a draft) rather than hand it back; tell the owning lane what changed. Close one only when it is wrong, saying why. ## credit-people (rule 40) A commit or pull request built on someone's suggestion, diagnosis or patch gets a `Co-authored-by: Name <id+login@users.noreply.github.com>` trailer for each of them and says where it came from. See [docs/contributing.md#credit](../../../docs/contributing.md#credit). <!-- End of the generated rules. Hand-written notes follow. --> ## How landing works From [docs/contributing.md#landing-a-change](../../../docs/contributing.md#landing-a-change): `land.py` pushes the branch, opens "Merge <branch>: what the branch does" and turns on auto-merge. The merge gate is the build and unit tests on Linux AArch64 (ix runners) and the released blaze's `blaze check --workspace` on Linux AArch64 and macOS, with astlog's rules and the lint baselines. There is no merge queue; the release train on main catches changes that break together. The wait runs in its own process, logging to `.git/land/pr-N.log` in the main checkout; `land.py --wait` follows it again. A branch that conflicts gets `git merge origin/main` first. For anything the fast tier does not cover, run the train on the branch first: `gh workflow run train.yaml --ref <branch>`. A `Co-authored-by:` trailer uses the address the person's own commits use, or `<id>+<login>@users.noreply.github.com` with the id from `gh api users/<login> -q .id`; name the issue or comment the idea came from in the message too, and keep every trailer through a squash.