mirror of
https://github.com/Comfy-Org/pyisolate.git
synced 2026-11-05 00:27:34 +00:00
[PR #21] docs: promote CLAUDE.md to AGENTS.md with Claude Code shim #21
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Comfy-Org/pyisolate#21
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Comfy-Org/pyisolate/pull/21
Author: @mattmillerai
Created: 9/16/2026
Status: 🔄 Open
Base:
main← Head:matt/be-3565-promote-claudemd-to-agentsmd📝 Commits (3)
227e5c5docs: promote CLAUDE.md to AGENTS.md with Claude Code shim2f27302docs(AGENTS.md): fix version, label partial export list, add ruff format check446055bdocs(AGENTS.md): note tox lint's broader ruff scope vs the CI gate📊 Changes
2 files changed (+128 additions, -124 deletions)
View changed files
➕
AGENTS.md(+126 -0)📝
CLAUDE.md(+2 -124)📄 Description
ELI-5
Different AI coding tools look for their instructions in different files. Claude Code reads
CLAUDE.md; most other agents (Codex, Cursor, Amp) readAGENTS.md. Today this repo only hasCLAUDE.md, so every non-Claude agent gets zero guidance. This PR makesAGENTS.mdthe single source of truth (the same content, plus small accuracy fixes) and leaves a tinyCLAUDE.mdthat just imports it, so every tool reads the same instructions.What changed
Renamed
CLAUDE.md→AGENTS.md(viagit mv). The content is carried over except for the H1 heading and four review fixes, listed below.Added a new
CLAUDE.mdcontaining exactly the canonical Claude Code shim:Generalized the one Claude-specific line: the H1 heading
# CLAUDE.md→# AGENTS.md, so the file's title matches its new name. This is the org standard's "generalize Claude-specific phrasing" step (the body's opening line was already generic — "Guidance for AI agents…"). Flagging it as the single judgment call in this PR.Review fixes to
AGENTS.md, from CodeRabbit: the stale versionv0.10.1is now the source version0.10.2(matchingpyproject.tomland__init__.py); the__init__.pyrow now says "Key exports" and points to the full Public API Surface list; the Code quality block adds the CI gate'sruff format --check pyisolate tests; and a comment there notes thattox -e lintuses a broader.scope (example/, docs/, README.md) that is not clean today, which is why the commands listed match the CI gate instead.Verification
.cursorrulesexists (nothing to remove).CLAUDE.mdreference anywhere in the repo is the new shim itself (grep -rn CLAUDE.md).CLAUDE.md/AGENTS.mdfiles exist — this is a root-only change.CLAUDE.mdagainst the newAGENTS.md: the only differences are the H1 line and the four review fixes listed above.pyisolate tests) is unaffected by markdown; pre-commit's whitespace/EOF hooks pass (single trailing newline, no trailing whitespace on either file).Provenance
grep -rn CLAUDE.md: only the shim references it.CLAUDE.mdagainstAGENTS.mdshows only the H1 line and the four review fixes.pyproject.tomlandpyisolate/__init__.py, and the ruff scope against.github/workflows/ci.yml.ruff check/ruff format --checkonpyisolate testspass; on.they report 20 lint errors inexample/and 9 unformatted files inexample/,docs/and README.md, all present onmaintoo.mainat the same base8ff4733(asyncio event-loop errors plus a cuda_wheels tag assertion), so they predate this PR.# CLAUDE.mdto# AGENTS.md, following the standard's "generalize Claude-specific phrasing" step.AGENTS.mdis no longer byte-identical to the oldCLAUDE.mdbody.Residual
None. All acceptance criteria are met:
CLAUDE.mdholds exactly the canonical shim,AGENTS.mdcarries the prior content (H1 and the review fixes aside), no.cursorrulesexists, and there are no nested instruction files to migrate.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.