# monapdx/life-os architecture

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

- Interactive diagram: https://gitdiagram.com/monapdx/life-os
- Repository: https://github.com/monapdx/life-os

## Overview

1. This repository is a GitHub-hosted “Life OS” content system, not a traditional application. The core architecture is documentation-first: Markdown files hold the canonical content, and the repo uses GitHub for storage, versioning, capture, and publishing.

2. The top-level user entry points are `README.md`, `DASHBOARD.md`, `INDEX.md`, `LOG.md`, and the navigation helper files like `favorite-nav.md` and `structure.md`. These files act as the control plane: dashboard for daily use, index for map/navigation, log for chronology, and structure/favorites for curated access paths.

3. The main data model is organized into domain-specific note types rather than a single generic note store. You can see this in the template families for journals, ideas, projects, logs, lists/tasks, events, email, and health/finance records. Each note type has its own schema-like template.

4. A large health subsystem exists under templates such as `ER_VISITS`, `SYMPTOMS`, `DOCTOR_APPOINTMENTS`, and `health`. This suggests a structured personal health record area with separate capture flows for incidents, symptoms, appointments, and ongoing conditions/lab-related tracking.

5. A separate finance subsystem covers `BUDGET`, `BUDGETS`, `EXPENSES`, and `SUBSCRIPTIONS`, with additional travel-related templates like `FLIGHTS`, `HOTEL`, and `TRIP_DETAILS`. The architecture treats budgeting, recurring spending, and trip planning as distinct but related record types.

6. The repository has a strong template engine boundary. Source templates live in `TEMPLATES/`, while mirrored HTML versions live in `TEMPLATES/HTML/`. That split implies two presentation modes for the same content model: Markdown for editing/authoring and HTML for rendered/browser use.

7. `SYSTEM/APP_SHELL_TEMPLATE.md` and `TEMPLATES/APP_SHELL_TEMPLATE.md` indicate a shared shell or layout layer that wraps content templates. This is the closest thing to an application framework in the repo: a reusable structural wrapper around all note pages.

8. The repository also includes a specialized “knowledge and reference” cluster: `BOOK_METADATA`, `MOVIES`, `QUOTE_LOG`, `KNOWLEDGE_MAP`, `PROGRESS`, `CHECKLIST`, and `NAVIGATION`. These files support long-lived reference material and cross-linking rather than transient notes.

9. GitHub Issues are used as structured input flows. The `.github/ISSUE_TEMPLATE/` files for monthly review, weekly planning, project work, and deploy show that capture and recurring operations happen through issue forms, not through a custom UI or database-backed app.

10. GitHub Pages is the publishing boundary. The `.github/workflows/pages.yml` workflow is the deployment mechanism, so the repository’s output is a static site generated from the content/templates and published through GitHub Pages.

11. The system boundary is deliberately simple: all state lives in the repo, all automation lives in GitHub workflows, and all presentation lives in the Markdown/HTML template set. There is no separate backend service, API layer, or external database in the architecture.

12. For an architecture diagram, the key flows are: user capture via issue templates or note templates, content stored as Markdown in the repo, optional HTML render path in `TEMPLATES/HTML/`, and static publishing via GitHub Pages. The dashboard/index/navigation files sit at the center, linking the domain subsystems together.

