Repository navigation
feat(docs-version-drift-check): docs:check가 현행 문서의 버전 표지를 package.json과 대조한다 - #114
Merged
hsleedevelop merged 5 commits intoSep 27, 2026
Conversation
overview 템플릿·생성본의 hero 배지·최신 🆕 배너·footer, what-changes-latest-version의 footer, index.html what-changes 목록 첫 항목을 대조한다. docs/ 최상위 HTML을 snapshot / "기준" 라벨 / 현행 / 무버전으로 결정론적으로 분류해, 현행인데 등록도 명시 제외도 없는 새 문서는 실패시킨다. harness-workflow-simulation.html은 본문 현행화가 먼저라 사유와 함께 명시 제외(followups 10번). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
codex 리뷰 P2 반영 — 판별은 artifact Reviews. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsleedevelop
force-pushed
the
ao/harness-aijient-team-plugin-8/docs-version-drift-check
branch
from
September 27, 2026 13:58
a613c77 to
876f861
Compare
…ss-aijient-team-plugin-8/docs-version-drift-check
hsleedevelop
added a commit
that referenced
this pull request
Sep 27, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
hsleedevelop
deleted the
ao/harness-aijient-team-plugin-8/docs-version-drift-check
branch
September 27, 2026 14:18
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의 HTML 문서 중 "현행"을 표방하는 문서의 버전 표지가
package.json과 어긋나도 가드가 없었다 —docs:check는 overview 생성본 바이트 대조뿐이라 green이어도 표지가 낡았다(overview 배지 두 세대 지연,시뮬레이션 footer v0.23.0 17릴리스 방치, 시뮬레이션 현재 v0.40.0). 이제
npm run docs:check가 대조한다.변경:
scripts/docs-version-drift.mjs신설,generate-harness-overview.mjs --check에서 호출(새 의존성·새 npm script 없음).what-changes-latest-version.htmlfooter(title·dd는 기존 테스트 몫),index.htmlwhat-changes 목록 첫 항목.표지를 못 찾아도 실패한다(가드가 조용히 꺼지지 않게).
*.html, 첫 일치 — 코드 머리 주석이 정본):-<버전>.html→ 제외<title>버전은 분류에 안 씀)명시 제외 항목이 current가 아니게 되면 "낡은 제외"로 실패한다.
docs/ao-worker-rules.md§3 한 줄, CHANGELOG[Unreleased]Added.docs/harness-workflow-simulation.html오케스트레이터 결정 A. 표지 셋이 v0.40.0이지만 본문 시나리오가 0.40.0 기준이라(적어도 0.42.1 handoff 단독 커밋 중단·
0.44.0 머지 후 종결 커밋 하나가 워크스루에 걸림) 표지만 고치면 틀린 문서에 현행 도장을 찍는다.
excludedCurrentDocuments에 사유와 함께 올렸고 후속 task는docs/followups.md10번(본문 현행화 →currentVersionDocuments로 이동).이 PR 이후에도 이 문서는 v0.40.0 그대로다.
검증
tests/docs-version-drift.test.mjs) — 모듈 부재로 red 확인 후 구현. 일치·낡은 표지·표지 제거·묶음 배너·주석 가림·분류 4종·미등록 현행 문서·낡은 제외·실제 레포 무드리프트npm testtests 1059 · pass 1058 · fail 0 (+ perf 1/1),npm run docs:check통과index.html최신 항목을 지우면docs:check가newest what-changes entry이(가) 0.44.1 — package.json은 0.44.2로 실패알려진 한계
npm test·docs:check가 빨갛다(what-changes 테스트와 같은 성질, 절차 5단계 순서와 일치).🤖 Generated with Claude Code