lore_reflect
Reflect on completed sessions by saving summaries and lessons learned; automatically store discoveries as memories for future use.
Instructions
Reflect on a completed session — save what you learned.
Minimal usage: pass session_id and summary. That's enough. The rest are extras for when you discovered something substantial.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| session_id | Yes | Unique session identifier (required). | |
| summary | Yes | Short summary of what happened in the session (required). | |
| session_date | No | ISO date string (e.g. ``"2026-06-02"``). Defaults to today. | |
| topic | No | Domain or topic area (e.g. ``"lore_search refactor"``). | |
| task_type | No | Optional category for the session (e.g. ``"build"``, ``"debug"``, ``"review"``, ``"design"``). | |
| what_was_done | No | Longer narrative of the work completed. | |
| decisions | No | Key decisions made, with rationale. | |
| lessons_learnt | No | List of lessons to propagate to future sessions. | |
| good_patterns | No | Patterns that worked well and should be repeated. | |
| user_profile_updates | No | Updates about the user's preferences or context. | |
| factual_discoveries | No | New facts to record — stored as bullet text in the reflection. Also auto-inserted as memories when ``auto_insert=True``. | |
| memory_ids | No | IDs of existing memories this reflection relates to. | |
| auto_insert | No | When True (default), automatically inserts each item in ``factual_discoveries`` (score 7.0) and ``lessons_learnt`` (score 8.0) as standalone memories. Duplicate-guarded. Returns created IDs in ``memories_created``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||