Overview
A C4-style tour of Ratiba's substrate, FSM, channel adapters, voice pipeline, and knowledge layer — the system map for engineers.
System overview
C4 component-level diagram of Ratiba — every external boundary, every internal service, every transport. Includes the knowledge and voice modules.
Schema evolution
Public + per-tenant Postgres schema; Alembic migration ladder M3 → Phase 0; FK/CHECK/partial-index annotations.
Component map
A folder-by-folder tour of app/ — purpose-per-module + module-level dependency graph + architecture-index.json humanised.
Data flow
Inbound message lifecycle from webhook to outbound channel adapter; FSM state persistence (Redis hot + Postgres checkpoints); payment callback flow; knowledge-snippet injection path.