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.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "journal_distill"
}
}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. |