Adds the three missing pieces that turn .agents/ into a proper
LLM wiki following the Karpathy pattern:
1. .agents/INDEX.md — canonical discovery surface cataloging all 202
learnings, plans, research, council reports, and wiki pages with
wikilinks. Auto-generated by scripts/generate-index.sh.
2. .agents/LOG.md — append-only chronological operation log. Entries
formatted as: YYYY-MM-DD HH:MM | actor | VERB | subject | [[wikilink]]
3. .agents/wiki/ directory structure:
- wiki/sources/ — tier 1 LLM session summaries (forge output)
- wiki/synthesis/ — cross-session insights
- wiki/concepts/ — promoted concept pages
- wiki/entities/ — promoted entity pages
Integration:
- ao search now scans wiki/sources/, wiki/synthesis/, wiki/concepts/
(3 new appendKnowledgeMarkdownSearch calls in search.go)
- ao forge --tier=1 writes to .agents/wiki/sources/ (was ao/sessions/)
- Dream post-loop hook + evolve dream sub-cycle write to wiki/sources/
- forge_tier1.go appends to LOG.md and INDEX.md after each session page
- wiki_log.go: AppendToLog + AppendToIndex helpers for all ingest paths
Obsidian-ready: open .agents/ as vault, INDEX.md is the home page,
wikilinks resolve to page navigation, graph view shows connections.