End Session
session_endSave and summarize the current session, recording insights and next steps. Optionally update the project pipeline by closing or opening a phase.
Instructions
[ON SAVE/EXIT — YOU must call this; nothing auto-saves] Use when the user asks to save, checkpoint, summarize, end, retain, or persist the current session. Optionally pass close_phase / open_phase to update the project pipeline narrative spine in the same call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| summary | Yes | What happened this session. Simple session: 2-3 sentences. Multi-phase session: one paragraph per completed phase (e.g. 'Phase 1 — Name: what happened. Phase 2 — Name: what happened. Decisions: X. Blockers: Y.'). Never compress a multi-phase session to 2 sentences — it makes the journal useless. | |
| insights | No | Insights learned this session. | |
| trajectory | No | Where is the work heading next. | |
| close_phase | No | Close the currently active pipeline phase as part of this save. Provide all three reflection fields explicitly — never auto-generated. | |
| open_phase | No | Open a new pipeline phase as part of this save (e.g. when a watershed session pivots into the next strategic direction). | |
| project | No | auto |