# Second Brain Vault

A living wiki of everything I know. Compounds like interest — the more I feed it, the smarter it gets.

## How to Use

1. Drop any source (article, transcript, PDF, notes) into `raw/`
2. Say "ingest this" + the file/topic
3. I read it, extract key ideas, create wikilinked wiki pages in `wiki/`
4. Ask questions across everything — forever

## Folder Structure

- `raw/` — Raw source material (articles, transcripts, PDFs, notes)
- `wiki/` — Generated wiki pages with `[[wikilinks]]`
- `inbox/` — Quick capture area for fleeting thoughts
- `_templates/` — Note templates for consistency
- `tags/` — Tag-based organization

## Rules

1. **Every wiki page uses `[[wikilinks]]`** — no URLs in the body, link to other notes
2. **Tags for filtering** — `#project`, `#system`, `#concept`, `#person`, `#decision`, `#lesson`
3. **One idea per page** — keep pages focused and linkable
4. **Update existing pages** — don't create duplicates, update if the topic already exists
5. **Source attribution** — always link back to the raw source at the bottom

## Ingestion Workflow

When you say "ingest [file/topic]":

1. Read the source from `raw/` or the provided URL/text
2. Identify key concepts, decisions, lessons, and entities
3. For each concept:
   - Check if a wiki page already exists (search `wiki/`)
   - If exists → update with new info
   - If not → create new page with wikilinks to related concepts
4. Move processed raw files to `raw/archive/` (or delete if digital)
5. Report what was created/updated

## Query Workflow

When you ask a question:

1. Search `wiki/` for relevant pages
2. Follow wikilinks to gather context
3. Synthesize an answer with sources cited

## Maintenance

Every so often:
- Check for stale/contradictory notes
- Merge duplicate pages
- Remove dead links
- Update confidence on outdated claims