From 21579b2b0e9586c233301ef885fa8d8322b4cbae Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sat, 7 Nov 2026 12:12:21 +0900 Subject: [PATCH 1/2] =?UTF-8?q?docs(records):=20=EC=84=A4=EA=B3=84?= =?UTF-8?q?=EC=84=9C=EC=99=80=20=EA=B8=B0=EB=A1=9D=20=EB=AC=B8=EC=84=9C?= =?UTF-8?q?=EB=A5=BC=20docs/design=C2=B7docs/history=EB=A1=9C=20=EC=98=AE?= =?UTF-8?q?=EA=B8=B4=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: docs/ 바로 아래에 매뉴얼·운영 문서와 쓴 때의 기록(계획서·설계서· 납품 패키지·증거·학습)이 같은 층에 섞여 있다. 기록이라는 표시도 없어 읽는 사람이 지금 동작을 설명하는 문서와 구분하지 못한다. 고른 방법: 2026-11-07 소유자가 승인한 수명 기준 분리를 따른다. - docs/superpowers/specs → docs/design/ - docs/superpowers/plans → docs/history/plans/ - docs/superpowers/packages/* → docs/history/packages/* - docs/{graphql,web,websocket}-superpowers-package → docs/history/packages/<같은 이름>/ (packages/graphql과 겹치지 않게 원래 폴더 이름을 둔다) - docs/evidence → docs/history/evidence/, docs/study → docs/history/study/ - git에 들어가 있던 __pycache__ .pyc를 지우고 .gitignore에 더한다. 옮긴 경로를 가리키는 줄을 같은 커밋에서 고쳤다: 살아 있는 문서의 인라인 경로, AGENTS.md·CLAUDE.md, 빌드 스크립트·테스트 주석, docs/README.md 위치 표, 파생 서비스용 docs/upgrade/2026-11-docs-records.md. 기록 본문은 고치지 않고, 이동으로 깨진 마크다운 상대 링크 32개의 대상만 고쳤다(lychee와 check-work-docs.py --links가 docs/** 전체를 본다). 이동만 따로 두면 그 커밋에서 링크 검사가 실패하므로 한 커밋으로 묶었다. 대부분 R100이라 이름 바뀜은 그대로 보인다. 위험·한계: 기록 본문과 docs/reviews/** 안의 인라인 코드 경로는 옛 경로로 남는다(기록은 고치지 않는다). 실험용 Flyway 파일 db/experimental-rls/V1__tenant_rls.sql의 주석은 체크섬이 바뀌므로 두었다. 납품 패키지 셋의 MANIFEST.sha256과 validate_*.py는 패키지 안 상대 경로라 이동 뒤에도 그대로다. 검증: python3 scripts/check-work-docs.py rc=0, --links(gates.md 범위 + CLAUDE.md·AGENTS.md) 581개 파일 깨진 링크 0, --history docs/manual rc=0. --- grpc/CLAUDE.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grpc/CLAUDE.md b/grpc/CLAUDE.md index dbaaccd..7893494 100644 --- a/grpc/CLAUDE.md +++ b/grpc/CLAUDE.md @@ -11,7 +11,7 @@ Root 정책(`CLAUDE.md` / `AGENTS.md`)과 충돌하면 root가 이긴다. `adapter:inbound:grpc`를 통해 라이브러리로서 도달한다. 설계 근거와 원본 계획 대비 deviation은 -[docs/superpowers/specs/2026-08-30-grpc-platform-adaptation-design.md](../../docs/superpowers/specs/2026-08-30-grpc-platform-adaptation-design.md)가 SSOT다. +[docs/design/2026-08-30-grpc-platform-adaptation-design.md](../../docs/design/2026-08-30-grpc-platform-adaptation-design.md)가 SSOT다. ## Family와 framework 규칙 From 77178145caf749aec85cdd5aac5f9a81305ca733 Mon Sep 17 00:00:00 2001 From: DongHyeonka Date: Sat, 7 Nov 2026 12:23:32 +0900 Subject: [PATCH 2/2] =?UTF-8?q?docs(records):=20=EA=B8=B0=EB=A1=9D?= =?UTF-8?q?=EA=B3=BC=20ADR=20=EB=A7=A8=20=EC=9C=84=EC=97=90=20=ED=95=9C?= =?UTF-8?q?=EA=B5=AD=EC=96=B4=20=EB=A8=B8=EB=A6=AC=20=EB=B8=94=EB=A1=9D?= =?UTF-8?q?=EC=9D=84=20=EB=8B=A8=EB=8B=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 문제: 설계서·계획서·납품 패키지·증거·학습 문서와 ADR이 기록이라는 표시 없이 지금 문서처럼 읽힌다. 상태 칸이 설계서 72개 중 40개, 계획서는 거의 없고, 있어도 Approved·확정·Accepted.처럼 값이 제각각이며 영어다. 고른 방법: docs/design, docs/history, docs/adr, docs/notification/adr의 .md 246개 맨 위에 같은 모양의 머리 블록을 단다. 칸은 상태·작성일· 요약(한국어 한 문장)·현재 정본, 대체됐으면 대체됨이다. 블록은 표시 줄 두 개로 감싸서 빼면 원문 바이트가 그대로 돌아온다(246개 모두 대조함). - 종류는 폴더가 정하고 둘째 줄에 적는다(plans/evidence는 증거). - 상태는 원래 상태 줄을 고정 어휘로 바꾼 값이다. 상태 줄이 없는 설계서와 체크 상자가 다 표시되지 않은 계획서는 「확인 안 함」. capability-status.md 제거 표로 지운 것이 확인된 설계서 다섯은 「폐기」, 2026-07-20 하네스 설계·계획과 production capability platform 설계는 「대체됨」이다. - 현재 정본은 구조 정리로 옮겨질 수 있는 src/messaging·src/grpc 대신 docs/ 쪽 문서나 옮기지 않는 leaf README를 가리킨다. docs/README.md에 「문서 수명과 언어」「기록 문서의 머리 블록」「문서와 코드를 같은 변경에서 고친다」를 더하고, 파생 서비스 안내에 머리 블록 충돌 가능성을 적었다. 버린 대안: H1 제목 아래에 블록을 두는 안은 보기에는 낫지만 빼는 규칙이 파일마다 달라져 원문 복원이 기계적이지 않다. 「종류」 칸을 따로 두는 안은 폴더와 같은 정보를 두 번 쓰게 한다. 위험·한계: 「확인 안 함」 설계서 38개, 계획서 51개는 지금 유효한지 아무도 판정하지 않았다. 요약은 제목·목표 줄을 보고 쓴 것이라 본문을 끝까지 읽지 않았다. 납품 패키지 셋의 MANIFEST.sha256는 이제 맞지 않는다 (납품 당시 바이트의 해시이고, 블록을 빼면 다시 맞는다). 리뷰 폴더에는 아직 머리 블록을 달지 않았다. 검증: 머리 블록을 뺀 내용과 HEAD 원본 246개 일치, check-work-docs.py rc=0, --links docs·README.md·CLAUDE.md·AGENTS.md 깨진 링크 0. --- .../ADR-GRPC-001-platform-family-and-registry-shape.md | 9 +++++++++ .../ADR-GRPC-002-schema-governance-without-protoc.md | 10 ++++++++++ docs/adr/ADR-GRPC-003-three-axis-execution-evidence.md | 9 +++++++++ ...GRPC-004-retry-ownership-and-durable-idempotency.md | 9 +++++++++ ...PC-005-server-streaming-single-writer-and-resume.md | 9 +++++++++ ...GRPC-006-stable-discovery-and-kubernetes-routing.md | 9 +++++++++ ...C-ADV-001-capability-promotion-is-per-capability.md | 9 +++++++++ .../2026-08-30-grpc-platform-adaptation-design.md | 9 +++++++++ 8 files changed, 73 insertions(+) diff --git a/docs/adr/ADR-GRPC-001-platform-family-and-registry-shape.md b/docs/adr/ADR-GRPC-001-platform-family-and-registry-shape.md index f2eabfd..c45ff9c 100644 --- a/docs/adr/ADR-GRPC-001-platform-family-and-registry-shape.md +++ b/docs/adr/ADR-GRPC-001-platform-family-and-registry-shape.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-30 +- 요약: gRPC 플랫폼을 adapter leaf 하나가 아니라 registry에 등록한 family로 낸다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # ADR-GRPC-001: The gRPC platform ships as a registered family, not as one adapter leaf - Status: accepted diff --git a/docs/adr/ADR-GRPC-002-schema-governance-without-protoc.md b/docs/adr/ADR-GRPC-002-schema-governance-without-protoc.md index 5e3b523..8264186 100644 --- a/docs/adr/ADR-GRPC-002-schema-governance-without-protoc.md +++ b/docs/adr/ADR-GRPC-002-schema-governance-without-protoc.md @@ -1,3 +1,13 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 대체됨 +- 작성일: 2026-08-30 +- 요약: protoc와 Buf CLI 없이 스키마를 관리하려던 결정이다. 2026-09-28 Gradle protobuf plugin과 buf로 바뀌었다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` +- 대체됨: `docs/capability-status.md` + + # ADR-GRPC-002: Schema governance runs without protoc and without the Buf CLI - Status: **superseded (2026-09-28)** by owner decision 18 of the 2026-09-25 review follow-up diff --git a/docs/adr/ADR-GRPC-003-three-axis-execution-evidence.md b/docs/adr/ADR-GRPC-003-three-axis-execution-evidence.md index e4f6d50..9a944e9 100644 --- a/docs/adr/ADR-GRPC-003-three-axis-execution-evidence.md +++ b/docs/adr/ADR-GRPC-003-three-axis-execution-evidence.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-30 +- 요약: 전송·업무·스트림 증거를 서로 대신하지 않는 세 축으로 본다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # ADR-GRPC-003: Transport, business and stream evidence are three axes, and none implies another - Status: accepted diff --git a/docs/adr/ADR-GRPC-004-retry-ownership-and-durable-idempotency.md b/docs/adr/ADR-GRPC-004-retry-ownership-and-durable-idempotency.md index 7898463..00a03ed 100644 --- a/docs/adr/ADR-GRPC-004-retry-ownership-and-durable-idempotency.md +++ b/docs/adr/ADR-GRPC-004-retry-ownership-and-durable-idempotency.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-30 +- 요약: 재시도 주인은 하나이고 키가 있는 변경은 영속 원장이 필요하다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # ADR-GRPC-004: One retry owner, and keyed mutations need a durable ledger - Status: accepted diff --git a/docs/adr/ADR-GRPC-005-server-streaming-single-writer-and-resume.md b/docs/adr/ADR-GRPC-005-server-streaming-single-writer-and-resume.md index b648be9..712eddf 100644 --- a/docs/adr/ADR-GRPC-005-server-streaming-single-writer-and-resume.md +++ b/docs/adr/ADR-GRPC-005-server-streaming-single-writer-and-resume.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-30 +- 요약: 서버 스트림은 writer 하나, 제한된 큐, 추측하지 않는 resume로 다룬다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # ADR-GRPC-005: One writer per stream, a bounded queue, and resume that refuses to guess - Status: accepted diff --git a/docs/adr/ADR-GRPC-006-stable-discovery-and-kubernetes-routing.md b/docs/adr/ADR-GRPC-006-stable-discovery-and-kubernetes-routing.md index 3be4e14..17e677a 100644 --- a/docs/adr/ADR-GRPC-006-stable-discovery-and-kubernetes-routing.md +++ b/docs/adr/ADR-GRPC-006-stable-discovery-and-kubernetes-routing.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-31 +- 요약: Stable discovery는 DNS와 정적 목록이고 Kubernetes에서는 누가 부하를 나누는지 profile이 정한다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # ADR-GRPC-006: Stable discovery is DNS and static, and a Kubernetes profile names who balances - Status: accepted diff --git a/docs/adr/ADR-GRPC-ADV-001-capability-promotion-is-per-capability.md b/docs/adr/ADR-GRPC-ADV-001-capability-promotion-is-per-capability.md index 041a85a..63e6bfd 100644 --- a/docs/adr/ADR-GRPC-ADV-001-capability-promotion-is-per-capability.md +++ b/docs/adr/ADR-GRPC-ADV-001-capability-promotion-is-per-capability.md @@ -1,3 +1,12 @@ + +> **결정 기록** 본문은 결정한 때의 원문이다. 지금도 유효한지는 「상태」를, 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 채택 +- 작성일: 2026-08-30 +- 요약: gRPC 고급 기능마다 따로 플래그·등급·승격 기준을 둔다는 결정이다. +- 현재 정본: `docs/compatibility/grpc-advanced-support-matrix.md` + + # ADR-GRPC-ADV-001: Each advanced capability has its own flag, its own grade and its own promotion - Status: accepted diff --git a/docs/design/2026-08-30-grpc-platform-adaptation-design.md b/docs/design/2026-08-30-grpc-platform-adaptation-design.md index c7f2c24..55b23bb 100644 --- a/docs/design/2026-08-30-grpc-platform-adaptation-design.md +++ b/docs/design/2026-08-30-grpc-platform-adaptation-design.md @@ -1,3 +1,12 @@ + +> **기록 · 설계서** 본문은 쓴 때의 원문이다. 지금 동작은 「현재 정본」을 읽는다. + +- 상태: 확인 안 함 +- 작성일: 2026-08-30 +- 요약: 타입 안전 gRPC 실행 플랫폼 계획을 이 저장소의 구조와 게이트에 맞춘 설계다. +- 현재 정본: `docs/compatibility/grpc-support-matrix.md` + + # 타입 안전 gRPC 실행 플랫폼 — 이 저장소 규약으로의 어댑팅 설계 두 계획 문서를 이 저장소(`ca-skeleton`)의 실제 구조·정책·빌드 게이트에 맞춰 실행 가능한 형태로