Skip to content

docs: rename CLAUDE.md to AGENTS.md and rewrite it - #41

Merged
fey merged 1 commit into
masterfrom
docs/agents-md
Sep 4, 2026
Merged

fey merged 1 commit into
masterfrom
docs/agents-md

Conversation

@fey

@fey fey commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

What

CLAUDE.md becomes AGENTS.md, with CLAUDE.md left as a symlink to it — the convention already used in Hexlet/hexlet-asciinema and in the exercise kit, so any agent finds the file under the name it looks for.

The content is rewritten, because three claims in it were wrong or missing:

  • dist/ is not committed. The old text said it is and told the agent to run make build before every commit. dist/ sits in .gitignore; release.yml builds it and force-adds it onto the release branch.
  • The rollout mechanics were absent. Student workflows are pinned to @release, and release is built automatically from a green test.yml on master, so anything landing on master reaches every student of every project. That is now the first section after the overview, together with what it implies: merges are a human's call, and release.yml installs with npm install, so even a docs-only commit on master rebuilds the shipped bundle.
  • make setup installs nothing. The target reads setup: pull setup; make drops the circular dependency, runs pull and exits 0. Both README.md and the old doc pointed at it as the install step. Documented here; the target itself is left alone for a separate change.

Also added: the fixture image name hexlet-project-source-ci_en is pinned in three places that have to agree (Makefile, server.js, __tests__/index.test.js), and the artifact glob starts one level below tmp/artifacts/.

Removed

The rtk instruction block (about 150 lines). It restates rtk --help, and it tells every agent in a shared repository to prefix every command with a binary most contributors do not have installed. Machine-specific tooling belongs in a personal global config (rtk init --global).

Checks

Documentation only — no source, workflow or action.yml changes, so nothing here reaches release behaviour.

🤖 Generated with Claude Code

The dist/ notes described a committed bundle; it is gitignored and built by
release.yml onto the release branch. Add the rollout mechanics of that branch,
the circular make setup target and the three places pinning the fixture image
name. Drop the rtk block: machine-specific tooling belongs in a global config,
not in a shared repository.
@fey
fey merged commit 10b3e09 into master Sep 4, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant