# retry51776/notes architecture

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

- Interactive diagram: https://gitdiagram.com/retry51776/notes
- Repository: https://github.com/retry51776/notes

## Overview

Terry’s Notes is a curated knowledge base spanning technical and general topics, intended for people—and, per the README, agents asked to use it as a reference. The main workflow is to locate a subject area and consult its notes. The repository also includes standalone AI utilities, including tools for tracing JavaScript calls and querying an OpenAI model; these are not part of a documented notes-processing pipeline. Source excerpts show those tools’ external API calls, but not how readers or agents retrieve notes at runtime.

Main entry points: [`README.md`](https://github.com/retry51776/notes/blob/main/README.md) (Terry’s Notes), [`ai/tools/llm_with_ast.py`](https://github.com/retry51776/notes/blob/main/ai/tools/llm_with_ast.py) (AST model query), [`ai`](https://github.com/retry51776/notes/tree/main/ai) (AI notes), [`devOps`](https://github.com/retry51776/notes/tree/main/devOps) (DevOps notes)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_knowledge["Knowledge base"]
  node_notes["Terry’s Notes<br/>knowledge base"]
  node_ai_notes["AI notes"]
  node_devops_notes["DevOps notes"]
  node_development_notes["Development notes"]
  node_science_notes["Science notes"]
  node_biology_notes["Biology notes"]
  node_business_notes["Business notes"]
  node_crypto_notes["Crypto notes"]
  node_database_notes["Database notes"]
  node_psychology_notes["Psychology notes"]
end

subgraph group_ai_tools["AI utilities"]
  node_call_tracer_js["JavaScript call tracer"]
  node_llm_with_ast["AST model query<br/>[llm_with_ast.py]"]
end

node_reader(("Reader or agent<br/>external actor"))
node_openai["OpenAI API<br/>external service"]

node_reader -->|"consults"| node_notes
node_notes -->|"organizes"| node_ai_notes
node_notes -->|"organizes"| node_devops_notes
node_notes -->|"organizes"| node_development_notes
node_notes -->|"organizes"| node_science_notes
node_notes -->|"organizes"| node_biology_notes
node_notes -->|"organizes"| node_business_notes
node_notes -->|"organizes"| node_crypto_notes
node_notes -->|"organizes"| node_database_notes
node_notes -->|"organizes"| node_psychology_notes
node_llm_with_ast -->|"queries"| node_openai

click node_notes "https://github.com/retry51776/notes/blob/main/README.md"
click node_ai_notes "https://github.com/retry51776/notes/tree/main/ai"
click node_devops_notes "https://github.com/retry51776/notes/tree/main/devOps"
click node_development_notes "https://github.com/retry51776/notes/tree/main/development"
click node_science_notes "https://github.com/retry51776/notes/tree/main/science"
click node_biology_notes "https://github.com/retry51776/notes/tree/main/biology"
click node_business_notes "https://github.com/retry51776/notes/tree/main/business"
click node_crypto_notes "https://github.com/retry51776/notes/tree/main/crypto"
click node_database_notes "https://github.com/retry51776/notes/tree/main/database"
click node_psychology_notes "https://github.com/retry51776/notes/tree/main/psychology"
click node_call_tracer_js "https://github.com/retry51776/notes/blob/main/ai/tools/find_parent_recursive.js"
click node_llm_with_ast "https://github.com/retry51776/notes/blob/main/ai/tools/llm_with_ast.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_notes,node_ai_notes,node_devops_notes,node_development_notes,node_science_notes,node_biology_notes,node_business_notes,node_crypto_notes,node_database_notes,node_psychology_notes toneBlue
class node_call_tracer_js,node_llm_with_ast toneAmber
class node_reader toneIndigo
class node_openai toneMint
```

## Components

### Knowledge base

- [Terry’s Notes](https://github.com/retry51776/notes/blob/main/README.md): knowledge base · `README.md`
- [AI notes](https://github.com/retry51776/notes/tree/main/ai): notes · `ai`
- [DevOps notes](https://github.com/retry51776/notes/tree/main/devOps): notes · `devOps`
- [Development notes](https://github.com/retry51776/notes/tree/main/development): notes · `development`
- [Science notes](https://github.com/retry51776/notes/tree/main/science): notes · `science`
- [Biology notes](https://github.com/retry51776/notes/tree/main/biology): notes · `biology`
- [Business notes](https://github.com/retry51776/notes/tree/main/business): notes · `business`
- [Crypto notes](https://github.com/retry51776/notes/tree/main/crypto): notes · `crypto`
- [Database notes](https://github.com/retry51776/notes/tree/main/database): notes · `database`
- [Psychology notes](https://github.com/retry51776/notes/tree/main/psychology): notes · `psychology`

### AI utilities

- [JavaScript call tracer](https://github.com/retry51776/notes/blob/main/ai/tools/find_parent_recursive.js): utility · `ai/tools/find_parent_recursive.js`
- [AST model query](https://github.com/retry51776/notes/blob/main/ai/tools/llm_with_ast.py): utility · `ai/tools/llm_with_ast.py`

### Other components

- **Reader or agent**: external actor
- **OpenAI API**: external service

## Connections

- Reader or agent → Terry’s Notes: consults (evidence: `README.md`)
- Terry’s Notes → AI notes: organizes (evidence: `README.md`)
- Terry’s Notes → DevOps notes: organizes (evidence: `README.md`)
- Terry’s Notes → Development notes: organizes (evidence: `README.md`)
- Terry’s Notes → Science notes: organizes (evidence: `README.md`)
- Terry’s Notes → Biology notes: organizes (evidence: `README.md`)
- Terry’s Notes → Business notes: organizes (evidence: `README.md`)
- Terry’s Notes → Crypto notes: organizes (evidence: `README.md`)
- Terry’s Notes → Database notes: organizes (evidence: `README.md`)
- Terry’s Notes → Psychology notes: organizes (evidence: `README.md`)
- AST model query → OpenAI API: queries (evidence: `ai/tools/llm_with_ast.py`)
