- 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>
3.2 KiB
kind: CONCEPT slug: adapter-outbound-persistence-mongo-c09 title: @Configuration을 게이팅하면 게이트를 공급하는 것을 게이팅한다 topic: schema-and-wire-models project: clean-architecture-backend-template status: 게시 전 sourceRevision: 21234e38cdb9a926cbc92bb97a2aee2e4a7d2916 rootTreeNode: concept:adapter-outbound-persistence-mongo-c09 evidenceCapturedOn: 2026-09-01 assets:
- key: adapter-outbound-persistence-mongo-c09 file: ../../../final/evidence/rendered/adapter-outbound-persistence-mongo-c09.svg evidence:
- ../../../final/evidence/raw/adapter-outbound-persistence-mongo-c09.txt source:
- 원본 분석 절은 final/document.md#a06#L1269 이다. module: adapter-outbound-persistence-mongo
@Configuration을 게이팅하면 게이트를 공급하는 것을 게이팅한다
advanced 분류 불변식이 문서가 아니라 코드로 서 있고, 제외 항목마다 근거가 붙어 있다.
본문
세어 봤다(137-... §8.1b·§8.1c).
@MongoAdvancedEntryPoint7개:MongoChangeMessagingBridge(CHANGE_STREAM),MongoCsfleClientFactory(CSFLE),MongoQueryableEncryptionCollectionManager(QUERYABLE_ENCRYPTION),MongoGridFsMigrationJob(GRIDFS_COMPATIBILITY),MongoShardingAdminGateway(SHARDING),MongoTenantClientRegistry·MongoTenantMigrationCoordinator(DATABASE_PER_TENANT).@MongoAdvancedPolicy11개.- 어느 쪽도 아닌 구체 클래스 1개:
MongoAdvancedConfiguration.
MongoChangeMessagingBridge 참조 위치
:::evidence key="adapter-outbound-persistence-mongo-c09" alt="코드베이스에서 MongoChangeMessagingBridge 를 검색한 출력 16줄. 이 기록이 세는 참조가 그 출력에 그대로 보인다." caption="MongoChangeMessagingBridge 코드베이스 검색 — 16줄 · exit 0" zoom="true" :::
그 하나가 누락이 아닌 이유
MongoAdvancedRules.concreteClass()가 @Configuration을 명시적으로 제외하며 이유를 적는다: "A @Configuration class is the package's composition root: it builds entry points through the guard rather than being one, and gating it would gate the thing that supplies the guard." interface·enum·record·익명·private 중첩·abstract도 같은 방식으로 제외되고 각각 근거가 붙어 있다. 즉 §83이 말하는 불변식은 문서가 아니라 코드로 서 있다. 이 leaf에서 "문서가 주장하고 코드가 지키지 않는다"를 여러 번 본 뒤라, 여기서는 그 반대가 성립한다는 것을 명시해 둘 가치가 있다.
던지기만 하는 메서드를 값으로 바꾼 두 수리
MongoTimeSeriesCapabilityValidator는 네 개의 던지기만 하는 메서드를 supportFor(capability) → MongoTimeSeriesSupport(지원 여부 + 이유)로 바꿨고, MongoQueryableEncryptionProfile은 세 개의 던지기만 하는 static factory를 supportFor(MongoQueryShape) → MongoQueryShapeSupport로 바꿨다. 근거도 동일하다 — "A factory that never returns is not an API: it cannot appear in working code, so its only reachable use is a test asserting that it throws, and the design-time question it was meant to answer is only answered by running it."