MULTI-TENANT PLATFORM ARCHITECTURE
Universal OS
Modular, tenant-isolated workspace & declarative workflow engine foundation.
Project Overview
Universal OS is a modular, multi-tenant platform designed across business, engineering, education, healthcare, cybersecurity, and personal workspaces. In the local workspace, Phase 1 identity/RBAC and Phase 2 module catalog & tenant entitlements are implemented on FastAPI and SQLAlchemy; the public GitHub repository currently holds foundation & governance documentation ahead of open-source release verification.
Client / API Gateway
Correlation ID + JWT Auth
RBAC Guard
Deny-by-default Tenant Scope
Module Entitlements
Available vs Planned Gates
PostgreSQL + Alembic
Tenant-isolated Persistence
Architecture Details
- ▸Versioned FastAPI REST API (/api/v1) with request correlation IDs and health probes (/health/live, /health/ready)
- ▸SQLAlchemy + Alembic persistence for tenants, users, roles, permissions, and tenant module entitlements
- ▸Tenant-scoped workspace projects, tasks, shared customer records, document metadata, and one-time approval decisions
- ▸Declarative DAG automation workflow validator and idempotent run queue
Security Considerations
- •Deny-by-default RBAC permission dependency across workspace and module endpoints
- •Argon2 password hashing paired with short-lived (15-minute default) signed JWT access tokens
- •Strict tenant-ID scoping on project, task, customer, and approval queries to prevent BOLA/cross-tenant leakage
- •Declarative JSON workflow nodes validated without arbitrary code execution
Technology Stack & Evidence
Verification Evidence: Local workspace contains pytest test suite and Alembic migrations; public GitHub repo explicitly marks release artifacts as pending verification.