commit_distillation
Store the confirmed outcome of a surface_connections() dialogue: save the distilled insights from a revised connection map and link them to the SYN page.
Instructions
Store the confirmed outcome of a surface_connections() dialogue.
Call this after the Phase 2 dialogue concludes and the user has
reviewed the revised connection map. Only the distillation — what the
comparison revealed, not the connection list or the dialogue
transcript itself — is stored as the entry's text; the four categories
are kept as supporting detail alongside it.
Never creates a SYN template ID — SYN numbers belong to physical
pages. Stores with source='ai_extract' (excluded from journal_health
KPIs, distinguishable in get_breakthroughs()/export_html()) using the
AIEX sequence, and links to the SYN page with an asserted 'distills'
edge (source: the new AIEX entry, target: the SYN page).
Args:
distillation_json: JSON string with fields:
syn_template_id (required) — the SYN page this distills.
distillation (required) — 2-5 sentences: what the comparison
revealed and what it means. This is the artifact.
confirmed, retired, deferred, missed, beyond_scan — lists of
strings, one per connection-map entry (all
optional, default empty).
tags — optional list of "#topic"/"@source"/etc strings.
date — optional ISO date; defaults to today.
Returns a confirmation with the assigned AIEX ID and the distills edge.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| distillation_json | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |