Skip to content

[DONE] 정리 2단계를 닫는다 — 드리프트 검사 여덟 개가 CI 에서 다 통과하고, 링크 1072개가 다 닿는 지도를 커밋한다 - #37

Merged
patternflow-bot merged 2 commits into
devfrom
claude/patternflow-cleanup-step2-pr13-ape7br
Oct 15, 2026
Merged

patternflow-bot merged 2 commits into
devfrom
claude/patternflow-cleanup-step2-pr13-ape7br

Conversation

@patternflow-bot

@patternflow-bot patternflow-bot commented Oct 15, 2026 •

Copy link
Copy Markdown

dev / https://claude.ai/code/session_01N6wbCFKS6riwDta1mC9NG1

정리 2단계 PR 1~12 가 모두 dev 에 머지돼서, 계획서 k13 대로 문서 지도를 다시 만들고 §2.4 의 「done when」을 확인했다. 드리프트 검사 여덟 개가 이 PR 의 CI 에서 엄격 모드로 다 통과했고, 로드맵 검사가 원래 레포 이슈 14개를 읽어 어긋남이 없으니 k14 는 열지 않는다. 머지하면 링크 1072개가 모두 닿는 지도가 커밋되고, 2단계는 진행 기록에 적는 일만 남는다(그 글은 아래에 있다).

좋아지는 것: 없음

할 일

한 일

