IDesign 4-Layer Architecture
Based on Juval Löwy's IDesign method.
| Layer | Components | Responsibility |
|---|---|---|
| Clients | SolveController, SchedulerController, DashboardController | Receive requests, route to Managers |
| Managers | TaskManager, AgentManager, MonitorManager, AuditManager | Orchestrate workflows |
| Engines | RulesEngine, ClassifyEngine, AmountEngine, ComplianceEngine | Pure business logic, no I/O |
| Resource Access | AccountingProviders (TripletexProvider, FikenProvider), LLMAccessor, DataAccessor, NotificationAccessor, FileAccessor | All external communication |
Rules
- No layer skipping (Clients cannot call Engines)
- Engines never do I/O
- Resource Access is 1:1 with external systems
- Managers own transaction boundaries