ci: 정본↔docs/en 미러 동기화 검사 추가 - #10
Merged
Merged
Conversation
docs/en/CLAUDE.md가 플러그인 패키징(7/22) 이후 한 달 가까이 옛 판에 머물렀다. 정본만 고치고 미러를 두고 가는 걸 막는 장치가 없었기 때문이다. 이 저장소의 첫 CI다. - scripts/check-mirror-sync.sh — 의존성 없는 bash 검사기 - PR 모드(기본): 변경분에서 정본이 바뀌었는데 docs/en 미러가 안 바뀌면 실패 - 감사 모드(--audit): 저장소 전체에서 미러가 정본보다 낡은 쌍을 보고 - 대상은 CLAUDE.md·AGENTS.md·agents/·reference/ (미러 규칙은 docs/en/<경로>) - README.md↔README.ko.md는 한쪽만 고치는 일이 정상이라 경고만 한다 - 한글 파일명이 이스케이프되지 않도록 core.quotepath=false를 강제한다 - .github/workflows/mirror-sync.yml — PR에서 실행, 'mirror-sync-exempt' 라벨이 있으면 건너뛴다 - CLAUDE.md·docs/en/CLAUDE.md·CONTRIBUTING.md에 규칙과 실행법 기재 (CONTRIBUTING의 미러 설명이 옛 .claude/ 레이아웃을 가리키던 것도 교정) 번역의 정확성은 검사하지 않는다 — "같이 갱신했는가"만 본다. 곁들여: 동반 설치 안내의 게이트웨이 도구 수를 29종 → 30종으로 교정한다 (oda-intelligence가 corpus overview 도구를 추가해 표면이 30종이 되었다). Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
왜
docs/en/CLAUDE.md가 플러그인 패키징(7/22) 이후 한 달 가까이 옛 판에 머물렀습니다. 정본만 고치고 미러를 두고 가는 걸 막는 장치가 없었기 때문입니다. 이 저장소의 첫 CI입니다.무엇
scripts/check-mirror-sync.sh— 의존성 없는 bash 검사기(두 모드)docs/en미러가 안 바뀌면 실패--audit)CLAUDE.md·AGENTS.md·agents/**·reference/**(미러 규칙 =docs/en/<같은 경로>)README.md↔README.ko.md는 한쪽만 고치는 일이 정상이라 경고만 합니다(실패 아님)\354…로 이스케이프되면 경로 비교가 깨지므로core.quotepath=false를 강제합니다.github/workflows/mirror-sync.yml— PR에서 실행. 한쪽만 바꾸는 것이 의도된 PR은mirror-sync-exempt라벨로 건너뜁니다.규칙과 실행법은
CLAUDE.md·docs/en/CLAUDE.md·CONTRIBUTING.md에 적었습니다. CONTRIBUTING의 미러 설명이 옛.claude/레이아웃을 가리키던 것도 함께 고쳤습니다.검증 (네 경우 실측)
CLAUDE.md만 변경이 PR 자체에도 검사기를 돌려 통과하는 것을 확인했습니다(
CLAUDE.md → docs/en/CLAUDE.md 같이 갱신됨).이 PR은 막지 않습니다(PR 모드는 변경분만 보므로). 다만
--audit을 돌리면 에이전트 영문 미러 12개 전부가 낡은 것으로 나옵니다:agents/*.md는 플러그인 패키징(2db9167, 7/22)에서 "기준 문서 경로 (플러그인)" 절이 추가됐습니다 — 에이전트가 상대경로로reference/…를 못 찾으니 위임 프롬프트의 절대경로를 쓰라는 지침입니다.docs/en/agents/*.md는246ec25(7/3)이 마지막이라 그 절이 없습니다.12개 파일에 같은 절을 번역해 넣는 별도 작업이 필요합니다. 원하시면 이어서 처리하겠습니다.
곁들여
동반 설치 안내의 게이트웨이 도구 수를 29종 → 30종으로 고쳤습니다(oda-intelligence가 corpus overview 도구를 추가해 표면이 30종이 되었습니다).
🤖 Generated with Claude Code