nexo_session_diary_write
Record end-of-session diary entries capturing decisions, discarded options, and context for next session to ensure continuity in AI agent sessions.
Instructions
Write end-of-session diary with decisions, discards, and context for next session
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| decisions | No | What was decided and why (JSON array or structured text) | |
| summary | No | 2-3 line summary of the session | |
| discarded | No | Options/approaches considered but rejected, and why | |
| pending | No | Items left unresolved, with doubt level | |
| context_next | No | What the next session should know to continue effectively | |
| mental_state | No | Internal state to transfer — thread of thought, tone, observations not yet shared, momentum. Written in first person as NEXO. | |
| user_signals | No | Observable signals from user during session — response speed (fast='s' vs detailed explanations), tone (direct, frustrated, exploratory, excited), corrections given, topics he initiated vs topics NEXO initiated. Factual observations only, not interpretations. | |
| domain | No | Project context: ecommerce, project-a, nexo, project-b, server, other | |
| session_id | No | Current session ID | |
| self_critique | No | REQUIRED. Honest post-mortem. | |
| source | No | Session type. 'claude' for human-interactive sessions (default), 'cron' for automated cron jobs. Affects visibility at startup. | claude |
| payload_json | No | Optional JSON object alternative for long diary calls. Useful when the client/runtime is fragile with many long XML/MCP arguments. |