지도. dev 에 마지막으로 커밋된 맵(#23, 1066행)에 그 뒤 쌓인 6행을 싣는다. no 는 0행이다.

짝 목록은 다시 만들어도 한 바이트도 안 바뀐다(1366쌍).

증거

$ git fetch --tags                       # 28 tags
$ cd web && npm ci && npm run doc-map
1072 links from 214 files → docs/investigations/2026-10-doc-map.csv
0 do not resolve
1366 Korean/English pairs → docs/investigations/2026-10-doc-parity.csv
7 en-short, 18 ko-short, 1 missing-ko, 1340 ok
$ npm run doc-map; cmp (앞 결과)          # second run byte-identical
$ git diff --stat origin/dev
 docs/investigations/2026-10-doc-map.csv | 6 ++++++

$ npm run check:ci            # 26개 다 통과, 끝이 check:drift
 Test Files  35 passed (35)
      Tests  478 passed (478)
passed bom · bom-schematic · changelog · editions · features · links-absolute · presets
skipped  roadmap              # 이 세션은 engmung/Patternflow 를 못 읽는다 (D2). CI 는 아래
$ npm run typecheck           # 깨끗
$ npm run lint                # ✖ 12 problems (0 errors, 12 warnings), 0단계 기록의 경고 12개 그대로
$ npm run check:human-lock    # this diff touches 0 locked files
$ npm run check:voice         # nothing found
$ python3 .github/scripts/check_links.py
all 683 relative links resolve

head 924d447 의 CI: Drift checks success (job 116215598664, PF_DRIFT_STRICT: 1), Docs point at files that exist success. Drift 로그 끝:

── roadmap
issues on engmung/Patternflow, by gh:
  #16 closed … #288 closed          (14개, 모두 done 노드)
done nodes with an open issue: same
planned nodes with a closed issue: same
passed   bom
passed   bom-schematic
passed   changelog
passed   editions
passed   features
passed   links-absolute
passed   presets
passed   roadmap
base: bc4f459 (PF_LOCK_BASE)
locked: 74 journal files, 33 release files, docs/manifesto.md, 3 README sections, Part 1 of 2 RFCs, 166 roadmap strings, 0 paths in docs/.human-written
check:human-lock: no locked words changed

§2.4 「done when」. 일곱 스크립트(links-absolute·bom·bom-schematic·features·editions·presets·roadmap)와 1단계가 보낸 changelog 가 web/scripts/drift/ 에 있다. check:ci 끝(web-ci.yml)과 모든 PR 의 drift.yml 에서 돌고, HEAD 에서 엄격 모드로 다 통과한다. 맞다.
2단계가 더한 셋. §2.9 check:human-lock 은 drift.yml 이 PR 마다 base SHA 로 돌리고 이 PR 에서도 돌았다. §2.10 check:voice 는 있고 손으로 돈다(D6). AGENTS.md 50행에 「Writing voice (hard rule)」 블록과 세 명령 줄이 있다. 맞다.

실행법

git fetch --tags && (cd web && npm ci && npm run doc-map) && git diff --stat
cd web && PF_DRIFT_STRICT=1 GH_TOKEN=… npm run check:drift

가정

  • 작업 글대로 표의 PR 13 파일 중 docs/rfc-cleanup-progress.md 는 고치지 않았다. 계획서 k13 은 거기에 2단계를 적으라고 하지만, 1단계 C3([DONE] 정리 1단계를 닫는다 — docs 안내 두 장이 옮긴 자리와 맞고, 링크 1066개가 다 닿는 지도를 커밋한다 #23)와 같이 넣을 글을 아래에 붙여 쓸 수 있게 두었다. 진행 기록엔 1단계 글도 아직 안 들어가 있어서, 머리 줄은 둘 다 들어간 뒤의 꼴로 썼다.
  • 앞 PR 이 「k13 이 싣는다」고 넘긴 것 중 둘(아래)은 다른 행 파일(web/scripts/doc-map.ts 는 k2, web/README.md 는 k12)이다. 작업 글이 표의 PR 13 파일만 고치라고 해서 싣지 않고 고칠 줄을 적어 넘긴다. 둘 다 CI 엄격 실행에는 영향이 없다.
  • k14 는 열지 않는다. 계획서의 조건 「only if k6's first CI run finds any」가 안 생겼다([DONE] 정리 2단계 PR 6 — /roadmap 노드 상태가 그 이슈의 열림·닫힘과 어긋나면 CI 가 빨개지는 검사 #34 의 첫 실행과 이 PR 의 실행 모두 어긋남 0).
  • 지도의 editions.ts → / 행은 doc-map 이 스크립트 안 문자열을 읽는 기존 방식대로 나온 것이라 지우지 않았다. 지우려면 doc-map.ts(k2 행)를 고쳐야 한다.
  • 300줄(§2.1): CSV 6줄, 생성물이다.
  • 라벨 cleanup·step-2(D7)는 포크에 없어 달지 않았다(앞 PR 들과 같다).

Changelog

Docs

  • The doc map is regenerated at the close of step 2 of the cleanup. All 1072 of its links resolve. The six new rows are links the step 2 pull requests and the step 5 plan added.

Upstream

  • What: regenerate docs/investigations/2026-10-doc-map.csv at the close of cleanup step 2. The parity CSV comes out byte-identical, and no other file changes.
  • Checks: npm run check:ci (26 suites), npm run typecheck, npm run lint (0 errors), npm run check:human-lock, python3 .github/scripts/check_links.py; in drift.yml, npm run check:drift passes all eight checks strict, roadmap included.
  • Docs map: six rows added, all resolving: CONTRIBUTING.md to the lock section of rfc-cleanup.md, three out of the step 5 plan, one from rfc-cleanup-progress.md to that plan, and a site row from web/scripts/drift/editions.ts.

for another k

**Where it stands: steps 0, 1 and 2 done, step 3 next; step 5 may start (§2.12).** Baseline SHA `8226f7e`.

| 2 | Drift checks: … (그대로) | done ([#25](https://github.com/Patternflow-lab/Patternflow/pull/25)–[#37](https://github.com/Patternflow-lab/Patternflow/pull/37)) |
## Step 2 — drift checks

Thirteen PRs, 15 October 2026: [#25](https://github.com/Patternflow-lab/Patternflow/pull/25)
to [#36](https://github.com/Patternflow-lab/Patternflow/pull/36) as cut by
[investigations/2026-10-cleanup-step2-plan.md](investigations/2026-10-cleanup-step2-plan.md),
and [#37](https://github.com/Patternflow-lab/Patternflow/pull/37) to close it.
k14 was not opened. The roadmap check's first run in CI found no drift.

`npm run check:drift` in `web/` runs each file in `web/scripts/drift/`. There
are eight: the seven of §2.4 and `check:changelog`, which step 1 sent here.
`check:ci` ends with it. `.github/workflows/drift.yml` runs it on every pull
request with `PF_DRIFT_STRICT=1`, so a side a check cannot read fails there
instead of skipping. On a pull request the same workflow runs
`check:human-lock` against the base commit (§2.9). `check:voice` (§2.10) is
run by hand, and `AGENTS.md` carries the §2.10 rule with one line for each
command.

At [#37](https://github.com/Patternflow-lab/Patternflow/pull/37) all eight
pass in CI. `check:roadmap` read 14 issues on `engmung/Patternflow`, every one
closed and every one on a `done` node. `check:bom-schematic` finds the BOM's
nine designators in the schematic's text layer, so it was strict from its
first day and the warn-only clause of §2.4 went unused. The lock holds 74
journal files, 33 release files, the manifesto, the README's three story
sections, Part 1 of two RFCs and 166 roadmap strings. `docs/.human-written`
lists no path yet (answer 5).

The doc map has 1072 links out of 214 files, every one resolving. The parity
list is unchanged at 1366 pairs.

🤖 Generated with Claude Code

https://claude.ai/code/session_01N6wbCFKS6riwDta1mC9NG1

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01N6wbCFKS6riwDta1mC9NG1
@patternflow-bot patternflow-bot changed the title [WIP] Patternflow 정리 2단계 PR 13 [WIP] 정리 2단계를 닫는다 — 드리프트 검사 여덟이 CI 에서 다 초록이고, 링크 1072개가 다 닿는 지도를 커밋한다 Oct 15, 2026
@patternflow-bot patternflow-bot changed the title [WIP] 정리 2단계를 닫는다 — 드리프트 검사 여덟이 CI 에서 다 초록이고, 링크 1072개가 다 닿는 지도를 커밋한다 [DONE] 정리 2단계를 닫는다 — 드리프트 검사 여덟 개가 CI 에서 다 통과하고, 링크 1072개가 다 닿는 지도를 커밋한다 Oct 15, 2026
@patternflow-bot
patternflow-bot marked this pull request as ready for review October 15, 2026 02:38
@patternflow-bot
patternflow-bot merged commit e3d3e83 into dev Oct 15, 2026
2 checks passed
@patternflow-bot
patternflow-bot deleted the claude/patternflow-cleanup-step2-pr13-ape7br branch October 15, 2026 02:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants