# senthemodder/aquarium-of-gullibles architecture

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

- Interactive diagram: https://gitdiagram.com/senthemodder/aquarium-of-gullibles
- Repository: https://github.com/senthemodder/aquarium-of-gullibles

## Overview

Aquarium of Gullibles is a small TypeScript type-level utility, not a sampled simulation runtime: its source defines a recursive type transformation and a recursive state-graph shape. `SolvedState` applies that transformation to `StateGraphNode`. No runtime execution, storage, or external integrations are shown, so the graph is limited to these types.

Main entry points: [`src/types/state.ts`](https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts) (Solved state)

## Diagram (Mermaid)

```mermaid
flowchart TD

node_resolver["Deep resolver<br/>[state.ts]"]
node_state_graph["State graph node<br/>[state.ts]"]
node_solved_state["Solved state<br/>[state.ts]"]

node_solved_state -->|"applies type"| node_resolver
node_solved_state -->|"transforms type"| node_state_graph

click node_resolver "https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts"
click node_state_graph "https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts"
click node_solved_state "https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts"

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_resolver,node_state_graph,node_solved_state toneTeal
```

## Components

### Other components

- [Deep resolver](https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts): `src/types/state.ts`
- [State graph node](https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts): `src/types/state.ts`
- [Solved state](https://github.com/senthemodder/aquarium-of-gullibles/blob/main/src/types/state.ts): `src/types/state.ts`

## Connections

- Solved state → Deep resolver: applies type (evidence: `src/types/state.ts`)
- Solved state → State graph node: transforms type (evidence: `src/types/state.ts`)
