# dokaeby/workmateboard architecture

> Architecture diagram of the GitHub repository dokaeby/workmateboard, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-25). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/dokaeby/workmateboard
- Repository: https://github.com/dokaeby/workmateboard

## Overview

jobMate is an agentic workflow automation product with a web dashboard. Users configure or select workflows, initiate and monitor runs, review approvals and results, and manage related projects, inbox items, sessions, integrations, and operational insights. The backend exposes API routes and background jobs; workflows and an execution engine provide the automation layer, while stores persist product state. The README is only a title, so capability coverage follows the repository modules and frontend view types; several subsystem links remain unverified because their implementation was not sampled.

Main entry points: [`src/jobmate/api/app.py`](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/api/app.py) (HTTP application), [`src/jobmate/store/db.py`](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/store/db.py) (Product store), [`src/jobmate/engine/functions.py`](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/engine/functions.py) (Engine functions), [`v2/src/app/App.tsx`](https://github.com/dokaeby/workmateboard/blob/main/v2/src/app/App.tsx) (App shell)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_frontend["Web dashboard"]
  node_app_shell["App shell<br/>[App.tsx]"]
  node_feature_views["Product views"]
  node_api_client["API client<br/>[client.ts]"]
end

subgraph group_api["API and identity"]
  node_api_service["HTTP application<br/>[app.py]"]
  node_api_routes["API routes"]
  node_identity["Authentication<br/>[security.py]"]
end

subgraph group_automation["Workflow automation"]
  node_background_jobs["Background jobs<br/>[jobs.py]"]
  node_workflow_catalog["Workflow catalog"]
  node_workflow_definitions["Workflow stages"]
  node_execution_engine["Run engine<br/>[runner.py]"]
  node_engine_functions["Engine functions<br/>[functions.py]"]
end

subgraph group_integrations["Connected services"]
  node_model_client["LLM client<br/>[client.py]"]
  node_tool_execution["Tool execution<br/>[executor.py]"]
  node_service_adapters["Service adapters"]
  node_radar["Skill radar<br/>[pipeline.py]"]
end

subgraph group_data["Persistence and insights"]
  node_store[("Product store<br/>[db.py]")]
  node_lead_sessions["Session analysis<br/>[lead_sessions.py]"]
  node_insights["Reports and insights<br/>[insights.py]"]
end

node_user(("User"))

node_user -->|"uses"| node_app_shell
node_app_shell -->|"requests through"| node_api_client
node_app_shell -->|"loads view"| node_feature_views
node_feature_views -->|"requests through"| node_api_client
node_api_client -.->|"calls HTTP API"| node_api_service
node_api_service -->|"registers routes"| node_api_routes
node_api_service -->|"uses jobs"| node_background_jobs
node_api_service -->|"loads workflows"| node_workflow_catalog
node_api_service -->|"reads and writes"| node_store
node_api_routes -->|"authenticates"| node_identity
node_background_jobs -->|"creates runs"| node_store
node_background_jobs -->|"checks workflows"| node_workflow_catalog
node_workflow_catalog -.->|"builds catalog"| node_workflow_definitions
node_execution_engine -.->|"dispatches functions"| node_engine_functions
node_engine_functions -.->|"requests completions"| node_model_client
node_engine_functions -.->|"executes tools"| node_tool_execution
node_engine_functions -.->|"uses services"| node_service_adapters
node_radar -->|"requests summaries"| node_model_client
node_radar -.->|"persists radar data"| node_store
node_lead_sessions -->|"reads session data"| node_store
node_insights -.->|"reads metrics"| node_store

click node_app_shell "https://github.com/dokaeby/workmateboard/blob/main/v2/src/app/App.tsx"
click node_feature_views "https://github.com/dokaeby/workmateboard/tree/main/v2/src/features"
click node_api_client "https://github.com/dokaeby/workmateboard/blob/main/v2/src/shared/api/client.ts"
click node_api_service "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/api/app.py"
click node_api_routes "https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/api/routers"
click node_identity "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/security.py"
click node_background_jobs "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/api/jobs.py"
click node_workflow_catalog "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/workflows/registry_builder.py"
click node_workflow_definitions "https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/workflows"
click node_execution_engine "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/engine/runner.py"
click node_engine_functions "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/engine/functions.py"
click node_model_client "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/llm/client.py"
click node_tool_execution "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/tools/executor.py"
click node_service_adapters "https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/adapters"
click node_radar "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/radar/pipeline.py"
click node_store "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/store/db.py"
click node_lead_sessions "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/lead_sessions.py"
click node_insights "https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/insights.py"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_app_shell,node_feature_views,node_api_client,node_user toneBlue
class node_api_service,node_api_routes,node_identity toneAmber
class node_background_jobs,node_workflow_catalog,node_workflow_definitions,node_execution_engine,node_engine_functions toneMint
class node_model_client,node_tool_execution,node_service_adapters,node_radar toneRose
class node_store,node_lead_sessions,node_insights toneIndigo
```

## Components

### Web dashboard

- [App shell](https://github.com/dokaeby/workmateboard/blob/main/v2/src/app/App.tsx): `v2/src/app/App.tsx`
- [Product views](https://github.com/dokaeby/workmateboard/tree/main/v2/src/features): `v2/src/features`
- [API client](https://github.com/dokaeby/workmateboard/blob/main/v2/src/shared/api/client.ts): `v2/src/shared/api/client.ts`

### API and identity

- [HTTP application](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/api/app.py): `src/jobmate/api/app.py`
- [API routes](https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/api/routers): `src/jobmate/api/routers`
- [Authentication](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/security.py): `src/jobmate/security.py`

### Workflow automation

- [Background jobs](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/api/jobs.py): `src/jobmate/api/jobs.py`
- [Workflow catalog](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/workflows/registry_builder.py): `src/jobmate/workflows/registry_builder.py`
- [Workflow stages](https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/workflows): `src/jobmate/workflows`
- [Run engine](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/engine/runner.py): `src/jobmate/engine/runner.py`
- [Engine functions](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/engine/functions.py): `src/jobmate/engine/functions.py`

### Connected services

- [LLM client](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/llm/client.py): `src/jobmate/llm/client.py`
- [Tool execution](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/tools/executor.py): `src/jobmate/tools/executor.py`
- [Service adapters](https://github.com/dokaeby/workmateboard/tree/main/src/jobmate/adapters): `src/jobmate/adapters`
- [Skill radar](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/radar/pipeline.py): `src/jobmate/radar/pipeline.py`

### Persistence and insights

- [Product store](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/store/db.py): `src/jobmate/store/db.py`
- [Session analysis](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/lead_sessions.py): `src/jobmate/lead_sessions.py`
- [Reports and insights](https://github.com/dokaeby/workmateboard/blob/main/src/jobmate/insights.py): `src/jobmate/insights.py`

### Other components

- **User**

## Connections

- User → App shell: uses
- App shell → API client: requests through (evidence: `v2/src/app/App.tsx`)
- App shell → Product views: loads view (evidence: `v2/src/app/App.tsx`)
- Product views → API client: requests through (evidence: `v2/src/features/inbox/index.tsx`)
- API client → HTTP application: calls HTTP API
- HTTP application → API routes: registers routes (evidence: `src/jobmate/api/app.py`)
- HTTP application → Background jobs: uses jobs (evidence: `src/jobmate/api/app.py`)
- HTTP application → Workflow catalog: loads workflows (evidence: `src/jobmate/api/app.py`)
- HTTP application → Product store: reads and writes (evidence: `src/jobmate/api/app.py`)
- API routes → Authentication: authenticates (evidence: `src/jobmate/api/routers/auth.py`)
- Background jobs → Product store: creates runs (evidence: `src/jobmate/api/jobs.py`)
- Background jobs → Workflow catalog: checks workflows (evidence: `src/jobmate/api/jobs.py`)
- Workflow catalog → Workflow stages: builds catalog
- Run engine → Engine functions: dispatches functions
- Engine functions → LLM client: requests completions
- Engine functions → Tool execution: executes tools
- Engine functions → Service adapters: uses services
- Skill radar → LLM client: requests summaries (evidence: `src/jobmate/radar/pipeline.py`)
- Skill radar → Product store: persists radar data
- Session analysis → Product store: reads session data (evidence: `src/jobmate/lead_sessions.py`)
- Reports and insights → Product store: reads metrics
