Repository navigation
Releases
v0.7.4: no vendored code in code links; save reminder once
- Vendored and third-party code (vendor, third_party, external, deps, node_modules, minified files, git submodules from .gitmodules) is no longer linked to decisions, shown in the code line under recall, or made an overview area.
- The "save this chat" reminder is remembered in the memory: at most once per 12 h, also for clients that start the memory server for every call.
- Optional, off by default (
COTRAIL_FRAME=on): words that only frame a question about code («код», «менять», «придётся», code, change, ...) do not score in BM25 when the question has another word found in memory. Off because on our q01–q30 check it lost one question. - Plugin
cotrail@cotrailpinned to cotrail==0.7.4. Update: quit Claude, thenuv tool install --force cotrail==0.7.4.
v0.7.3: no console windows on Windows
On Windows, memory calls and the background sync no longer flash console windows (git, cotrail). Every child process goes through one helper (CREATE_NO_WINDOW + SW_HIDE, never DETACHED_PROCESS); a test fails on any call that bypasses it.
- New
cotrailw: the CLI without a console window. On Windowscotrail setupwrites it into the Claude Code hooks (and the Cursor / Codex / Gemini CLI hooks); runcotrail setuponce in each project to switch existing hooks. - Team memory git hooks run pythonw; older hook blocks are rewritten on the next sync.
- Plugin
cotrail@cotrailpinned to cotrail==0.7.3; Claude Desktop:uv tool install cotrail==0.7.3, then opencotrail-0.7.3.mcpb.
Update: quit Claude, then uv tool install --force cotrail==0.7.3.
v0.7.2: team memory (experimental)
Team memory (experimental): several people on one project share one memory through a PRIVATE git repository. Tell the assistant join the team memory: <private repo url> (or run cotrail team join <url>): a dry run first (visibility, your name, records to push, records held back by the secret check), joining only after your yes; a public repository is refused. Synced: conversation turns after the secret filter, authors, chat titles, optionally the Graphify code graph (names and relative paths). Not synced: the SQLite store, your code. Check: cotrail team status, cotrail team check; cotrail team leave turns it off.
Tested between two real machines with GitHub: join, authors, status, Claude Code hooks, Graphify git hooks, the background push. Only in a simulation (WSL, local bare repo): sync driven by the MCP server, Cursor / Codex / Gemini CLI hooks, the code graph both ways, cross-member recall. No client other than Claude Code checked live.
Also: dev builds order before their release in the update check. Plugin cotrail@cotrail pinned to cotrail==0.7.2; Claude Desktop: uv tool install cotrail==0.7.2, then open cotrail-0.7.2.mcpb.
v0.7.1: cotrail on PyPI
First release of cotrail on PyPI (uv tool install cotrail); the final think-to-recall 0.7.1 only depends on it. ctxgraph was renamed to cotrail in v0.7.0: ~/.ctxgraph is read in place, CTXGRAPH_* variables are still read, the old commands keep working until 2027-02. Switch: uv tool uninstall think-to-recall, uv tool install cotrail, then cotrail setup in the project.
New since 0.6.12:
- one memory server for several projects:
memory=<name>on every tool, no default memory in a folder holding several projects;list_memories,connect_folder,find_chats,import_chats(dry run untilconfirm=true) - inbox: tasks for Claude Code from an advisor chat; later/inbox items close only on an explicit report or by hand (
done/reopen) - install by one phrase (
install cotrail: github.com/egor-ml-research/cotrail),setup --clientfor 8 clients (only Claude Code checked by the phrase) - overview: entry points per code area; concept aliases by trigram similarity (idea from Hindsight, MIT)
- plugin
cotrail@cotrailpinned to cotrail==0.7.1; Claude Desktop:uv tool install cotrail==0.7.1, then opencotrail-0.7.1.mcpb
Team memory (shared through a private git repo) is not in this release; it comes in 0.7.2 as experimental.
v0.7.0: ctxgraph is now cotrail
Superseded by v0.7.1 — install that instead.
ctxgraph is renamed to cotrail (PyPI: cotrail; the final think-to-recall 0.7.0 only depends on it). Existing installs keep their memory (~/.ctxgraph is read in place; cotrail migrate-home copies it), CTXGRAPH_* variables are still read, and the old commands ctxgraph, ctxgraph-mcp, ctxgraph-mcpw keep working until 2027-02 with a one-line hint on stderr. Switch: uv tool uninstall think-to-recall, uv tool install cotrail, then cotrail setup in the project.
Also: install by one phrase (install cotrail: github.com/egor-ml-research/cotrail, setup --client for 8 clients, only Claude Code checked by the phrase); overview entry points per code area; concept aliases by trigram similarity (idea from Hindsight, MIT). Claude Desktop: uv tool install cotrail==0.7.0, then open cotrail-0.7.0.mcpb. Plugin: /plugin install cotrail@cotrail.
v0.6.12: live memory 3D trees; Claude Desktop extension with the logo
think-to-recall 0.6.12 — also on PyPI: uv tool install think-to-recall==0.6.12.
- Live memory as two 3D trees (chats with subagent side branches, Graphify code), Cosmos in 3D with the code layer; the viewer is in English by default with an EN/RU switch.
- Claude Desktop extension
ctxgraph-0.6.12.mcpb(attached): shows up as «ctxgraph» with the logo. Install the package first (uv tool install think-to-recall==0.6.12), then open the file; Claude Desktop asks for the project folder. The extension contains no code: it runs~/.local/bin/ctxgraph-mcp(ctxgraph-mcpw.exeon Windows, no console window). Everything stays on your computer. - Claude Code plugin:
plugins/ctxgraph(tagplugin-stable).
v0.6.7: pasted ctxgraph output is not a rule; a rule is pinned once
- ctxgraph's own output pasted into a chat (
rules, recall,decisions,later) never becomes a new rule, decision or "later" item; such lines get the pasted status (all importers andsave_chat). - Pinning a rule (auto or manual, project or global) skips a duplicate by normalized text: case, spacing, punctuation and a pasted
#id date (origin):prefix do not count; a manual pin of an auto rule makes it manual. - Includes v0.6.6: a hint with the known projects when a read command runs in a folder without a memory;
ctxgraph projects; global rules (ctxgraph pin-rule --global,rules --global, MCPpin_rule(text, scope="global")), shown in every project marked (global).
Install: uv tool install "think-to-recall @ git+https://github.com/egor-ml-research/think-to-recall@v0.6.7"
v0.6.2: the assistant saves Claude Desktop / Cursor chats on its own
v0.6.2: the assistant saves Claude Desktop / Cursor chats on its own
save_chatandrecallnow tell the assistant to callsave_chatat the end of an answer whenever the conversation produced a decision, a refusal, a rule or a "later" item. This applies in clients without automatic recording: Claude Desktop and Cursor, not Claude Code.- If nothing was saved for 12 hours, one
recallanswer carries a reminder line. It shows once per session and never appears in Claude Code. - README: the claude.ai export is a one-time history import; after it the assistant saves new chats.
Since v0.6.1: ctxgraph view no longer shows an empty page when the browser window had no size at load.
Since v0.6.0:
save_chat: say "add this chat to memory" in any MCP client (the Claude Desktop Chat tab, Cursor). The chat's turns are saved word for word, in portions for long chats. You can repeat it: only new turns are added, nothing is rebuilt.import_claude_ai: import chosen chats from a claude.ai data export. Without a filter it lists the conversations and asks which ones to import.- Claude Desktop extension
ctxgraph-0.6.2.mcpb(attached): one-click install, no developer mode. Claude Desktop asks for the project folder. The extension contains no code. It runs thectxgraph-mcpyou installed first withuv tool install "think-to-recall @ git+https://github.com/egor-ml-research/think-to-recall@v0.6.2"(orpipx install). There is no remote connector URL because the memory stays on your computer. - Pinned rules now hold only your permanent rules ("always / never / from now on"), not ordinary, conditional or temporary decisions. A migration removes old auto-pinned rules that don't qualify. Manual pins stay.
- "Later": an item held until your yes ("after my yes") closes once you confirm and the work is reported.
🤖 Generated with Claude Code
v0.6.1: graph view fix; save chats from Claude Desktop / Cursor, .mcpb extension
v0.6.1 = v0.6.0 + a graph view fix: ctxgraph view could show an empty page when the browser window had no size at load.
Since v0.6.0:
save_chat: say "add this chat to memory" in any MCP client (the Claude Desktop Chat tab, Cursor). The chat's turns are saved word for word, in portions for long chats. You can repeat it: only new turns are added, nothing is rebuilt.import_claude_ai: import chosen chats from a claude.ai data export. Without a filter it lists the conversations and asks which ones to import.- Claude Desktop extension
ctxgraph-0.6.1.mcpb(attached): one-click install, no developer mode. Claude Desktop asks for the project folder. The extension contains no code. It runs thectxgraph-mcpyou installed first withuv tool install "think-to-recall @ git+https://github.com/egor-ml-research/think-to-recall@v0.6.1"(orpipx install). There is no remote connector URL because the memory stays on your computer. - Pinned rules now hold only your permanent rules ("always / never / from now on"), not ordinary, conditional or temporary decisions. A migration removes old auto-pinned rules that don't qualify. Manual pins stay.
- "Later": an item held until your yes ("after my yes") closes once you confirm and the work is reported.
🤖 Generated with Claude Code
v0.6.0: save chats from Claude Desktop / Cursor, .mcpb extension
Save your Claude Desktop and Cursor chats into the project memory
save_chat: say "add this chat to memory" in any MCP client (the Claude Desktop Chat tab, Cursor). The chat's turns are saved word for word, in portions for long chats. You can repeat it: only new turns are added, nothing is rebuilt.import_claude_ai: import chosen chats from a claude.ai data export. Without a filter it lists the conversations and asks which ones to import.- Claude Desktop extension
ctxgraph-0.6.0.mcpb(attached): one-click install, no developer mode. Claude Desktop asks for the project folder. The extension contains no code. It runs thectxgraph-mcpyou installed first withuv tool install "think-to-recall @ git+https://github.com/egor-ml-research/think-to-recall@v0.6.0"(orpipx install). There is no remote connector URL because the memory stays on your computer. - Pinned rules now hold only your permanent rules ("always / never / from now on"), not ordinary, conditional or temporary decisions. A migration removes old auto-pinned rules that don't qualify. Manual pins stay.
- "Later": an item held until your yes ("after my yes") closes once you confirm and the work is reported.
🤖 Generated with Claude Code