Save Session Summary
store_session_summaryStore a compressed summary of this session to preserve continuity for the next one.
Call this before ending a conversation — it is the dream cycle.
Stores a L3 session fact with key='session-latest' (or 'session-latest:claude-code' etc.), auto-archiving the previous version. The next session loads this via load_context().
Include: what was discussed/decided, what changed, what's next/unresolved.
Collaborative takeaways: at natural session-end signals (user says 'okay I'm out', 'let's wrap', 'bye'), draft a one-line takeaway and confirm with the user before storing. Example: "I'll remember: we fixed the rebind bug and decided to skip transcript ingestion for MVP. Sound right?" Edit based on their response, then call store_session_summary. This makes memory consensual and catches mistakes immediately.
Use session_id to scope by client: 'claude-code', 'claude-chat', 'cursor', 'openclaw'
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | Optional project slug for project-scoped last-wake-epoch watermark (conventions/wake-rehydration-v2:current). | |
| summary | Yes | What happened this session — decisions made, work done, context established | |
| decisions | No | Key decisions made or conclusions reached | |
| next_steps | No | What's pending, open questions, what to pick up next session | |
| session_id | No | Optional client identifier to scope this summary: 'claude-code', 'cursor', 'claude-chat', 'openclaw'. Defaults to bare session-latest. | |
| contributors | No | Optional list of contributor IDs when multiple agents or users collaborated this session (e.g. ['agent-A', 'chad', 'emily']). Stored in summary for attribution. |