Files
document-haness/docs/clean-architecture-backend-template/tech-log-studio/composition-and-lifecycle-models/concept/concept-adapter-inbound-web-c02.md
T
DongHyeonkaandClaude Fable 5.1 b25357c48a docs(clean-architecture-backend-template): fold analysis into final and re-select one topic
- analysis/·source-index·state.json 을 final/document.md 제2부·제3부로 접었다. SSOT 는 하나다
- 파일럿 — commit-ambiguity-as-a-result 를 새 기준으로 재선별. 후보 14 → 글감 5
  (PROMOTE 5 · MERGE_INTO 3 · KEEP_IN_SSOT 4 · 보류 2). 기록 5건을 다시 썼고 그림 1개를
  techviz 로 만들었다
- 재선별이 잡은 것: 제1부 §6.2·§11.1 이 자기 §13.2 와 어긋나 있었다(레인을 안 돌렸다 vs
  돌렸다) — 정정. 이미 답이 나와 있던 Question 을 HEAD 재실행 질문으로 다시 세웠다.
  Concept 이 인용한 코드가 SSOT 에 없어 뺐다
- candidateScope·sourceRepository 기록. 나머지 43개 주제는 재선별 대기(PENDING 905)

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-09-07 12:39:20 +09:00

2.8 KiB

kind, slug, title, topic, project, status, sourceRevision, rootTreeNode, evidenceCapturedOn, assets, evidence, source, module
kind slug title topic project status sourceRevision rootTreeNode evidenceCapturedOn assets evidence source module
CONCEPT adapter-inbound-web-c02 실패를 보여 준 적 없는 경계 테스트는 잘못된 디렉터리를 스캔한 것과 구별되지 않는다 composition-and-lifecycle-models clean-architecture-backend-template 게시 전 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 concept:adapter-inbound-web-c02 2026-09-01
key file
adapter-inbound-web-c02 ../../../final/evidence/rendered/adapter-inbound-web-c02.svg
../../../final/evidence/raw/adapter-inbound-web-c02.txt
원본 분석 절은 final/document.md#a14#L140 이다.
adapter-inbound-web

실패를 보여 준 적 없는 경계 테스트는 잘못된 디렉터리를 스캔한 것과 구별되지 않는다

WebModuleBoundaryTest가 다섯 개의 긍정 규칙마다 부정 픽스처를 붙이고, 스캔이 아무것도 못 찾으면 통과가 아니라 실패하도록 만들었다.

본문

WebModuleBoundaryTest가 다섯 개의 긍정 규칙과 네 개의 부정 픽스처를 갖는다.

규칙 부정 픽스처
모든 프로덕션 패키지가 선언된 모듈 정체성을 가진다 ROOT.undeclared 패키지를 만들어 거부되는지 확인
선언된 모든 모듈이 트리에 존재한다
모든 교차 모듈 import가 선언된 edge다 conditional → ratelimit 위반을 만들어 확인
CORE 모듈은 프레임워크 자유다 cursor@Component를 import하게 만들어 확인
스캔이 아무것도 못 찾으면 통과가 아니라 실패다 빈 디렉터리로 IllegalStateException 확인

부정 픽스처가 있는 이유

"A boundary test that has never been shown to fail is indistinguishable from one that scans the wrong directory." 그리고 프로덕션 스캔에 fileCount() > 100 하한과 packages()에 특정 패키지 두 개가 있어야 한다는 확인이 함께 붙는다.

WebModuleBoundaryTest 참조 위치

:::evidence key="adapter-inbound-web-c02" alt="코드베이스에서 WebModuleBoundaryTest 를 검색한 출력 2줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="WebModuleBoundaryTest 코드베이스 검색 — 2줄 · exit 0" zoom="true" :::

탐지 정규식에 Jackson 두 버전이 함께 있는 이유

"this repository runs on Spring 7, whose message converters take Jackson 3 — so a CORE module could have imported a mapper without this detector noticing, which is a hole in exactly the check that is supposed to have none."

이것은 이 저장소에서 확인한 경계 강제 중 가장 강하다. notification의 EndpointGuardCallSiteTest(호출처 목록이 가드 javadoc과 달랐던)와 달리, 여기서는 목록 자체가 스캔으로 생성된다.