docs(auth): record domain foundation checkpoint
This commit is contained in:
@@ -261,6 +261,14 @@ Global config removal remains the separate follow-up `C002`.
|
||||
|
||||
The current composition root is `cmd/serve.go`; `repository.System` aggregates PostgreSQL, Redis, and upstream service ports, while `usecase.useCase` currently implements both generated gRPC server interfaces. External provider selection is configuration-driven (`ShahkarProvider`), and the Wallet/Notification clients are gRPC dependencies. This map is the baseline for A002–A008 package extraction.
|
||||
|
||||
### `A002` — Auth domain entities and repository ports
|
||||
|
||||
- Added `auth/domain/model` with transport/persistence-independent User, Identity, Session, Permission, Role, RolePermission, and BankInfo entities.
|
||||
- Added validated `NationalID`, `MobileNumber`, and `BirthDate` value objects plus domain-level user status values.
|
||||
- Added `auth/domain/ports` repository and cache interfaces using only standard library types and domain models.
|
||||
- Focused value-object tests and the full Auth test suite pass; commit `32f182b`.
|
||||
- Existing `domain/db` remains the legacy persistence mapping until A003 introduces explicit infrastructure mappings.
|
||||
|
||||
### `I001` — publisher-backed ICO purchase map
|
||||
|
||||
- Compatibility entrypoints remain `WalletService.CalcBuyAsset` and `WalletService.BuyAsset`; API routes and existing request fields do not move.
|
||||
|
||||
Reference in New Issue
Block a user