record
Capture typed episodes with reasoning to document decisions, observations, and tensions, building raw material for session memory compression.
Instructions
Record a typed episode to memory. Call this when important decisions are made, patterns are noticed, tensions are identified, questions arise, or outcomes are observed. Record the reasoning, not just the fact — 'Chose X because Y' is more valuable than 'using X'. Episodes accumulate during a session and serve as raw material for compression into the continuity file at session end.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| source | No | Agent or source attribution. Defaults to 'agent'. | agent |
| content | Yes | The episode content — what happened, what was observed, decided, or questioned. | |
| metadata | No | Optional JSON metadata to attach to the episode. | |
| episode_type | Yes | Episode type. observation=pattern/insight, decision=committed choice, tension=conflict/tradeoff, question=open question, outcome=result of action, context=environmental/state info. |