diff --git a/AGENTS.md b/AGENTS.md index cc11c49..3df1803 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -222,6 +222,6 @@ worktree so a test can see it. Read it in place. - `docs/guide/` is the bilingual GitHub Pages site. Every visible string exists in English and Korean. `python3 tools/check_guide.py` is its test; run it after any guide change. - No Markdown files directly under `docs/` other than `INTENT.md` and `SPEC.md`; other documents go - in a topic subdirectory. `README.md` must not link to `AGENTS.md`, `PROJECT.md`, `CLAUDE.md`, + in a topic subdirectory. `README.md` must not link to `AGENTS.md`, `PROJECT.md`, `docs/INTENT.md` or `docs/SPEC.md` — those files do not exist on `main`. -- `CLAUDE.md` contains exactly one line, `@AGENTS.md`. Rules go in this file. +- There is no `CLAUDE.md`: Claude Code reads this file directly. Rules go here. diff --git a/CLAUDE.md b/CLAUDE.md deleted file mode 100644 index 43c994c..0000000 --- a/CLAUDE.md +++ /dev/null @@ -1 +0,0 @@ -@AGENTS.md diff --git a/tools/release/README.md b/tools/release/README.md index b3243ca..9cf1d89 100644 --- a/tools/release/README.md +++ b/tools/release/README.md @@ -25,7 +25,7 @@ ignored and overwritten. ## What is dropped on release -- every `*.md` at the repository root except `README.md` (including `CLAUDE.md`, `AGENTS.md`) +- every `*.md` at the repository root except `README.md` (including `AGENTS.md`, `PROJECT.md`) - every `*.md` directly inside `docs/` Kept: everything else, including Markdown in `docs//` and nested `README.md` files. diff --git a/tools/release/test-sync-release.sh b/tools/release/test-sync-release.sh index cba1d31..15dbf8f 100755 --- a/tools/release/test-sync-release.sh +++ b/tools/release/test-sync-release.sh @@ -23,7 +23,7 @@ mkdir -p "$R" && cd "$R" || exit 1 git init -q -b develop . git config user.name t; git config user.email t@example.com mkdir -p docs/guide docs/sub sub/deeper -for f in README.md CLAUDE.md AGENTS.md ROADMAP.md docs/a.md docs/b.md \ +for f in README.md PROJECT.md AGENTS.md ROADMAP.md docs/a.md docs/b.md \ docs/sub/c.md docs/guide/index.html docs/x.png sub/README.md \ sub/deeper/notes.md build.gradle.kts LICENSE; do echo "$f" > "$f" @@ -58,7 +58,7 @@ for p in README.md docs/sub/c.md docs/guide/index.html docs/x.png sub/README.md sub/deeper/notes.md build.gradle.kts LICENSE; do check "kept: $p" in_rel "$p" done -for p in CLAUDE.md AGENTS.md ROADMAP.md docs/a.md docs/b.md; do +for p in PROJECT.md AGENTS.md ROADMAP.md docs/a.md docs/b.md; do check "dropped: $p" bash -c "! git cat-file -e release:$p" done check "release README is the committed one" test "$(git show release:README.md)" = "README.md"