Content Pipeline: Sources to Production

Content Pipeline: Sources to Production A data-flow diagram generated by Archify. 01 / Download + prepare 02 / Local staging 03 / Generate + check 04 / Review + publish 05 / App Download · to .data/ on disk · 01 / Download + prepare · no LLM Download to .data/ on disk no LLM Normalize + enrich · rows + importance · 01 / Download + prepare · LLM in a few steps, capped Normalize + enrich rows + importance LLM in a few steps, capped staging.duckdb · local working copy · 02 / Local staging · your machine staging.duckdb local working copy your machine Chunk + embed · 300-450 word passages · 03 / Generate + check · no LLM Chunk + embed 300-450 word passages no LLM Lessons · write, check, rewrite · 03 / Generate + check · LLM, capped, NoSource Lessons write, check, rewrite LLM, capped, NoSource Cards · writer + quality gates · 03 / Generate + check · LLM, capped Cards writer + quality gates LLM, capped Audio · script, check, mp3 · 03 / Generate + check · LLM, flat rate Audio script, check, mp3 LLM, flat rate Upstash Vector · Coach search index · 04 / Review + publish · PRODUCTION Upstash Vector Coach search index PRODUCTION Human review · you read the packs · 04 / Review + publish · no code gate Human review you read the packs no code gate Supabase Postgres · catalogue + content · 04 / Review + publish · PRODUCTION Supabase Postgres catalogue + content PRODUCTION Cloudflare R2 · audio mp3 files · 04 / Review + publish · PRODUCTION Cloudflare R2 audio mp3 files PRODUCTION Web app · Next.js, reads only · 05 / App · readers Web app Next.js, reads only readers raw files rows lessons + docs source docs NoSource guard lesson text lessons embed WRITES PROD ok drafts publish WRITES PROD rows (prod) mp3 WRITES PROD search live signed URL Legend primary data policy / PII async batch data store data flow