docs: AGENTS.md — Linux-only CI policy after removing legacy workflows

This commit is contained in:
2026-11-29 16:36:44 +00:00
parent 4698755965
commit 1568f4a257
+8 -5
View File
@@ -211,7 +211,7 @@ Top level:
| `CMakeLists.txt`, `src/CMakeLists.txt` | the primary build |
| `printHash.sh` / `printHash.bat` | premake-time equivalent of the CMake `GitSHA1.cpp` generation |
| `.gitea/` | Gitea Actions CI (Linux: configure+build as in §3.2) |
| `.github/` | historical upstream GitHub Actions workflows — reference only |
| `.github/` | issue/PR templates only — upstream workflows (Windows MSVC, macOS conan, Switch) removed 2026-11-29 per the Linux-only CI policy |
| `AGENTS.md`, `CODING_STYLE.md`, `README.md` | policy |
Source subsystems (`src/`):
@@ -419,8 +419,11 @@ Do not "discover" these the hard way; assume they are load-bearing:
librw bump — that is the shape such a change takes).
* **`gamefiles/`** — shipped game data; changing it changes what players get and
requires asset knowledge.
* **`.github/`** — historical upstream CI, kept as a record. Current CI is
`.gitea/workflows/`.
* **`.github/`** — now only the issue/PR templates. The upstream Windows MSVC,
macOS conan and Switch workflows were removed on 2026-11-29 under the
maintainer's Linux-only directive; do not re-add them. Reversed-code provenance
still forbids touching the remaining templates without sign-off. CI is
Linux-only by policy (`.gitea/workflows/`).
* **`premake5.exe` / `premake5Linux`** binaries (checked-in tooling).
* **Policy text:** `README.md`'s Contributing/Installation/License sections and
`CODING_STYLE.md`. These express project policy and need human sign-off; an
@@ -459,8 +462,8 @@ Do not "discover" these the hard way; assume they are load-bearing:
7. **Never `git push`.** There are no push credentials. The orchestrator mirrors
local commits to the Gitea remote through the API. Do not rewrite published
history; do not force-push; do not create tags.
8. **CI is not your gate.** Gitea Actions need a registered runner (tracker issue:
runs stay queued without one). The local §3 build is the authoritative check.
8. **CI is live and green** — `.gitea/workflows/` runs as the server-side gate on
every push/PR. The local §3 build remains your fast pre-commit check.
Quick pre-commit checklist: