Carries 359 template commits, tag v0.2.0 plus one documentation commit: the generator-built feature index with its app, bounded-context and feature declarations, the src/platform kernel and scale tooling, the 2026-09-24 src review fixes, and the 2026-09-25 maturity review round with its CHANGELOG [보안]/[계약] rows. 691 of the 824 template paths are applied, 85 of them merged with product changes; 127 are not carried. Product identity is unchanged: name, version 0.1.0, routes, design and the TechLog domain. Three decisions worth naming. TechLog stays composed directly, as the last two syncs recorded; its directory carries a NOT_INSTALLED marker that says so, and every installed-* composer takes the template's projection with TechLog added on top. The reference sample is no longer installed: the template now installs a feature only through feature-module.ts and context-routes.ts, which load the screens this product deleted, so its three operations, six schemas and one topic leave the registries, recorded as registry change evidence. And AppRouter mounts the platform and TechLog routes only; the template's bounded-context route gateway waits for a generator-installed feature. Required fixes: readSubject on the BFF session owner (without it every HTTP Studio session would close as integration-failed), zod through the facade in nine TechLog files, noUnusedLocals, and public/config.json written out to match the local profile. Derived baselines were recomputed after reproducing both sides' values: CI contract 101 commands / 106 references / 141 artifacts, gate shape c9adcf85; registry approval 2dc6c3a3; the runtime config schema baseline equals the schema at8210d48. Verified here: types, lint, architecture, adapter inventory, CI contract, i18n, design system, diagnostics, browser security, dev release manifest, TechLog contract and build pass; 220 component, 155 integration, 15 contract, 418 TechLog, 43 reference-feature, 18 recipe and 46 release-coherence tests pass, and 2381 of 2383 unit tests. Reproduced at8210d48first and unchanged: check:registries (byte-identical), test:runtime-schema, verify:documentation. Brought by the template and escalated rather than suppressed: check:request-fanout on TechLog's cursor pagination, check:remediation-ledger (fails upstream too), the shared-chunk hash test, and the registry-dependent sample removal and second-feature tests. Playwright suites were not run. Full record, the five open questions and the follow-ups in docs/operations/template-sync-2026-09-29.md. (cherry picked from commit b2170cf265dea45dc9cc05d3c61e627e97f31cdb)
3.8 KiB
3.8 KiB
VD-05: Semantic icon facade와 native-first interaction
- 상태: Accepted
- 결정일: 2026-07-26
- 적용 브랜치:
feature-frontend-design-system-platform - 재검토: native 계약으로 충족할 수 없는 widget 요구가 확인될 때
배경
앱 셸과 공통 UI는 문자 glyph, raw button/select와 페이지별 focus 처리를 사용했다. 아이콘 공급자와 복합 interaction을 제품 코드에 직접 노출하면 번들, 접근성, vendor type과 교체 비용이 모든 feature로 전파된다. 반대로 실제 요구가 없는 두 개의 headless vendor를 기본 설치하면 skeleton 소비자가 제거해야 할 의존성과 중복 interaction 모델이 생긴다.
결정
- 아이콘 공급자는 lockfile 최소 게시 유예를 통과한
lucide-react@1.25.0으로 고정한다. lucide-react의 static named import는design-system/icons/vendors/lucide.tsx한 파일에서만 허용한다.- public API는
MenuIcon,CloseIcon,WarningIcon같은 의미 이름만 노출한다. vendor component type, icon name, stroke API와 dynamic icon registry는 노출하지 않는다. - 장식 아이콘은 accessibility tree에서 제외한다. 정보를 단독 전달하는
아이콘은
label, icon-only action은 필수accessibleName을 사용한다. - 현재 복합 control은 native
dialog, form control,details와 local TypeScript state model로 구현한다. Menu는 roving focus/typeahead/Escape, Tabs는 manual/automatic activation, Drawer는 modal/background 비활성화/focus restore 계약을 가진다. - React Aria와 Radix는 기본 dependency로 추가하지 않는다. native platform이 collision, nested overlay, virtualized collection 또는 복합 select 요구를 충족하지 못한다는 재현 가능한 요구가 생길 때 prototype과 ADR로 다시 평가한다.
- Storybook과 pinned visual baseline은 VD-08/RP-10에서 도입한다. RP-07의 runtime gallery와 browser interaction test는 해당 workshop을 대체한다고 주장하지 않는다.
경계와 검증
- 제품 코드는
presentation/design-system/index만 import한다. 예외는 규칙에 이름으로 적는다.presentation/components/ui/*.ts는 아래 Rollback의 재수출 facade이고,presentation/templates/page-templates.tsx는 index가 내보내지 않는PaginationLandmarkContext를 읽는다. - deep import와 direct icon import는
check:architecture그래프 규칙design-system-is-reached-through-its-index,icon-vendor-is-facade-only(.dependency-cruiser.json)가 거절한다. 경로 해석이 끝난 간선을 보므로 presentation 안의 상대 경로 import도 잡는다(리뷰 12-08). 음성 fixture는tests/fixtures/architecture/dependency-graph/import-boundaries다. - design-system 검사기(
scripts/check-design-system.ts)는 headless vendor import, raw palette, undefined token과 tooltip-only required information fixture를 거절한다. - type negative fixture는 accessible name 없는
IconButton을 거절한다. - component test는 decorative icon, form control, Menu, Tabs, Drawer와 Toast를 검증한다.
- Chromium/Firefox E2E는 compact Drawer의 native modal 상태, Escape, focus restore, gallery keyboard interaction과 axe를 검증한다.
- 로컬 WebKit 실행은 host
libevent-2.1.so.7부재로 환경 검증이 남아 있으며 공급자 선택이나 product behavior의 PASS로 숨기지 않는다.
Rollback
기존 presentation/components/ui/* 경로는 canonical TypeScript primitive를
재수출하므로 소비 코드를 즉시 되돌릴 수 있다. Lucide 제거 시 vendor facade와
semantic icon 구현만 교체하고 제품 API는 유지한다. headless vendor를 나중에
도입해도 public props와 interaction test를 유지한다.