# buildgreatproducts/simplebrain architecture

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

- Interactive diagram: https://gitdiagram.com/buildgreatproducts/simplebrain
- Repository: https://github.com/buildgreatproducts/simplebrain

## Overview

This repository is a lightweight personal knowledge workflow, not an application with its own runtime. The documented loop is: capture material in raw, run an AI agent using the translation prompt to produce clean wiki notes, then review the wiki; processed raw material is archived. Projects are a separate space for active work, and Git preserves repository history. No source excerpts were provided, so the relationships shown are limited to those described in the README.

Main entry points: [`raw`](https://github.com/buildgreatproducts/simplebrain/tree/main/raw) (Raw material), [`wiki`](https://github.com/buildgreatproducts/simplebrain/tree/main/wiki) (Clean notes), [`archive`](https://github.com/buildgreatproducts/simplebrain/tree/main/archive) (Processed archive), [`projects`](https://github.com/buildgreatproducts/simplebrain/tree/main/projects) (Active projects)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_capture["Capture"]
  node_raw["Raw material"]
end

subgraph group_processing["Processing"]
  node_prompt["Translation prompt<br/>[translate.md]"]
end

subgraph group_knowledge["Knowledge"]
  node_wiki["Clean notes"]
  node_archive["Processed archive"]
  node_projects["Active projects"]
end

node_user(("User"))
node_agent(("AI agent"))
node_git[("Git history")]

node_user -->|"captures in"| node_raw
node_user -->|"runs"| node_agent
node_agent -->|"follows"| node_prompt
node_agent -->|"processes"| node_raw
node_agent -->|"writes notes"| node_wiki
node_agent -->|"moves processed"| node_archive
node_user -->|"reads"| node_wiki
node_user -->|"organizes work"| node_projects
node_raw -->|"tracked by"| node_git
node_wiki -->|"tracked by"| node_git
node_projects -->|"tracked by"| node_git
node_archive -->|"tracked by"| node_git

click node_raw "https://github.com/buildgreatproducts/simplebrain/tree/main/raw"
click node_prompt "https://github.com/buildgreatproducts/simplebrain/blob/main/prompts/translate.md"
click node_wiki "https://github.com/buildgreatproducts/simplebrain/tree/main/wiki"
click node_archive "https://github.com/buildgreatproducts/simplebrain/tree/main/archive"
click node_projects "https://github.com/buildgreatproducts/simplebrain/tree/main/projects"

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_raw,node_user toneBlue
class node_prompt,node_git toneAmber
class node_wiki,node_archive,node_projects toneMint
class node_agent toneIndigo
```

## Components

### Capture

- [Raw material](https://github.com/buildgreatproducts/simplebrain/tree/main/raw): `raw`

### Processing

- [Translation prompt](https://github.com/buildgreatproducts/simplebrain/blob/main/prompts/translate.md): `prompts/translate.md`

### Knowledge

- [Clean notes](https://github.com/buildgreatproducts/simplebrain/tree/main/wiki): `wiki`
- [Processed archive](https://github.com/buildgreatproducts/simplebrain/tree/main/archive): `archive`
- [Active projects](https://github.com/buildgreatproducts/simplebrain/tree/main/projects): `projects`

### Other components

- **User**
- **AI agent**
- **Git history**

## Connections

- User → Raw material: captures in (evidence: `README.md`)
- User → AI agent: runs (evidence: `README.md`)
- AI agent → Translation prompt: follows (evidence: `README.md`)
- AI agent → Raw material: processes (evidence: `README.md`)
- AI agent → Clean notes: writes notes (evidence: `README.md`)
- AI agent → Processed archive: moves processed (evidence: `README.md`)
- User → Clean notes: reads (evidence: `README.md`)
- User → Active projects: organizes work (evidence: `README.md`)
- Raw material → Git history: tracked by (evidence: `README.md`)
- Clean notes → Git history: tracked by (evidence: `README.md`)
- Active projects → Git history: tracked by (evidence: `README.md`)
- Processed archive → Git history: tracked by (evidence: `README.md`)