Main entry points: [`TEMPLATES/TEMPLATES.md`](https://github.com/monapdx/life-os/blob/main/TEMPLATES/TEMPLATES.md) (Note templates), [`TEMPLATES/HTML/TEMPLATES.html`](https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/TEMPLATES.html) (HTML templates), [`README.md`](https://github.com/monapdx/life-os/blob/main/README.md) (README), [`TEMPLATES/DASHBOARD.md`](https://github.com/monapdx/life-os/blob/main/TEMPLATES/DASHBOARD.md) (Dashboard)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_control["Control plane"]
  node_readme["README<br/>entry<br/>[README.md]"]
  node_dashboard["Dashboard<br/>daily hub<br/>[DASHBOARD.md]"]
  node_index["Index<br/>navigation map<br/>[INDEX.md]"]
  node_log["Log<br/>[LOG.md]"]
  node_nav["Navigation<br/>curated links<br/>[NAVIGATION.md]"]
  node_structure["Structure<br/>site map<br/>[structure.md]"]
  node_favorites["Favorites<br/>shortcut nav<br/>[favorite-nav.md]"]
end

subgraph group_templates["Markdown templates"]
  node_appshell["App shell<br/>layout wrapper"]
  node_note_templates["Note templates<br/>content model<br/>[TEMPLATES.md]"]
  node_project_task["Projects & tasks<br/>work notes<br/>[PROJECT.md]"]
  node_journal_time["Journal & days<br/>time notes<br/>[DAYS.md]"]
  node_health_md["Health records<br/>health schema<br/>[health.md]"]
  node_finance_md["Finance records<br/>finance schema<br/>[BUDGET.md]"]
  node_reference_md["Reference library<br/>reference set<br/>[BOOK_METADATA.md]"]
end

subgraph group_html["HTML render layer"]
  node_appshell_html["HTML shell<br/>layout wrapper"]
  node_html_templates["HTML templates<br/>presentation layer<br/>[TEMPLATES.html]"]
  node_html_nav["HTML navigation<br/>browser nav<br/>[NAVIGATION.html]"]
  node_html_health_finance["HTML records<br/>rendered records<br/>[health.html]"]
end

subgraph group_ops["GitHub ops"]
  node_issue_forms["Issue forms<br/>capture inputs<br/>[config.yml]"]
  node_pages_workflow["Pages deploy<br/>publish pipeline<br/>[pages.yml]"]
end

node_readme -->|"launches"| node_dashboard
node_readme -->|"maps to"| node_index
node_readme -->|"tracks"| node_log
node_dashboard -->|"routes to"| node_project_task
node_dashboard -->|"routes to"| node_journal_time
node_index -->|"organizes"| node_nav
node_nav -->|"uses"| node_structure
node_structure -->|"curates"| node_favorites
node_note_templates -->|"includes"| node_project_task
node_note_templates -->|"includes"| node_journal_time
node_note_templates -->|"includes"| node_health_md
node_note_templates -->|"includes"| node_finance_md
node_note_templates -->|"includes"| node_reference_md
node_appshell -->|"wraps"| node_note_templates
node_appshell_html -->|"wraps"| node_html_templates
node_html_templates -->|"renders"| node_html_nav
node_html_templates -->|"renders"| node_html_health_finance
node_note_templates -->|"mirrors"| node_html_templates
node_issue_forms -.->|"captures into"| node_note_templates
node_pages_workflow -->|"publishes"| node_html_templates
node_pages_workflow -.->|"sources"| node_readme

click node_readme "https://github.com/monapdx/life-os/blob/main/README.md"
click node_dashboard "https://github.com/monapdx/life-os/blob/main/TEMPLATES/DASHBOARD.md"
click node_index "https://github.com/monapdx/life-os/blob/main/TEMPLATES/INDEX.md"
click node_log "https://github.com/monapdx/life-os/blob/main/TEMPLATES/LOG.md"
click node_nav "https://github.com/monapdx/life-os/blob/main/TEMPLATES/NAVIGATION.md"
click node_structure "https://github.com/monapdx/life-os/blob/main/structure.md"
click node_favorites "https://github.com/monapdx/life-os/blob/main/favorite-nav.md"
click node_appshell "https://github.com/monapdx/life-os/blob/main/TEMPLATES/APP_SHELL_TEMPLATE.md"
click node_note_templates "https://github.com/monapdx/life-os/blob/main/TEMPLATES/TEMPLATES.md"
click node_project_task "https://github.com/monapdx/life-os/blob/main/TEMPLATES/PROJECT.md"
click node_journal_time "https://github.com/monapdx/life-os/blob/main/TEMPLATES/DAYS.md"
click node_health_md "https://github.com/monapdx/life-os/blob/main/TEMPLATES/health.md"
click node_finance_md "https://github.com/monapdx/life-os/blob/main/TEMPLATES/BUDGET.md"
click node_reference_md "https://github.com/monapdx/life-os/blob/main/TEMPLATES/BOOK_METADATA.md"
click node_appshell_html "https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/APP_SHELL_TEMPLATE.html"
click node_html_templates "https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/TEMPLATES.html"
click node_html_nav "https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/NAVIGATION.html"
click node_html_health_finance "https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/health.html"
click node_issue_forms "https://github.com/monapdx/life-os/blob/main/.github/ISSUE_TEMPLATE/config.yml"
click node_pages_workflow "https://github.com/monapdx/life-os/blob/main/.github/workflows/pages.yml"

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_readme,node_dashboard,node_index,node_log,node_nav,node_structure,node_favorites toneBlue
class node_appshell,node_note_templates,node_project_task,node_journal_time,node_health_md,node_finance_md,node_reference_md toneAmber
class node_appshell_html,node_html_templates,node_html_nav,node_html_health_finance toneMint
class node_issue_forms,node_pages_workflow toneRose
```

## Components

### Control plane

Top-level entry points and navigation surfaces for daily use and retrieval.

- [README](https://github.com/monapdx/life-os/blob/main/README.md): entry · Primary repository entry and overview. · `README.md`
- [Dashboard](https://github.com/monapdx/life-os/blob/main/TEMPLATES/DASHBOARD.md): daily hub · Daily working surface for active content and status. · `TEMPLATES/DASHBOARD.md`
- [Index](https://github.com/monapdx/life-os/blob/main/TEMPLATES/INDEX.md): navigation map · Repository-wide map for browsing and linking content. · `TEMPLATES/INDEX.md`
- [Log](https://github.com/monapdx/life-os/blob/main/TEMPLATES/LOG.md): chronology · Time-ordered capture and history surface. · `TEMPLATES/LOG.md`
- [Navigation](https://github.com/monapdx/life-os/blob/main/TEMPLATES/NAVIGATION.md): curated links · Favorite and structured access paths into the repository. · `TEMPLATES/NAVIGATION.md`
- [Structure](https://github.com/monapdx/life-os/blob/main/structure.md): site map · High-level organization and content taxonomy. · `structure.md`
- [Favorites](https://github.com/monapdx/life-os/blob/main/favorite-nav.md): shortcut nav · Personalized shortcut set for common destinations. · `favorite-nav.md`

### Markdown templates

Canonical content model expressed as reusable note templates.

- [App shell](https://github.com/monapdx/life-os/blob/main/TEMPLATES/APP_SHELL_TEMPLATE.md): layout wrapper · Shared page shell used to frame note content. · `TEMPLATES/APP_SHELL_TEMPLATE.md`
- [Note templates](https://github.com/monapdx/life-os/blob/main/TEMPLATES/TEMPLATES.md): content model · Core markdown template family for everyday records and pages. · `TEMPLATES/TEMPLATES.md`
- [Projects & tasks](https://github.com/monapdx/life-os/blob/main/TEMPLATES/PROJECT.md): work notes · Project, task, checklist, and idea capture templates. · `TEMPLATES/PROJECT.md`
- [Journal & days](https://github.com/monapdx/life-os/blob/main/TEMPLATES/DAYS.md): time notes · Daily and temporal note templates for ongoing logging. · `TEMPLATES/DAYS.md`
- [Health records](https://github.com/monapdx/life-os/blob/main/TEMPLATES/health.md): health schema · Markdown health record templates for symptoms, appointments, and visits. · `TEMPLATES/health.md`
- [Finance records](https://github.com/monapdx/life-os/blob/main/TEMPLATES/BUDGET.md): finance schema · Markdown finance templates for budgets, expenses, subscriptions, and trips. · `TEMPLATES/BUDGET.md`
- [Reference library](https://github.com/monapdx/life-os/blob/main/TEMPLATES/BOOK_METADATA.md): reference set · Long-lived knowledge and media reference templates. · `TEMPLATES/BOOK_METADATA.md`

### HTML render layer

Browser-facing mirrored templates and presentation assets.

- [HTML shell](https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/APP_SHELL_TEMPLATE.html): layout wrapper · Rendered page shell shared by HTML versions of templates. · `TEMPLATES/HTML/APP_SHELL_TEMPLATE.html`
- [HTML templates](https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/TEMPLATES.html): presentation layer · Mirrored HTML versions of the markdown template system. · `TEMPLATES/HTML/TEMPLATES.html`
- [HTML navigation](https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/NAVIGATION.html): browser nav · Rendered navigation and landing pages for browser use. · `TEMPLATES/HTML/NAVIGATION.html`
- [HTML records](https://github.com/monapdx/life-os/blob/main/TEMPLATES/HTML/health.html): rendered records · Rendered health, finance, and trip record pages. · `TEMPLATES/HTML/health.html`

### GitHub ops

Issue-based capture and static publishing automation.

- [Issue forms](https://github.com/monapdx/life-os/blob/main/.github/ISSUE_TEMPLATE/config.yml): capture inputs · Structured GitHub Issue templates for recurring intake and planning. · `.github/ISSUE_TEMPLATE/config.yml`
- [Pages deploy](https://github.com/monapdx/life-os/blob/main/.github/workflows/pages.yml): publish pipeline · GitHub Pages workflow that publishes the site from repository content. · `.github/workflows/pages.yml`

## Connections

- README → Dashboard: launches · The repository overview points into the main working hub.
- README → Index: maps to · Overview connects to the navigation index.
- README → Log: tracks · Overview connects to chronological activity.
- Dashboard → Projects & tasks: routes to · Daily work hub surfaces work and task templates.
- Dashboard → Journal & days: routes to · Daily hub links into temporal notes.
- Index → Navigation: organizes · Index feeds curated navigation surfaces.
- Navigation → Structure: uses · Navigation is informed by repository structure.
- Structure → Favorites: curates · Structure supports curated shortcuts and favorites.
- Note templates → Projects & tasks: includes · Core template system includes project and task notes.
- Note templates → Journal & days: includes · Core template system includes daily/time-based notes.
- Note templates → Health records: includes · Core template system includes health records.
- Note templates → Finance records: includes · Core template system includes finance records.
- Note templates → Reference library: includes · Core template system includes reference and library notes.
- App shell → Note templates: wraps · Shared shell frames the markdown note system.
- HTML shell → HTML templates: wraps · Rendered shell frames the HTML template set.
- HTML templates → HTML navigation: renders · HTML template layer includes navigation pages.
- HTML templates → HTML records: renders · HTML template layer includes structured record pages.
- Note templates → HTML templates: mirrors · Markdown templates have mirrored HTML counterparts.
- Issue forms → Note templates: captures into · Structured issues feed content into the note model.
- Pages deploy → HTML templates: publishes · GitHub Pages workflow publishes the rendered site.
- Pages deploy → README: sources · Publishing draws from repository content and entry pages.
