diff --git a/AGENTS.md b/AGENTS.md index 1dc8dd90..b92d21d8 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -234,7 +234,7 @@ Every task is tracked by a GitHub issue and lands in `master` through a pull req 2. All regression, verification, and smoke tests have passed cleanly; 3. There is no explicit instruction from the user forbidding commits. 4. **Push** the branch (`git push -u origin `) and **open a pull request** into `master` whose body says what changed, how it was verified, and `Closes #`. CI runs on the pull request. -5. **Merge**: a pull request opened by `endercodezz` (also the ones the agent opens with the maintainer's `gh` login) is **auto-merged** with a merge commit once the required CI checks pass (`.github/workflows/automerge.yml`; `master` requires `Linux host build + tests`, `Windows host build + tests`, `New 3DS runtime (devkitARM)`). So open a pull request only for verified, finished work; work in progress is opened as a draft (`gh pr create --draft`), which is not auto-merged; `gh pr merge --disable-auto` stops a pending auto-merge. Other pull requests (contributors) are merged by the maintainer; the agent merges them only when the user says so. Always a merge commit, never squash or rebase (section 17). Releases are tagged on `master` after the merge. +5. **Merge**: a pull request opened by `endercodezz` (also the ones the agent opens with the maintainer's `gh` login) is **auto-merged** with a merge commit once the required CI checks pass (`.github/workflows/automerge.yml`; `master` requires `Linux host build + tests`, `Windows host build + tests`, `New 3DS runtime (devkitARM)`, `texpack (Rust)`, and `BinDiff` and `CPK tool` on both systems; the last two have the Zig version in their names, so a Zig update renames the required checks too). So open a pull request only for verified, finished work; work in progress is opened as a draft (`gh pr create --draft`), which is not auto-merged; `gh pr merge --disable-auto` stops a pending auto-merge. Other pull requests (contributors) are merged by the maintainer; the agent merges them only when the user says so. Always a merge commit, never squash or rebase (section 17). Releases are tagged on `master` after the merge. Never stage temporary files, `.claude/LOCAL.md`, credentials or game assets. The procedure and its pre/post-commit check scripts are in the `p3p3ds-commit` skill. diff --git a/CLAUDE.md b/CLAUDE.md index 4b5f610e..6798ef7a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -200,7 +200,7 @@ Every task is tracked by a GitHub issue and lands in `master` through a pull req 2. All regression, verification, and smoke tests have passed cleanly; 3. There is no explicit instruction from the user forbidding commits. 4. **Push** the branch (`git push -u origin `) and **open a pull request** into `master` whose body says what changed, how it was verified, and `Closes #`. CI runs on the pull request. -5. **Merge**: a pull request opened by `endercodezz` (also the ones the agent opens with the maintainer's `gh` login) is **auto-merged** with a merge commit once the required CI checks pass (`.github/workflows/automerge.yml`; `master` requires `Linux host build + tests`, `Windows host build + tests`, `New 3DS runtime (devkitARM)`). So open a pull request only for verified, finished work; work in progress is opened as a draft (`gh pr create --draft`), which is not auto-merged; `gh pr merge --disable-auto` stops a pending auto-merge. Other pull requests (contributors) are merged by the maintainer; the agent merges them only when the user says so. Always a merge commit, never squash or rebase (section 17). Releases are tagged on `master` after the merge. +5. **Merge**: a pull request opened by `endercodezz` (also the ones the agent opens with the maintainer's `gh` login) is **auto-merged** with a merge commit once the required CI checks pass (`.github/workflows/automerge.yml`; `master` requires `Linux host build + tests`, `Windows host build + tests`, `New 3DS runtime (devkitARM)`, `texpack (Rust)`, and `BinDiff` and `CPK tool` on both systems; the last two have the Zig version in their names, so a Zig update renames the required checks too). So open a pull request only for verified, finished work; work in progress is opened as a draft (`gh pr create --draft`), which is not auto-merged; `gh pr merge --disable-auto` stops a pending auto-merge. Other pull requests (contributors) are merged by the maintainer; the agent merges them only when the user says so. Always a merge commit, never squash or rebase (section 17). Releases are tagged on `master` after the merge. Never stage temporary files, `.claude/LOCAL.md`, credentials or game assets. The procedure and its pre/post-commit check scripts are in the `p3p3ds-commit` skill. diff --git a/README.md b/README.md index db96afcf..69f3d098 100644 --- a/README.md +++ b/README.md @@ -388,7 +388,7 @@ Without the game files (no `profiles/p3p/game/eboot.elf`) both CMake projects bu - `.github/workflows/ci.yml`, on every push to `master` and every pull request: Linux (GCC 14) and Windows (MSYS2 UCRT64 GCC) host build + CTest, New 3DS runtime in the `devkitpro/devkitarm` container (which also regenerates the `tools/texpack` fixtures with its `tex3ds` and fails on any difference), and `tools/texpack` clippy + tests with the pinned Rust toolchain. - The same workflow independently builds/tests BinDiff and the CPK tool on Windows/Linux using SHA-256-verified Zig 0.17.1 archives and synthetic fixtures; it requires no game data. -- `.github/workflows/automerge.yml`: a pull request opened by the maintainer (not a draft) is merged automatically, with a merge commit, once the three CI jobs pass; `master` requires them and takes changes only through pull requests. +- `.github/workflows/automerge.yml`: a pull request opened by the maintainer (not a draft) is merged automatically, with a merge commit, once the required CI jobs pass (the host and New 3DS builds, texpack, and BinDiff and the CPK tool on both systems); `master` requires them and takes changes only through pull requests. - `.github/workflows/release.yml`: pushing a tag `v` that matches `FileVersion` in `platform/pc/builder/builder.rc` builds the New 3DS runtime (debug info stripped), the Windows and Linux Builder packages with `make_release.py`, and publishes them as a GitHub release (an existing release of that tag gets the files replaced). Started by hand (Actions -> Release -> Run workflow, with a branch or commit) it only builds the packages as workflow artifacts, for a dry run. To release: bump the version in `builder.rc` in a pull request; after it is merged, tag `master`: `git tag v` and `git push origin v`.