Skip to content

end_episode

End the current episode and provide a summary. The summary is the main value for future recall — it captures the narrative of the work session.

ParameterTypeRequiredDescription
summarystringYesWhat was attempted, what worked, what was decided

Confirmation with the episode ID and memory count.

{
"summary": "Root cause: refresh token rotation race condition when two tabs make simultaneous requests. Fixed with mutex around token refresh. Also discovered token cache wasn't clearing on logout — fixed that too."
}
  • Always provide a summary — it’s the primary value for future recall
  • Summaries should capture: what was attempted, what worked, what was decided
  • Episodes also auto-end after 30 minutes of inactivity (without summary)