# POS-003 — Architect

## Feature
POS module skeleton: domain + repos + application use cases.

## Design
Domain layer: PosStore, PosTerminal, PosCashSession types + all errors. Ports: PosStoreRepository, PosTerminalRepository, PosCashSessionRepository interfaces.
Infrastructure: PgStoreRepository, PgTerminalRepository, PgPaymentMethodRepository, PgCashSessionRepository.
Application: ListStores, ListTerminals, GetPosConfig, OpenCashSession, CloseCashSession use cases.
Tests: unit tests for store listing + cash session open/close.
Wired into build-app.ts (repos in deps, no routes yet — covered by POS-004).
