# divinity-science/health-intelligence-platform architecture

> Architecture diagram of the GitHub repository divinity-science/health-intelligence-platform, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-21). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/divinity-science/health-intelligence-platform
- Repository: https://github.com/divinity-science/health-intelligence-platform

## Overview

This checkout is a research and product-planning repository for Divinity Science’s Health Intelligence Platform, not a running application. The visible implementation is limited to the competitor catalog; the README describes additional strategy, specification, design, and POC work, but those files are absent from the supplied tree. The documented workflow connects research and planning activities to external tools; no runtime data flow can be established from the available files.

Main entry points: [`README.md`](https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md) (POC implementation), [`research/competitor-catalog/catalog.md`](https://github.com/divinity-science/health-intelligence-platform/blob/main/research/competitor-catalog/catalog.md) (Competitor UI catalog)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_research["Competitive research"]
  node_catalog["Competitor UI catalog<br/>[catalog.md]"]
end

subgraph group_planning["Product planning"]
  node_strategy["Strategy PRD<br/>[README.md]"]
  node_buildspec["Build specification<br/>[README.md]"]
  node_design["Design system<br/>[README.md]"]
end

subgraph group_delivery["Build and delivery"]
  node_poc["POC implementation<br/>[README.md]"]
end

node_comet(("Comet browser AI"))
node_perplexity["Perplexity Pro Spaces"]
node_issues["GitHub Issues"]
node_github["GitHub web and Codespaces"]
node_actions["GitHub Actions"]
node_vercel["Vercel"]
node_railway["Railway"]
node_supabase[("Supabase")]

node_comet -->|"researches and catalogs"| node_catalog
node_comet -->|"writes strategy"| node_strategy
node_comet -->|"writes specifications"| node_buildspec
node_comet -->|"uses"| node_github
node_perplexity -->|"holds research digests"| node_strategy
node_perplexity -->|"supports prompt iteration"| node_buildspec
node_issues -->|"tracks tasks"| node_poc
node_actions -->|"orchestrates"| node_poc
node_poc -->|"deploys frontend"| node_vercel
node_poc -->|"deploys backend"| node_railway
node_poc -->|"uses database, auth, storage"| node_supabase

click node_catalog "https://github.com/divinity-science/health-intelligence-platform/blob/main/research/competitor-catalog/catalog.md"
click node_strategy "https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md"
click node_buildspec "https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md"
click node_design "https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md"
click node_poc "https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md"

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_catalog,node_comet toneBlue
class node_strategy,node_buildspec,node_design,node_supabase toneAmber
class node_poc toneMint
class node_perplexity,node_issues,node_github,node_actions,node_vercel,node_railway toneIndigo
```

## Components

### Competitive research

- [Competitor UI catalog](https://github.com/divinity-science/health-intelligence-platform/blob/main/research/competitor-catalog/catalog.md): `research/competitor-catalog/catalog.md`

### Product planning

- [Strategy PRD](https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md): `README.md`
- [Build specification](https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md): `README.md`
- [Design system](https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md): `README.md`

### Build and delivery

- [POC implementation](https://github.com/divinity-science/health-intelligence-platform/blob/main/README.md): `README.md`

### Other components

- **Comet browser AI**
- **Perplexity Pro Spaces**
- **GitHub Issues**
- **GitHub web and Codespaces**
- **GitHub Actions**
- **Vercel**
- **Railway**
- **Supabase**

## Connections

- Comet browser AI → Competitor UI catalog: researches and catalogs (evidence: `README.md`)
- Comet browser AI → Strategy PRD: writes strategy (evidence: `README.md`)
- Comet browser AI → Build specification: writes specifications (evidence: `README.md`)
- Comet browser AI → GitHub web and Codespaces: uses (evidence: `README.md`)
- Perplexity Pro Spaces → Strategy PRD: holds research digests (evidence: `README.md`)
- Perplexity Pro Spaces → Build specification: supports prompt iteration (evidence: `README.md`)
- GitHub Issues → POC implementation: tracks tasks (evidence: `README.md`)
- GitHub Actions → POC implementation: orchestrates (evidence: `README.md`)
- POC implementation → Vercel: deploys frontend (evidence: `README.md`)
- POC implementation → Railway: deploys backend (evidence: `README.md`)
- POC implementation → Supabase: uses database, auth, storage (evidence: `README.md`)
