@@ -41,6 +41,11 @@ Prompt system: model-specific base prompts (Claude, Gemini, Qwen, GPT).
4141 `AGENTS.md` support: walks directory tree upward collecting all AGENTS.md files,
4242 prepends to system prompt. Checks `~/.config/symb/AGENTS.md` too.
4343
44+**TODO**: Extract common parts into one file, use templates to compose final prompt.
45+ - symb.md: symb specific prompt text
46+ - <model name>-<segment name>.md: model specific instructions
47+ - base: common model instructions. and template tags to insert symb and model specific segments.
48+
4449 ### Providers (`internal/provider`)
4550
4651 - **Ollama** — local, OpenAI-compatible `/v1` endpoint. Extracts reasoning from
@@ -56,7 +61,7 @@ Proxy merges local tool handlers with optional upstream MCP server (HTTP
5661 Streamable-HTTP transport, SSE support, session tracking). Retry with
5762 Retry-After parsing.
5863
59-### Tools (`internal/mcp_tools`)
64+### Tools (`internal/mcptools`)
6065
6166 3 tools registered:
6267
@@ -70,7 +75,6 @@ Retry-After parsing.
7075
7176 ### Git Integration
7277
73-- **DEPRECATED** too complex and messes with syntax hl adding complexity with little value. Editor displays diffs with syntax hl
7478 - git markers in the number column for editted files in the editor (needs work but does what it's meant to do)
7579 - TODO: Read includes diff for the file (or diff status, we need to consider token usage) edit tool includes updated file diff after change
7680
@@ -81,6 +85,18 @@ Retry-After parsing.
8185
8286 ## Features waiting implementation for current version:
8387
88+### Basic Session storage
89+
90+- table for conversation messages
91+- each message includes all tool calls
92+- opening the app opens a new session (more controls later). Same behaviour
93+- this table will be used for undo history. We need to think how to reverse tool calls. Consider best way to track undo's **NEEDS DESIGN WORK**
94+
95+### Undo!
96+
97+- User should be able to undo conversation turns. The most recent entry should show a clear clickable area labelled undo.
98+- Clicking undo reverses context history, tool calls, filesystem changes, file changes. Resets the conversation to that exact point
99+
84100 ### Shell Execution Tool
85101
86102 Run commands in sandbox (container isolation or restricted shell). Command
@@ -96,12 +112,18 @@ https://manus.im/blog/Context-Engineering-for-AI-Agents-Lessons-from-Building-Ma
96112 Parse project with tree-sitter for structural awareness. Feed relevant
97113 symbols/scope to LLM as auto-context instead of whole files.
98114
99-### Tool improvements:
115+### Conversation log improvements:
100116
101117 Update hover iteraction on tool responses for ux and tool call tui output.
102118
103119 - Show tool call arguments expanded: `Grep(pattern="...", ...)`, for all tools.
104120 - Show LSP diagnostics after each mutation call in conversation log, as part of the tool response.
121+- Render responses with markdown syntax. Improve markdown syntax hl overall
122+- Smarter click on tool response:
123+ - Click on Read response: Opens the file, with cursor at read start.
124+ - Click on Edit response: Opens the editted file, with cursor at the change
125+ - Click on Grep: Show output in full, each match is clickable to open the file with cursor at the match.
126+ - Click on Shell tool, show output in full, try to parse filenames into clickable aread that opens
105127
106128 ### Statusbar implementation
107129