The ingest pipeline
A source dropped into an entry point goes through seven steps, from a hash check that skips unchanged files to writing a page and updating the tracking files. Nothing runs on its own; the pipeline runs when you invoke /ingest.
The seven steps
Section titled “The seven steps”- The agent computes SHA-256 and compares with
_service/.manifest.json. If the hash matches, it skips; reruns never re-process unchanged files - Classify the source by type and assign a
source_qualityscore from a fixed bucket list (paper, official, documentation, article, blog, voice-transcript, claude-chat, and so on) - Extract knowledge items: entities, claims, links. Discard greetings, dead-ends, and low-signal content
- Route each item to a knowledge folder per the routing rules in
CLAUDE.md - Write or update the page with full frontmatter: summary (≤200 chars),
sources,base_confidence,lifecycle: draft,provenancefractions. Apply inline provenance markers (^[inferred],^[ambiguous]) on individual claims - Apply the entry point’s
post_ingestrule: either addprocessed: trueand move the file under_service/entry-points/<entry-point>/<YYYY-MM>/, or add the frontmatter and leave it in place - Update the manifest, append a one-liner to
_service/log.md, push the touched page onto_service/hot.md
Minimum page size
Section titled “Minimum page size”The minimum page size is 250 words. If a knowledge item cannot reach that threshold, the agent defers it until more material accumulates rather than producing a stub page.
Related reference
Section titled “Related reference”- Page frontmatter: the full frontmatter written at step 5
- Schemas: the manifest and source ID rules used at steps 1 and 2
- Confidence scoring: how
base_confidenceis computed - Page lifecycle: why new pages start at
draft