| Spring Boot Modulith |
Modular monolith backend architecture using Spring Boot and explicit application module boundaries. |
| Module |
Engineering boundary aligned to an approved Algosure Domain. |
| Domain |
Business ownership boundary from the Domain Model. |
| Source fact |
Authoritative operational fact owned by a Domain. |
| Application service |
Use-case boundary that coordinates commands, queries, repositories, policies, events, integrations, and AIOS access. |
| Domain service |
Domain behavior that does not naturally belong to one aggregate. |
| Aggregate |
Consistency boundary that owns invariants and lifecycle transitions. |
| Repository |
Module-private persistence boundary for owned aggregates and records. |
| Internal event |
Business fact published inside the Modulith for cross-module coordination. |
| Outbox |
Future-safe reliability boundary for publishing events after state changes. |
| Shared kernel |
Minimal shared technical primitives used across modules. |
| God module |
Overgrown module that owns unrelated responsibilities across Domains. |
| Shared dumping ground |
Shared package that accumulates business logic, hidden dependencies, or generic services. |
| AIOS boundary |
Governed application service or API boundary used by AIOS and Digital Professionals. |
| Tenant context |
Customer isolation context required for multi-tenant behavior. |
| Organization context |
Business organization context owned by Organization. |
| Keycloak |
Official identity provider platform for authentication and token issuing. |
| Identity Domain |
Business owner of users, memberships, permissions, tenant access, and authorization decisions. |