Content OS

Feed Enrichment

Turn a raw scraped row into a decision-ready card - summary, category, geography, keywords, scores.

Vertical: Digital · Status: ✅ Live Back to Digital · workflows index


Trigger

Fully automatic. Background worker polling every ~2 seconds, stamping a heartbeat each tick so a dead loop raises an alert rather than a growing queue.

Flow

claim one pending item (atomic, per tenant)
        |
LLM pass:  summary - category - geo_state - keywords
           relevance band (A-E rubric) - evidence inventory
           brand-fit band + cited guideline ids
        |
deterministic pass:  authority score - persona matches
                     term coverage - counted voice/avoid hits
        |
composite: feedRank  (relevance 0.35 + brand fit 0.25
                      + authority 0.2 + authenticity 0.2,
                      x compliance gate x relevance gate)
        |
status: ready        (or failed, retried up to 3x)

Ingest itself dedupes on the canonical URL - tracking params, fragments, www. and trailing slashes are normalised before the upsert, so a utm-tagged variant of an already-held article can never land as a second pending row.

The deliberate split

Not everything comes from the model, and nothing displayed is a bare model number:

From the LLMComputed
Summary, category, geo, keywordsAuthority score (domain tier + document signals + source priority + reviewer history)
Relevance band (A-E, held within its range)Term coverage over categories, discovery phrases, persona vocabulary
Evidence inventory (quotes, attributed figures, named sources, wire markers)Authenticity score from that inventory
Brand-fit band + cited guideline idsCounted voice matches / avoid hits, rulebook delta
Persona matches

Authority is a property of the source, not the story - so it is computed from the domain-tier prior, document signals captured at extraction, source priority and reviewer history. Personas are matched by rule, because an article never states its reader's age or profession. Everything blends into one composite, feedRank - the number Discovery's "Best" sort, Daily Studio and the News page all rank on - gated so a compliance hit or a band-E relevance cannot ride authority into the feed. Freshness multiplies in at read time, not at write time.

Agents involved

Discovery Agent. Per-tenant mode: full (default) - no_summary - off.

Gaps

Serial - one item at a time, so a large sweep drains slowly; the pending count is now a gauge with a backlog alert and a Jobs-page tile, so the drain is measured even though it is not faster. Reads only the first 5 000 characters of an article.

Roadmap source

Page 1 data layer; page 2 target-state Data Enrichment — see roadmap_ref_extracted.md.

Source: roadmap/workflows/digital/feed-enrichment/README.md