Enforce Ubuntu runner policy
This commit is contained in:
@@ -9,6 +9,14 @@ This file is for Codex agents working on the Codex Agent Repository Kit itself.
|
||||
- If local changes exist, preserve them and do not overwrite user work.
|
||||
- Conserve context tokens: use `rg`, targeted file reads, and short summaries instead of loading unrelated files or long logs.
|
||||
|
||||
## Runner Policy
|
||||
|
||||
- The only supported build runners are the Gitea global runners `global-runner-1`, `global-runner-2`, and `global-runner-3`.
|
||||
- Use only these Linux runner labels in workflow templates and generated setup instructions: `ubuntu-latest`, `ubuntu-24.04`, and `ubuntu-22.04`.
|
||||
- Never run project builds, tests, audits, package jobs, installers, dependency bootstraps, or release jobs on the local machine. Use the Gitea Ubuntu runners so the user's machine stays clean.
|
||||
- Do not introduce Windows or macOS runners. If a project appears to need Windows-specific tooling, document or implement an open-source Linux-compatible workaround that runs on the Ubuntu runners.
|
||||
- Lightweight local checks are allowed when they do not install dependencies or create build artifacts, for example JSON parsing, manifest path checks, `rg`, `git diff --check`, and API status checks.
|
||||
|
||||
## Repository Purpose
|
||||
|
||||
This repository ships reusable baseline files for other repositories:
|
||||
@@ -21,6 +29,7 @@ This repository ships reusable baseline files for other repositories:
|
||||
## Editing Rules
|
||||
|
||||
- Keep repository owner, repository name, project names, and local paths dynamic. This kit intentionally targets `https://git.wilkensxl.de` and SSH port `2222`, so keep that host/port consistent in user-facing setup and Gitea workflow defaults.
|
||||
- Keep workflow examples and generated CI defaults on the supported Ubuntu runner labels only.
|
||||
- If a new placeholder is introduced, update `manifest.json`, the README placeholder list, and placeholder scans in workflow templates.
|
||||
- Keep `README.md` user-facing. Put agent operating rules in this file or the workflow docs.
|
||||
- Keep `files/AGENTS.md` generic; it is copied into target repositories and must not describe this repository specifically.
|
||||
|
||||
Reference in New Issue
Block a user