Ingest Stage
Split a raw session notes file (type: session-notes) into individual insight notes.
See references/pipeline.md for stage definitions and status flow.
Input
A session notes file in the inbox with status: raw and type: session-notes.
Process
- Read the session notes file
- Extract each bullet point as a separate insight
- For each insight, create a new note via
sb note create --source auto --title "{insight title}"with:status: ingestedtype: insightsource-session: {original session filename}- Inherited metadata:
repo,branch,beanfrom the parent session file
- Write the note body (the bullet text, cleaned up into a sentence or short paragraph) using the Write tool
- Update the original session file's status to
ingestedusing the Edit tool (changestatus: rawtostatus: ingestedin frontmatter)
Output
- N new insight notes in the inbox, each with
status: ingested - Original session file updated to
status: ingested
Constraints
- Preserve all provenance metadata from the parent session file
- Each extracted note gets its own zettelkasten timestamp (via sb)
- The
source-sessionfield links back to the original session file - Don't merge or combine bullets. One bullet, one note.
- Skip empty or trivial bullets (single words, fragments)