RESEARCH

CTO 아키텍처 리뷰

실현 가능성: 가능하지만 장기 프로젝트 (MVP 3~4개월, 전체 18~24개월)

멀티모듈 구조 권장안

app/                    # 메인 런처 앱

core/model/ # 도메인 모델 (Dash, Space, Context)

core/data/ # Repository, 로컬 DB

core/network/ # API 클라이언트

core/common/ # 유틸리티

core/ui/ # 공유 Compose 컴포넌트, 디자인 토큰

feature/home/ # 홈 화면 (Space, Dash 그리드)

feature/dashroom/ # Dash Room (앱 드로어 대체)

feature/dashruntime/ # Dash Runtime Engine

feature/orchestrator/ # Orchestrator

feature/space/ # Space 관리

feature/fusion/ # Dash 융합 엔진

feature/store/ # Dash Store

feature/creator/ # Dash Creator (Vibe Coding)

dash/sdk/ # Dash 개발자 SDK

dash/messaging/ # P2P Message Bus

dash/container/ # Dash 호스팅 (샌드박스)

context/sensor/ # Sensor Hub

context/engine/ # Context Engine

context/decision/ # Decision Engine

context/memory/ # Memory Module (패턴 학습)

launcher3-core/ # Launcher3 포크 코어 (선택 시)

추천 기술 스택

영역선택 DIHilt NavigationCompose Navigation + Custom Space Router NetworkingKtor Client + kotlinx.serialization DBRoom + Proto DataStore 비동기Coroutines + Flow 이벤트 버스SharedFlow (P2P Message Bus) 이미지Coil 테스트JUnit5 + Turbine + Compose Testing 빌드Gradle KTS + Convention Plugins

핵심 리스크

1. Android 런처 권한 제한 -> Accessibility Service, 시스템 런처 등록

2. Dash 격리/보안 -> 별도 프로세스 샌드박스

3. 배터리 소모 -> 배치 처리, Geofence, 디바운싱

4. Compose + View 혼합 -> ComposeView 브릿지, 점진 마이그레이션