Files
second-brain/README.md
T
kiskaadee c30f9a873c docs(brain): define repository conventions and add structural validator
New root-level documents establishing the Brain's identity and conventions:

AGENTS.md (new, Brain-wide):
- Replaces the Backend Residency coaching manual
- Defines semantic contracts for each top-level directory
- Documents type-specific frontmatter contracts
- Link conventions (relative markdown, no Obsidian syntax)
- Git commit standards (Conventional Commits)
- Points to scripts/validate-brain.py for structural verification

README.md (rewritten):
- Describes the Brain as a knowledge graph, not a residency dashboard
- Navigation table pointing to top-level directories with semantic purpose
- No references to Backend Residency operational state

inbox/README.md (new):
- Explains the zero-friction capture rule
- Documents the processing workflow (inbox → knowledge/projects/records)

scripts/validate-brain.py (new):
- Structural validator for AI agents and manual use
- Checks: no deprecated directories, required root files, frontmatter
  presence and valid type on all content documents, relative link
  resolution
- Run: python scripts/validate-brain.py
- Passes cleanly on current repository state
2026-09-05 21:55:16 -05:00

88 lines
2.4 KiB
Markdown

# 🧠 Brain
A personal knowledge graph organized by document type, not by subject.
---
## Structure
| Directory | What it contains |
| :--- | :--- |
| [`inbox/`](inbox/) | Zero-friction capture. Write here when you don't know where something belongs yet. |
| [`knowledge/`](knowledge/) | Durable understanding — things you know and want to keep. |
| [`projects/`](projects/) | Contextual documents that belong to a specific project. |
| [`records/`](records/) | Historical artifacts — things that happened. |
| [`practice/`](practice/) | Algorithm exercises and implementation drills. |
---
## Knowledge
```
knowledge/
├── concepts/ ← Disciplinary ideas: algorithms, data structures
├── technologies/ ← Tool and language knowledge: Python, Docker, Nix, tmux
│ └── python/
└── methods/ ← Backend practices: testing, auth, SQL, CI/CD, ADRs
```
**Key documents:**
- [Binary Search](knowledge/concepts/binary-search.md)
- [HashMap](knowledge/concepts/hashmap.md)
- [Pydantic](knowledge/technologies/python/pydantic.md)
- [Docker](knowledge/technologies/docker.md)
- [Authentication & JWT](knowledge/methods/auth.md)
- [SQL](knowledge/methods/sql.md)
- [Testing](knowledge/methods/testing.md)
- [CI/CD & GitOps](knowledge/methods/cicd-fundamentals-and-gitops.md)
---
## Projects
```
projects/
├── homelab/ ← Infrastructure, NixOS, appctl, CI/CD, networking
│ ├── plans/ ← Migration and strategy documents
│ └── guides/ ← Architecture and how-to documents
├── magnetflix/ ← Media application
└── nekoweb/ ← Web project
```
**Key documents:**
- [Homelab Overview](projects/homelab/overview.md)
- [MagNetFlix Overview](projects/magnetflix/overview.md)
---
## Records
```
records/
└── journal/ ← Dated engineering retrospectives
```
---
## Practice
```
practice/
└── LeetCode/
├── 00-practiced-patterns.md ← Pattern index
├── 0001-two-sum.md
└── Solutions/ ← Python solution files
```
---
## Conventions
Every document has a `type` field in its YAML frontmatter. See [AGENTS.md](AGENTS.md) for the full metadata convention, directory semantics, link standards, and git commit format.
---
## Inbox
Documents that haven't been classified yet live in [`inbox/`](inbox/). See [`inbox/README.md`](inbox/README.md) for the capture rule.