close_session
Records key insights, surprises, and handoff to close the current session. Replaces three separate actions, lowering friction and advancing the spiral phase.
Instructions
Close the current session with integration. One call replaces three (record_insight + spiral_reflect + handoff). This is the ceremony-killer: lowering friction on the reflection ritual until it's cheaper to do than to skip. Also advances the spiral phase forward one step — side-effect that keeps the phase counter moving even on tired sessions. NOTE: close_session does NOT rotate the session_id. The session_id remains the same on the next boot. To start a genuinely new session with a fresh session_id, call spiral_inherit explicitly after closing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| what_i_learned | Yes | The main thing from this session worth carrying forward. | |
| what_surprised_me | No | What I didn't expect. Surprises are where the probability field moved. | |
| what_to_pick_up | No | The handoff. Intent for the next instance. Leave empty if nothing is pending. | |
| thread | No | Which line of work this closes. Used for the handoff note. | general |
| source_instance | No | Which instance is closing (e.g. 'claude-code-mac-studio'). |