Release notes
Oh My Hermes v4.0.5
Matching a coding handoff to a specialist domain is about 2.7 times faster on English text. Preparing a handoff folds the task message and the plan text before it matches specialist domains, and ran the full Unicode normalisation on every pass even for plain ASCII, which that work cannot change. ASCII text now takes a direct lowercase fold, and text that is still ASCII after the first normalisation step returns early. Other text keeps the original steps in the original order, so routing decisions, exclusions and errors are identical. On the domain-routing benchmark 772.81 ms fell to 290.94 ms (median of three runs). Contributed by @dexhunter (#2536).
Memory recall shows what the turn asked for, once per conversation. A message with nothing to search for (an empty turn, "야") used to get every saved memory in full; it now gets pinned ones in full and the rest as the one-line list of names a non-matching message already gets. A background-process or delegation notice that nobody typed gets nothing at all. A memory the conversation already holds is not sent again until it changes or a compaction drops it, and a list of names it was already shown is not repeated. The recall line counts only what is new, so a turn that adds nothing posts no line.
omh_rememberandomh_memoryrecall returnnothing_foundfor a query that matches nothing instead of unrelated memories, and look up a memory by the id or subject a list names. Coding handoffs andomh memory recallare unchanged. Replaying stored turns on read-only copies of the owner's stores, the largest per-session memory text went from 111,665 to 6,649 characters on the console profile, repeats from 91% to 0%, and messenger recall lines from 447 to 61.Turns that only read, and a session's first turns, are faster. The round-end consistency check indexed every Python file in the workspace at a turn's first tool call, which cost about 110-175 ms in a checkout of a few thousand files even when the turn only read files or searched. The index is now taken at the turn's first call that can change a file (an edit, a command, a delegated child, any tool that is not a read), still before that call runs, so a read-only turn pays nothing and the check decides as it did for the turn's own edits; a file changed by something else (an editor, a background process) before the turn's first non-read call is now part of the baseline. The capability families and the router, which a session's first user turns imported on the spot (about 60 ms on the first turn and 70-100 ms on the next new kind of request), are now imported on a background thread when the plugin loads, so after a normal pause before the first message the first turn takes about 25-40 ms and the second about 2 ms. Plugin load time is unchanged. A first message sent the moment the plugin loads waits for the remaining imports.
One broken part of the OMH TUI's screen no longer ends the session. If the info line, the live transcript, a picker, the plan or HUD panel, the agent view or the sticky prompt fails to draw, that part becomes one row in the warning colour that names it, and the rest of the screen and your keys keep working. Its traceback is kept once, and
/logsshows it after the gateway's lines. While the TUI runs, a background thread's traceback, a Python warning or a stray print now goes to the same in-memory log instead of landing on the screen and shifting every later frame. A crash that does end the TUI still prints its traceback once your terminal is restored.OMH notices when Hermes cannot load its skills. Skills could be installed while Hermes could not load them by name: a stale generation directory registered beside the pointer made every name ambiguous, and then a cached path to a deleted generation left none. The launch card still said "skills 89 installed", and the skill suggestion kept telling the model to load skills that came back "not found". The suggestion and the route hint now name only skills Hermes resolves to one copy, read from the skill directories Hermes itself cached, so they go quiet instead of steering into a failed load. When a profile that registers OMH's skills sees fewer than half of them, the launch card says how many Hermes sees and suggests a gateway restart, or
/newfor an older session.omh doctorhas a newhermes_skill_visibilityrow, per profile, that reports an ambiguous registration and a missing directory separately. A healthy install shows the same suggestion and the same card as before.The OMH recall line stays off Discord and Slack, and recall can be turned off.
🧠 OMH — recalled N memoriesnow shows on the CLI, TUI and Desktop only; on a messenger the memory is still used, with no line posted. The new profile settingrecall_line(consoleby default,all,off) chooses where it shows, andrecall_mode(autoby default,on_demand,off) chooses whether memory is recalled every turn, only when the model asks, or not at all. Set them withomh memory recall-lineandomh memory recall-mode;omh memory statusshows both. Amemory_modeofoff, or a disabledretain_knowledgefamily, now actually stops recall: before, the provider and the recall tool kept serving records under it. It also stops the consolidation brief and the save reminder, which asked for saves thatoffrefuses.The OMH TUI's first frame no longer waits on the skill catalog. When the shared gateway names every skill in its first answer, the launch card used to import the whole skill catalog to label them before the first frame was drawn; it now takes the labels from a small module of their own. The card is drawn the same, byte for byte. In a clean process, starting up against a shared gateway went from about 55 ms to 7 ms and imports 24 modules instead of 114. On a stdio gateway, the first regrouping of the skills when they arrive went from about 50 ms to under 1 ms.
The memory consolidation brief no longer rides almost every console turn. A session that ended with one to four unconsolidated turns used to raise a brief at its end and again as a recovery at the next start, so 213 of 216 console turns on one machine carried the capture request (153 briefs came from session-start recovery), and every capture grew the store that recall draws from. The session-ending reasons now need the same five turns as the turn interval, and a given brief is shown once per session instead of on every later turn. Headroom, duplicate and expiring-record reasons keep their own thresholds,
dreaming_modeis unchanged, and the model still captures through its own tool with no approve step.The
omh_recommendtool result is about 12% smaller. The handoff policy used to ride on every recommended skill, and one policy can run past 1 KB. It now stays on the top recommendation and on the skills the route selects, which are the skills the agent acts on. When the top row is a router (meta-router,oh-my-hermes), the first concrete skill below it keeps its policy too. Every other row leaves it out, and the result says thatomh_capabilitiesinspectwith sectionskillsreturns it for any skill. The ranking, the top skill, the route and every other field are unchanged. Over the routing corpus the mean result drops from 6,794 to 5,985 bytes.A multi-line paste no longer sends half a prompt where the terminal strips paste markers, and arrows hold together over SSH and WSL. When tmux, SSH or the terminal itself drops bracketed-paste markers, the OMH TUI now reads a burst of pasted lines as one paste: the lines land in the composer (as a chip when the paste is long) instead of the first line break submitting the first line. Over SSH the burst may arrive in chunks up to 100 ms apart. An Enter pressed on its own still sends at once, and so does an Enter followed by the next key typed. Two or more prompts typed ahead into one read while the TUI was stalled now arrive as a draft in the composer instead of being sent, since those bytes are the same as a paste. Over SSH and in WSL a lone Esc now waits 100 ms instead of 40 ms for the rest of its sequence, so an arrow key split by a slow link is the arrow and not Esc and two letters, which could clear the draft or open rewind. Locally nothing changes.
…