feat(blog): sprint-157 [P10] — ADR 콘텐츠 i18n + 자동 번역기 + /stop EN 의무#256
Merged
Conversation
docs/adr-en/ 영문 디렉토리 신규 (blog content/posts-en/ 패턴 계승) - loader.ts getAllAdrs(locale) 확장 — EN 우선 / KR fallback + hasEnTranslation 플래그 - 영문 라우팅 6 페이지가 'en' locale로 ADR 로드 → 영문판 있으면 사용, 없으면 KR + 배너 - scripts/translate-adr.mjs Claude API 자동 번역기 (CLI: --target/--all/--dry-run/--force) - scripts/check-adr-en-coverage.mjs lint (--lint warning / --strict fail) — Sprint 158+ 강제 활성화 예정 - ANTHROPIC_API_KEY 미설정으로 본 sprint 시범 번역은 스킵 — 인프라 + 스크립트만 완성 - /stop 워크플로우 + Scribe 페르소나에 KR+EN 동시 작성 의무 추가 - docs/adr-en/README.md 번역 정책 명문화 Sprint 152 시드 #19 (KR/EN 양면 plan 의무) 본격 적용 — 사용자 명시 요구. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Coverage ReportCoverage directory not found at /home/runner/work/AlgoSu/AlgoSu/coverage — no services changed, skipping coverage gate. |
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.
Summary
인프라
docs/adr-en/별도 디렉토리 (blogcontent/posts-en/패턴 계승)getAllAdrs(locale)시그니처 확장 — EN 우선 / KR fallback +hasEnTranslation플래그locale='en'호출로 전환KoreanOnlyBanner조건 변경:locale==='en' && !hasEnTranslation(영문판 보유 시 배너 제거)자동 번역기
scripts/translate-adr.mjs(310라인) — Claude APIclaude-opus-4-7사용--target/--all/--dry-run/--force/--helpANTHROPIC_API_KEY미설정 시 exit 2 + 안내 (placeholder 0)워크플로우 의무화
.claude/commands/stop.md— KR+EN 동시 작성 + 자동 번역기 호출 + 일관성 검증 4파일 + 완료 보고 EN 행.claude/commands/agents/scribe.md— Sprint 157 P10 KR+EN 의무 섹션 신설시범 번역 (사용자 직접 실행)
node scripts/translate-adr.mjs --target docs/adr/...실행하면 즉시 영문판 생성점진 활성화 lint
scripts/check-adr-en-coverage.mjs—--lint(WARN, 현재 105건) /--strict(Sprint 158+ CI hard gate 예정)Test plan
tsc --noEmit0 에러npm run build244 페이지 (KR 122 + EN 122)check-adr-links.mjs blog/out/adr1,109 links, 0 brokencheck-adr-links.mjs blog/out/en/adr1,213 links, 0 brokencheck-adr-conversion.mjs10/10 fixture, 105 ADR 파싱 성공check-doc-refs.mjs --include-untracked172 files, 0 broken refstranslate-adr.mjs --dry-run정상 동작 + API key 미설정 시 exit 2 안내후속 (Sprint 158+ 또는 사용자 즉시 실행)
--all로 나머지 95건 batchcheck-adr-en-coverage.mjs --strictCI hard gate 활성화🤖 Generated with Claude Code