Ask: "everything I have, Loki should have." The RAG index held only project
dossiers + dev logs. Extended reindex-knowledge.ts to also embed:
• goal — every project's roadmap/task-list (title, description, %, milestones,
joined to its project) — the raw material for cross-project synthesis.
• thought — the published strategic essays, where the operator has written
down HOW the projects relate (three-layer thesis, the two halves) — so Loki
reasons about synergies from first-hand sources, not guesses.
Added "goal" to KnowledgeSourceType (free-text column, no migration).
Loki's retrieved-context block is now source-aware: each line is labelled by
kind + project (or essay title) — "[BiasLens · goal]", "[essay: The Two
Halves]" — and Loki is told to cite the [source], so it shows its work.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>