From cda760ab0d7d433a49a614e625e5b626fda1b94f Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 21:36:31 +0000 Subject: [PATCH 1/2] Document rule severity and CI rules in AGENTS.md. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Vdh4Z6Jr8DCYUFV1uSSYCq --- AGENTS.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/AGENTS.md b/AGENTS.md index 13a3c66..d3fb317 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -32,6 +32,17 @@ git add vendor/anti-slop `recommended` enables every anti-slop rule, so a new upstream rule becomes an error in every consumer. Add a `.tegami/` entry that names new rules and choose `minor`. +## Rule severity + +- Every rule in `recommended` is an error, and `recommended` sets the `correctness` category to `error`. Do not add `warn` severity. Consumers run `oxlint --deny-warnings`. +- A new or stricter rule fails lint in every consumer. Fix the findings in each consumer in the same rollout, or add the rule with a scoped consumer override and a stated reason. Do not ship a rule as `warn` first. + +## CI workflows + +- This repository is public. Jobs run on GitHub-hosted runners (`ubuntu-latest`). Never use self-hosted runner labels in this repository. +- Use major tags for GitHub Actions. Do not pin an action to a commit SHA or an exact version. +- Renovate opens dependency pull requests from the shared `SolZeroAI/renovate-config` preset. Submodule updates for `vendor/anti-slop` open their own pull request and do not merge automatically. + ## Validation Run these commands from the repository root before handoff: From 7b5a241c22cbbb1ad08a0af4020625d98efa32ef Mon Sep 17 00:00:00 2001 From: Claude Date: Mon, 2 Nov 2026 21:38:37 +0000 Subject: [PATCH 2/2] Use the setup-nub major tag. Co-Authored-By: Claude Opus 5.5 Claude-Session: https://claude.ai/code/session_01Vdh4Z6Jr8DCYUFV1uSSYCq --- .github/workflows/release.yml | 2 +- .github/workflows/validate.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7eb9fdc..1743343 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -49,7 +49,7 @@ jobs: token: ${{ steps.release-token.outputs.token }} - name: Set up Nub - uses: nubjs/setup-nub@v0.6.0 + uses: nubjs/setup-nub@v0 with: nub-version: 0.9.6 node-version-file: .nvmrc diff --git a/.github/workflows/validate.yml b/.github/workflows/validate.yml index f653c8e..9178b34 100644 --- a/.github/workflows/validate.yml +++ b/.github/workflows/validate.yml @@ -27,7 +27,7 @@ jobs: submodules: true - name: Set up Nub - uses: nubjs/setup-nub@v0.6.0 + uses: nubjs/setup-nub@v0 with: nub-version: 0.9.6 node-version-file: .nvmrc