Skip to content

Add AGENTS.md and move every dependency to its latest major behind a 6-day cooldown - #1

Merged
samiashi merged 5 commits into
mainfrom
chore/agents-md-latest-deps
Nov 11, 2026
Merged

samiashi merged 5 commits into
mainfrom
chore/agents-md-latest-deps

Conversation

@samiashi

Copy link
Copy Markdown
Owner

What changes

  • AGENTS.md: rules agents tend to get wrong here, such as version bumps, the generated Codex skills, the Python 3.9 floor, workflow hardening and the cooldown. A one-line CLAUDE.md imports it, so Claude Code reads the same file.
  • Latest majors: CI now runs on ubuntu-26.04, Node 26 LTS (.nvmrc pinned to exactly 26.13.0), and Python 3.9 plus 3.15. The Claude CLI is 2.1.318 and ruff is 0.17.3: the newest releases that are at least 6 days old. The other pins (actions, uv, zizmor, actionlint) were already the newest.
  • A 6-day release-age cooldown that holds:
    • Dependabot, .npmrc min-release-age and uv exclude-newer only gate resolution. npm ci and uv sync --locked install whatever the lockfiles pin.
    • The new scripts/check_release_age.py closes that gap. On pull requests it fails any npm or uv version that a lockfile adds, and any new .nvmrc, published within the window. On every build it fails if the cooldown settings disagree.
  • Coverage: the real Codex build now runs on every tested Python. Before, nothing exercised it on 3.9.
  • Docs: AGENTS.md and CONTRIBUTING.md say exactly what enforces what, list the pins Dependabot doesn't update, and state how make check differs from CI.

Dependabot security updates skip the cooldown by design, so they'll fail the new check. An admin merges those through the ruleset bypass.

Checks

Run locally on the final tree:

  • ruff (check and format)
  • plugin checks against origin/main
  • the release-age check, run live against npm and nodejs.org
  • zizmor and actionlint
  • unit tests on Python 3.9 and 3.15 (2 expected failures, both pre-existing scanner bugs)
  • claude plugin validate in a clean home folder

A pre-PR deep review in fix mode, with Claude and Codex finders run in parallel, found 7 Low or Nit issues. All are fixed in this branch.

No plugin files change, so there's no version bump or release.

CLAUDE.md imports it so Claude Code and Codex read the same instructions.
CI runs on ubuntu-26.04, Node 26 LTS, and Python 3.9 plus 3.15. The Claude CLI is pinned to 2.1.318 and ruff to 0.17.3, the newest releases at least 6 days old. Dependabot, .npmrc min-release-age and uv exclude-newer all enforce the same 6-day cooldown; zizmor is configured to accept it, and actionlint is told about the ubuntu-26.04 label it predates.
The unit-test matrix includes macOS's python3 3.9, so a builder that uses a newer standard-library API now fails CI instead of breaking make codex-skills.
…tall

npm ci and uv sync --locked install the lockfiles as is, and setup-node downloads whatever .nvmrc names, so the resolver settings alone never stopped a young version. scripts/check_release_age.py now fails a pull request that adds an npm or uv version, or a .nvmrc, published within the window, and fails any build whose cooldown settings disagree. .nvmrc is pinned to the exact Node 26.13.0, package.json requires npm 11.10+, uv requires 0.10+, and make check uses the committed uv.lock as CI does.
List the pins Dependabot doesn't update and how to bump them, explain the security-update bypass, and state the differences between make check and CI.
@samiashi
samiashi merged commit 9bb138e into main Nov 11, 2026
9 checks passed
@samiashi
samiashi deleted the chore/agents-md-latest-deps branch November 11, 2026 07:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant