How the `olw` pipeline works
masterThe pipeline transforms raw notes into a structured wiki through three distinct stages:
- Ingest (
olw ingestorolw run): Uses a Fast LLM (3B–8B) to read notes, extract concept names, preserve named references as 'knowledge item candidates', and write quality scores/summaries tostate.db. It creates source summary pages inwiki/sources/. - Compile (
olw compile): Uses a Heavy LLM (7B–14B) to gather all source notes for a concept, inject previous rejection feedback, and write a wiki article with[[wikilinks]]. Articles are placed inwiki/.drafts/for review. - Review (
olw revieworolw approve): An interactive menu to approve, reject, diff, or edit drafts. Approved articles are published towiki/, annotations are stripped,wiki/index.mdis updated, and changes are Git committed.