journal.distill
Convert raw journal events into organized markdown entries by topic, advancing the high-water mark. Automatically creates a project row for unregistered slugs, ensuring every event is captured without duplication.
Instructions
Run the distillation pipeline: read raw events since the high-water mark, group by topic, write mechanical markdown entries, advance high-water. Idempotent. Auto-provisions a project row for orphan slugs (e.g. default) that have no registered project yet.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| max_events | No | Maximum raw events to process per run (default 200, max 2000). | |
| project_slug | No | Project slug to distill. Defaults to the current active project. |