Skip to content

The agent that grows with you

fix(session-search): stop the agent restating a linked session's title

Brooklyn Nicholsonefe449166658
diff --git a/tools/session_search_tool.py b/tools/session_search_tool.py
index 2b2d99c359d..e305467f054 100644
--- a/tools/session_search_tool.py
+++ b/tools/session_search_tool.py
@@ -996,9 +996,11 @@ SESSION_SEARCH_SCHEMA = {
"your reply — every result carries one, e.g. "
"`@session:default/20260722_204335_d62c16`. Copy it verbatim; do not "
"reformat it as a markdown link or wrap it in backticks. Hermes renders "
- "it as the session's title, so there is no need to also spell out the "
- "title, date, or id around it — write \"picked up in @session:... \" "
- "rather than restating the metadata.\n\n"
+ "it as a link showing the session's title, so the link IS the title: "
+ "use it as a noun mid-sentence (\"that's @session:default/... — want me "
+ "to pick it up?\"), never alone on its own line, and never alongside the "
+ "title, id, or date spelled out — that shows the user the same session "
+ "twice.\n\n"
"FTS5 SYNTAX\n\n"
" AND is the default — multi-word queries require all terms. Use OR explicitly "
"for broader recall (`alpha OR beta OR gamma`), quoted phrases for exact match "