Dream: learn from past sessions
godot_dreamReview what Godotwright learned across sessions and propose which lessons and project hints to keep, merge, retire or rewrite. Apply only the proposals you approve.
Instructions
Look back at what Godotwright learned and did in this project, between sessions, and propose what to keep: draft lessons for Godot errors that keep coming back with no rule or lesson, project hints for API names the agent keeps guessing (use X, not Y), lessons to merge, retire or rewrite (shown often but marked wrong, or duplicates), lessons about writes that were undone again and again, rules this project marks as false alarms again and again (a suggestion only), and verdicts that contradict each other. It reads the local learning file and the project's journal, and with transcripts: true also this project's Claude Code and Codex session transcripts (only anonymous facts are kept: tool names, Godot message templates, Godot API names; no text, names, paths or code). Deterministic: no model, no network. Each proposal has a number, an id, its evidence and a reason. Nothing changes until apply (numbers or ids, or "all"): lessons go through the same scrubbing as godot_lesson_add, hints, a dated report and a short "Godotwright lessons for agents" note are kept only on this machine (the project's untracked .godot/godotwright/dreams/, or Godotwright's state folder when git tracks .godot), never in a file of the repository; the session start shows the note to the agent. godot_undo takes an apply back, lessons included. Draft lessons hold the symptom and message only: look up the cause and fix (godot_lessons, godot_api, godot_check) and rewrite them with godot_lesson_add, same title. Show the person the proposals with their evidence and apply only what they approve.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "godot_dream"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | project folder, or a file or folder inside it (relative to the server's folder; default: the current project) | |
| apply | No | proposals to apply: numbers or ids from the list, comma separated, or "all"; leave out to only list them | |
| since | No | only journal events and transcripts this recent: 7d, 12h, 2w or a date (default 30d) | |
| detail | No | brief (capped lists) or full (everything); default full | |
| transcripts | No | also read this project's Claude Code and Codex session transcripts (default false) |