memory_session_state
Save or resume a session state with summary, next steps, open questions, files touched, and branch. Supports versioned saves and resumes the latest state for a given session key.
Instructions
Save or resume a resumable session-state ("where was I"): structured summary/next_steps/open_questions/files_touched/branch keyed by session_key. save upserts (versioned, so you can diff sessions via memory_version_diff); resume returns the latest. Bypasses the dedup write-gate so an incremental save always persists.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| action | No | save the current session state | resume the latest | resume |
| session_key | No | Stable key for the work thread (defaults to branch, else "default"). | |
| scope | No | Memory scope for isolation | |
| namespace | No | Namespace within scope (e.g., project name, team name) | |
| summary | No | Where things stand right now. | |
| next_steps | No | Ordered list of what to do next. | |
| open_questions | No | Unresolved questions. | |
| files_touched | No | Files in flight. | |
| branch | No | Git branch this session is on. | |
| extra | No | Any additional caller-defined state fields. |