Architecture Diagrams
Diagrams of the system architecture, the document ingestion flow, the deployment topology, and the authentication flow. Each diagram is drawn from its Mermaid source in docs/_diagrams/ and follows the light or dark theme you have selected. Each one is fitted to the page; Open full size shows it at its natural size in a new tab.
System Overview
High-level view of all platform components: frontend, backend services, Temporal, and storage.
The top-level architecture diagram showing:
- Frontend: React SPA served via OpenShift
- Backend Services: REST API and business logic layer
- Temporal: Workflow orchestration engine
- Storage: Database and object storage connections
- External integrations: AI services and downstream APIs
Document Ingestion Flow
Sequence diagram of the full document upload, processing, and extraction pipeline.
End-to-end sequence showing:
- Upload from external source (user or API consumer)
- Frontend relay to backend REST API
- Workflow initiation in Temporal
- Activity execution: extraction, classification, storage
- Status callbacks and result delivery
Deployment Topology
OpenShift cluster layout, ingress, services, and external dependencies.
Infrastructure layout showing:
- OpenShift cluster boundaries and namespaces
- Ingress routing and service mesh
- Internet-facing vs internal traffic paths
- External service dependencies and endpoints
Authentication Flow
OAuth 2.0 Authorization Code + PKCE sequence — login, token refresh, and logout.
OAuth 2.0 sequence showing:
- Login with PKCE and state parameter
- Authorization code exchange via openid-client
- Proactive token refresh and 401 interceptor
- API key authentication alternative
- Logout and session termination
Suggest fields
What happens when someone clicks Suggest fields. The words go to a language model in Canada, the model sends words back, and the app writes the score.