docs: capture refactor workflow and project memory
This commit is contained in:
@@ -0,0 +1,47 @@
|
||||
# Darano mind map
|
||||
|
||||
```text
|
||||
Darano tokenization platform
|
||||
├── Customers and assets
|
||||
│ ├── Mellat Bank: primary customer and IPG rail
|
||||
│ ├── Real estate: principal real-world asset
|
||||
│ └── Token publisher: authorized ICO inventory owner
|
||||
├── Customer product
|
||||
│ ├── Login, identity, TFA, bank information
|
||||
│ ├── Projects and token discovery
|
||||
│ ├── Wallets, balances, trustlines
|
||||
│ ├── Buy, deposit, transfer, withdraw, redeem
|
||||
│ ├── Marketplace orders and history
|
||||
│ └── BNPL and referral commissions
|
||||
├── Financial orchestration
|
||||
│ ├── API gateway -> gRPC services
|
||||
│ ├── Wallet/Market -> validation and settlement
|
||||
│ ├── PostgreSQL -> operational state
|
||||
│ ├── Redis -> locks/cache
|
||||
│ └── RabbitMQ/Watermill -> transaction commands/events
|
||||
├── Sources of truth
|
||||
│ ├── GL -> primary append-only financial truth
|
||||
│ ├── Immutable double-entry journals
|
||||
│ ├── Transaction lifecycle events
|
||||
│ ├── Available/frozen/clearing/treasury accounts
|
||||
│ ├── Balance and journal explorer
|
||||
│ ├── Mirror transport: implemented foundation
|
||||
│ ├── Mandatory availability gate: missing
|
||||
│ ├── Critical health plus OTel incident reporting: missing
|
||||
│ └── Reconciliation: missing
|
||||
│ └── Kuknos (Stellar compatible) -> secondary settlement truth
|
||||
│ ├── Required together with GL in normal mode
|
||||
│ └── Manual operator disable mode: missing
|
||||
├── Operations
|
||||
│ ├── Django AdminPanel
|
||||
│ ├── Direct DB writes: current invariant bypass
|
||||
│ ├── DevOps/Traefik/Compose
|
||||
│ └── Monitoring and alerting
|
||||
└── Main work remaining
|
||||
├── Correct event command lifecycle
|
||||
├── Fixed-point money end to end
|
||||
├── GL fail-closed gate, startup/deployment, and reconciliation
|
||||
├── Trustline and reserved-balance GL model
|
||||
├── Critical health and OpenTelemetry incident reporting
|
||||
└── End-to-end domain/outage tests
|
||||
```
|
||||
Reference in New Issue
Block a user