{"at":"2026-11-23T03:46:09.112Z","dir":"sent","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","method":"server/discover","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/clientInfo":{"name":"didrun-lab","version":"0.1.0"},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:46:10.084Z","dir":"received","era":"server_discover","message":{"id":1,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"ihmt-memory","version":"1.4.0"}},"cacheScope":"private","capabilities":{"prompts":{"listChanged":true},"resources":{"listChanged":true,"subscribe":true},"tools":{"listChanged":true}},"instructions":"IHMT: the user's long-term memory, plus tools that save tokens in a session.\n`search_memory` before answering anything that depends on earlier sessions\n(scope=\"conversations\" searches the past sessions themselves); `save_memory`\nfor durable facts, with `replaces` when it corrects one. Never guess on\nAMBIGUOUS, say so on NOT FOUND, always relay OUTDATED.\nIn a codebase prefer `project_map`, `find_code` and `read_file` (answers\n\"unchanged\" or a diff) to listing and re-reading files.\n","resultType":"complete","supportedVersions":["2026-07-28"],"ttlMs":0}}}
{"at":"2026-11-23T03:46:10.084Z","dir":"sent","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{"_meta":{"io.modelcontextprotocol/clientCapabilities":{},"io.modelcontextprotocol/protocolVersion":"2026-07-28"}}}}
{"at":"2026-11-23T03:46:10.085Z","dir":"received","era":"server_discover","message":{"id":2,"jsonrpc":"2.0","result":{"_meta":{"io.modelcontextprotocol/serverInfo":{"name":"ihmt-memory","version":"1.4.0"}},"cacheScope":"private","resultType":"complete","tools":[{"description":"Search the user's long-term memory (IHMT): decisions, setup, preferences, people, earlier sessions.\n\nUse several distinctive words, not a bare name. Returns the best memory with its date\n(plus one line per other match). AMBIGUOUS means several memories fit equally: ask the\nuser or call again with `clue` (a place, date, project). Always relay OUTDATED notices.\n\nArgs:\n    query: What to look for, in any language.\n    clue: Distinguishing detail, only after an AMBIGUOUS reply.\n    detail: \"compact\" (default) or \"full\" (adds ids, tree paths and excerpts).\n    also: Other phrasings of the same question (another language, synonyms), searched in\n        this same call; matching is by words, so this replaces retrying.\n    since: Only memories dated on or after \"YYYY-MM-DD\" — for the current state of a topic.\n    scope: \"memory\" (curated notes, default) or \"conversations\" (what was said and done\n        in past sessions; use it when the notes have nothing).\n    project: With scope=\"conversations\", only sessions of this project (its folder name).\n","inputSchema":{"properties":{"also":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Also"},"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"detail":{"default":"compact","title":"Detail","type":"string"},"project":{"default":"","title":"Project","type":"string"},"query":{"title":"Query","type":"string"},"scope":{"default":"memory","title":"Scope","type":"string"},"since":{"default":"","title":"Since","type":"string"}},"required":["query"],"title":"search_memoryArguments","type":"object"},"name":"search_memory","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"search_memoryOutput","type":"object"}},{"description":"Store durable knowledge in the user's long-term memory (IHMT).\n\nSave decisions and why, setup, preferences, people and projects, procedures. Not transient\nchat, not secrets. Write it to make sense months later, and start with the date\n(\"2026-02-03: ...\") when it belongs to one. Reports how it was filed and any contradiction\nwith an earlier memory — relay that notice.\n\nArgs:\n    content: The text to remember, self-contained.\n    domain: Leave \"general\" to let IHMT classify it, or e.g. \"software.java\".\n    content_type: \"auto\" (recommended), \"code\", \"narrative\", \"clinical\", \"personal\",\n        \"process\" or \"generic\".\n    replaces: When this corrects or updates something saved earlier, a few distinctive\n        words describing that earlier memory (\"RainDesktop version 1.3\"). It is then\n        flagged OUTDATED and searches answer with this one first. If several memories\n        fit, nothing is flagged and the candidates are listed for `mark_outdated`.\n","inputSchema":{"properties":{"content":{"title":"Content","type":"string"},"content_type":{"default":"auto","title":"Content Type","type":"string"},"domain":{"default":"general","title":"Domain","type":"string"},"replaces":{"default":"","title":"Replaces","type":"string"}},"required":["content"],"title":"save_memoryArguments","type":"object"},"name":"save_memory","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"save_memoryOutput","type":"object"}},{"description":"Flag one memory as corrected by another, after save_memory listed candidates.\n\nThe old memory is kept (it was true on its date) but carries an OUTDATED notice, and\nsearches answer with the new one first. Use the ids save_memory or a full search printed.\n\nArgs:\n    old_id: Id of the memory that is no longer current.\n    new_id: Id of the memory that replaces it.\n","inputSchema":{"properties":{"new_id":{"title":"New Id","type":"string"},"old_id":{"title":"Old Id","type":"string"}},"required":["old_id","new_id"],"title":"mark_outdatedArguments","type":"object"},"name":"mark_outdated","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"mark_outdatedOutput","type":"object"}},{"description":"Compact map of a codebase: files with their size in tokens, optionally their symbols and line ranges.\n\nCall it before exploring a project instead of listing directories and opening files.\nIndexes the project on first use and resyncs changed files by checksum on every call.\nThe map fits a token budget: on a large project it says which directories to zoom into.\n\nArgs:\n    path: Project root directory (absolute).\n    detail: \"files\" (cheapest) or \"symbols\" (adds methods/classes with first-last line).\n    subpath: Restrict to a directory inside the project, e.g. \"src/main\".\n    scope: \"main\" (leave tests out, default), \"test\" or \"all\".\n","inputSchema":{"properties":{"detail":{"default":"files","title":"Detail","type":"string"},"path":{"title":"Path","type":"string"},"scope":{"default":"main","title":"Scope","type":"string"},"subpath":{"default":"","title":"Subpath","type":"string"}},"required":["path"],"title":"project_mapArguments","type":"object"},"name":"project_map","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"project_mapOutput","type":"object"}},{"description":"Find the method or class that answers a question about a codebase; returns only that symbol.\n\nOutput: \"file:first-last  Symbol\" and its code, instead of whole files. Name the class or\nmethod if you know it (\"PedidoJpaMapper aDominio\"). AMBIGUOUS lists candidates in different\nfiles: refine the query or pass `clue`. The index resyncs by checksum, so code is never stale.\n\nArgs:\n    query: What you are looking for: identifiers plus a few words.\n    path: Project root directory (absolute).\n    scope: \"main\" (skip tests, default), \"test\" or \"all\".\n    subpath: Restrict to a directory inside the project.\n    clue: Extra detail after an AMBIGUOUS reply.\n    max_tokens: Cap on the returned code.\n","inputSchema":{"properties":{"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"max_tokens":{"default":1500,"title":"Max Tokens","type":"integer"},"path":{"title":"Path","type":"string"},"query":{"title":"Query","type":"string"},"scope":{"default":"main","title":"Scope","type":"string"},"subpath":{"default":"","title":"Subpath","type":"string"}},"required":["query","path"],"title":"find_codeArguments","type":"object"},"name":"find_code","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_codeOutput","type":"object"}},{"description":"Read a text file, remembering what you were given this session.\n\nReading it again returns \"UNCHANGED\" (a few tokens) or only a unified diff against your earlier\ncopy. Prefer it over re-reading a file you already read in this session. Pass force=true if\nthe earlier copy is no longer in your context (e.g. after a context compaction). With\nstart_line/end_line (e.g. a range from project_map) only those lines are returned.\n\nArgs:\n    path: Absolute path of the file.\n    force: Return the full content even if it has not changed.\n    start_line: First line to return (1-based); 0 for the whole file.\n    end_line: Last line to return (inclusive); 0 for the end of the file.\n","inputSchema":{"properties":{"end_line":{"default":0,"title":"End Line","type":"integer"},"force":{"default":false,"title":"Force","type":"boolean"},"path":{"title":"Path","type":"string"},"start_line":{"default":0,"title":"Start Line","type":"integer"}},"required":["path"],"title":"read_fileArguments","type":"object"},"name":"read_file","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"read_fileOutput","type":"object"}},{"description":"Keep something you learned in this session (where a thing lives, what a method does, a result).\n\nSession notes are cheap to recall later and survive a context compaction; they vanish when the\nsession ends. Include file:line when relevant. Durable facts belong in save_memory instead.\n","inputSchema":{"properties":{"text":{"title":"Text","type":"string"}},"required":["text"],"title":"noteArguments","type":"object"},"name":"note","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"noteOutput","type":"object"}},{"description":"Search what you kept earlier in this session with note or digest_output (not long-term memory).\n\nCheaper than re-reading files or re-running commands to remember what you already found out.\n","inputSchema":{"properties":{"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"query":{"title":"Query","type":"string"}},"required":["query"],"title":"recallArguments","type":"object"},"name":"recall","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"recallOutput","type":"object"}},{"description":"Condense a long command output (build log, test report) and keep the full text for recall.\n\nReturns the first lines, every line that mentions errors, failures, warnings or test totals,\nand the last lines. The whole output stays queryable with recall(\"<label> ...\") this session.\n\nArgs:\n    text: The raw output.\n    label: A short name to recall it by, e.g. \"maven-build\".\n","inputSchema":{"properties":{"label":{"default":"output","title":"Label","type":"string"},"text":{"title":"Text","type":"string"}},"required":["text"],"title":"digest_outputArguments","type":"object"},"name":"digest_output","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"digest_outputOutput","type":"object"}}],"ttlMs":0}}}
{"at":"2026-11-23T03:46:10.236Z","dir":"sent","era":"initialize","message":{"id":1,"jsonrpc":"2.0","method":"initialize","params":{"capabilities":{},"clientInfo":{"name":"didrun-lab","version":"0.1.0"},"protocolVersion":"2025-11-25"}}}
{"at":"2026-11-23T03:46:11.172Z","dir":"received","era":"initialize","message":{"id":1,"jsonrpc":"2.0","result":{"capabilities":{"prompts":{"listChanged":false},"resources":{"listChanged":false,"subscribe":false},"tools":{"listChanged":false}},"instructions":"IHMT: the user's long-term memory, plus tools that save tokens in a session.\n`search_memory` before answering anything that depends on earlier sessions\n(scope=\"conversations\" searches the past sessions themselves); `save_memory`\nfor durable facts, with `replaces` when it corrects one. Never guess on\nAMBIGUOUS, say so on NOT FOUND, always relay OUTDATED.\nIn a codebase prefer `project_map`, `find_code` and `read_file` (answers\n\"unchanged\" or a diff) to listing and re-reading files.\n","protocolVersion":"2025-11-25","serverInfo":{"name":"ihmt-memory","version":"1.4.0"}}}}
{"at":"2026-11-23T03:46:11.172Z","dir":"sent","era":"initialize","message":{"jsonrpc":"2.0","method":"notifications/initialized"}}
{"at":"2026-11-23T03:46:11.172Z","dir":"sent","era":"initialize","message":{"id":2,"jsonrpc":"2.0","method":"tools/list","params":{}}}
{"at":"2026-11-23T03:46:11.173Z","dir":"received","era":"initialize","message":{"id":2,"jsonrpc":"2.0","result":{"tools":[{"description":"Search the user's long-term memory (IHMT): decisions, setup, preferences, people, earlier sessions.\n\nUse several distinctive words, not a bare name. Returns the best memory with its date\n(plus one line per other match). AMBIGUOUS means several memories fit equally: ask the\nuser or call again with `clue` (a place, date, project). Always relay OUTDATED notices.\n\nArgs:\n    query: What to look for, in any language.\n    clue: Distinguishing detail, only after an AMBIGUOUS reply.\n    detail: \"compact\" (default) or \"full\" (adds ids, tree paths and excerpts).\n    also: Other phrasings of the same question (another language, synonyms), searched in\n        this same call; matching is by words, so this replaces retrying.\n    since: Only memories dated on or after \"YYYY-MM-DD\" — for the current state of a topic.\n    scope: \"memory\" (curated notes, default) or \"conversations\" (what was said and done\n        in past sessions; use it when the notes have nothing).\n    project: With scope=\"conversations\", only sessions of this project (its folder name).\n","inputSchema":{"properties":{"also":{"anyOf":[{"items":{"type":"string"},"type":"array"},{"type":"null"}],"default":null,"title":"Also"},"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"detail":{"default":"compact","title":"Detail","type":"string"},"project":{"default":"","title":"Project","type":"string"},"query":{"title":"Query","type":"string"},"scope":{"default":"memory","title":"Scope","type":"string"},"since":{"default":"","title":"Since","type":"string"}},"required":["query"],"title":"search_memoryArguments","type":"object"},"name":"search_memory","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"search_memoryOutput","type":"object"}},{"description":"Store durable knowledge in the user's long-term memory (IHMT).\n\nSave decisions and why, setup, preferences, people and projects, procedures. Not transient\nchat, not secrets. Write it to make sense months later, and start with the date\n(\"2026-02-03: ...\") when it belongs to one. Reports how it was filed and any contradiction\nwith an earlier memory — relay that notice.\n\nArgs:\n    content: The text to remember, self-contained.\n    domain: Leave \"general\" to let IHMT classify it, or e.g. \"software.java\".\n    content_type: \"auto\" (recommended), \"code\", \"narrative\", \"clinical\", \"personal\",\n        \"process\" or \"generic\".\n    replaces: When this corrects or updates something saved earlier, a few distinctive\n        words describing that earlier memory (\"RainDesktop version 1.3\"). It is then\n        flagged OUTDATED and searches answer with this one first. If several memories\n        fit, nothing is flagged and the candidates are listed for `mark_outdated`.\n","inputSchema":{"properties":{"content":{"title":"Content","type":"string"},"content_type":{"default":"auto","title":"Content Type","type":"string"},"domain":{"default":"general","title":"Domain","type":"string"},"replaces":{"default":"","title":"Replaces","type":"string"}},"required":["content"],"title":"save_memoryArguments","type":"object"},"name":"save_memory","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"save_memoryOutput","type":"object"}},{"description":"Flag one memory as corrected by another, after save_memory listed candidates.\n\nThe old memory is kept (it was true on its date) but carries an OUTDATED notice, and\nsearches answer with the new one first. Use the ids save_memory or a full search printed.\n\nArgs:\n    old_id: Id of the memory that is no longer current.\n    new_id: Id of the memory that replaces it.\n","inputSchema":{"properties":{"new_id":{"title":"New Id","type":"string"},"old_id":{"title":"Old Id","type":"string"}},"required":["old_id","new_id"],"title":"mark_outdatedArguments","type":"object"},"name":"mark_outdated","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"mark_outdatedOutput","type":"object"}},{"description":"Compact map of a codebase: files with their size in tokens, optionally their symbols and line ranges.\n\nCall it before exploring a project instead of listing directories and opening files.\nIndexes the project on first use and resyncs changed files by checksum on every call.\nThe map fits a token budget: on a large project it says which directories to zoom into.\n\nArgs:\n    path: Project root directory (absolute).\n    detail: \"files\" (cheapest) or \"symbols\" (adds methods/classes with first-last line).\n    subpath: Restrict to a directory inside the project, e.g. \"src/main\".\n    scope: \"main\" (leave tests out, default), \"test\" or \"all\".\n","inputSchema":{"properties":{"detail":{"default":"files","title":"Detail","type":"string"},"path":{"title":"Path","type":"string"},"scope":{"default":"main","title":"Scope","type":"string"},"subpath":{"default":"","title":"Subpath","type":"string"}},"required":["path"],"title":"project_mapArguments","type":"object"},"name":"project_map","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"project_mapOutput","type":"object"}},{"description":"Find the method or class that answers a question about a codebase; returns only that symbol.\n\nOutput: \"file:first-last  Symbol\" and its code, instead of whole files. Name the class or\nmethod if you know it (\"PedidoJpaMapper aDominio\"). AMBIGUOUS lists candidates in different\nfiles: refine the query or pass `clue`. The index resyncs by checksum, so code is never stale.\n\nArgs:\n    query: What you are looking for: identifiers plus a few words.\n    path: Project root directory (absolute).\n    scope: \"main\" (skip tests, default), \"test\" or \"all\".\n    subpath: Restrict to a directory inside the project.\n    clue: Extra detail after an AMBIGUOUS reply.\n    max_tokens: Cap on the returned code.\n","inputSchema":{"properties":{"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"max_tokens":{"default":1500,"title":"Max Tokens","type":"integer"},"path":{"title":"Path","type":"string"},"query":{"title":"Query","type":"string"},"scope":{"default":"main","title":"Scope","type":"string"},"subpath":{"default":"","title":"Subpath","type":"string"}},"required":["query","path"],"title":"find_codeArguments","type":"object"},"name":"find_code","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"find_codeOutput","type":"object"}},{"description":"Read a text file, remembering what you were given this session.\n\nReading it again returns \"UNCHANGED\" (a few tokens) or only a unified diff against your earlier\ncopy. Prefer it over re-reading a file you already read in this session. Pass force=true if\nthe earlier copy is no longer in your context (e.g. after a context compaction). With\nstart_line/end_line (e.g. a range from project_map) only those lines are returned.\n\nArgs:\n    path: Absolute path of the file.\n    force: Return the full content even if it has not changed.\n    start_line: First line to return (1-based); 0 for the whole file.\n    end_line: Last line to return (inclusive); 0 for the end of the file.\n","inputSchema":{"properties":{"end_line":{"default":0,"title":"End Line","type":"integer"},"force":{"default":false,"title":"Force","type":"boolean"},"path":{"title":"Path","type":"string"},"start_line":{"default":0,"title":"Start Line","type":"integer"}},"required":["path"],"title":"read_fileArguments","type":"object"},"name":"read_file","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"read_fileOutput","type":"object"}},{"description":"Keep something you learned in this session (where a thing lives, what a method does, a result).\n\nSession notes are cheap to recall later and survive a context compaction; they vanish when the\nsession ends. Include file:line when relevant. Durable facts belong in save_memory instead.\n","inputSchema":{"properties":{"text":{"title":"Text","type":"string"}},"required":["text"],"title":"noteArguments","type":"object"},"name":"note","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"noteOutput","type":"object"}},{"description":"Search what you kept earlier in this session with note or digest_output (not long-term memory).\n\nCheaper than re-reading files or re-running commands to remember what you already found out.\n","inputSchema":{"properties":{"clue":{"anyOf":[{"type":"string"},{"type":"null"}],"default":null,"title":"Clue"},"query":{"title":"Query","type":"string"}},"required":["query"],"title":"recallArguments","type":"object"},"name":"recall","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"recallOutput","type":"object"}},{"description":"Condense a long command output (build log, test report) and keep the full text for recall.\n\nReturns the first lines, every line that mentions errors, failures, warnings or test totals,\nand the last lines. The whole output stays queryable with recall(\"<label> ...\") this session.\n\nArgs:\n    text: The raw output.\n    label: A short name to recall it by, e.g. \"maven-build\".\n","inputSchema":{"properties":{"label":{"default":"output","title":"Label","type":"string"},"text":{"title":"Text","type":"string"}},"required":["text"],"title":"digest_outputArguments","type":"object"},"name":"digest_output","outputSchema":{"properties":{"result":{"title":"Result","type":"string"}},"required":["result"],"title":"digest_outputOutput","type":"object"}}]}}}
