refine_session_turns
Converts verbose session logs into refined turn summaries, writing structured output to a file. Limit by turn count or specific IDs for focused memory refinement.
Instructions
Read a session wire.jsonl and generate Refined Turn Summaries. Output is written to refined/.jsonl.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Optional limit: refine only the most recent N turns | |
| turnIds | No | Optional list of turnIds to refine | |
| sessionId | No | Session identifier (default: current session) | |
| session_id | No | Alias for sessionId |