journal_distill
Distills raw journal events since the high-water mark into topic-grouped markdown entries, then advances the mark and auto-provisions project rows for orphan slugs. Runs idempotently.
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. |