feat: [module] Phase 3 — 물리적 분리 (경계 마커, 검증 스크립트, 라우트 가드, 문서)

- MODULE.md 경계 마커 4개 (production, quality, construction, vehicle-management)
- verify-module-separation.sh: Common→Tenant 금지 임포트 검증 스크립트
- 영업 생산지시 3개 페이지에 useModules 가드 추가
- MODULE_SEPARATION_OK 주석 마커 (공유 래퍼 허용)
- tsconfig @modules/* path alias 추가
- CLAUDE.md 모듈 분리 아키텍처 섹션 추가
- 모듈 분리 가이드 문서 (claudedocs/architecture/)
This commit is contained in:
유병철
2026-03-18 15:40:53 +09:00
parent 60c4bc111c
commit 4b8ca09ea5
13 changed files with 557 additions and 2 deletions

View File

@@ -0,0 +1,21 @@
# Quality Module (품질관리)
**Module ID**: `quality`
**Tenant**: Kyungdong (경동 셔터 MES)
**Route Prefixes**: `/quality`
**Component Count**: 35 files
## Dependencies on Common ERP
- `@/lib/api/*` — Server actions, API client
- `@/components/ui/*` — UI primitives (shadcn/ui)
- `@/components/templates/*` — IntegratedListTemplateV2 등
- `@/components/organisms/*` — PageLayout, PageHeader
- `@/hooks/*` — usePermission, useModules 등
- `@/stores/authStore` — Tenant 정보
## Exports to Common ERP
**NONE** — Phase 0에서 교차 참조 해소 완료.
- 모달: `@/components/document-system/modals/` (WorkLogModal — dynamic import)
## Related Dashboard Sections
없음 (품질 대시보드 섹션은 아직 미구현)