Release · Oh My Hermes · rlaope

Oh My Hermes v4.0.4

What's new in Oh My Hermes v4.0.4, released Nov 1, 2026 (). Newer: v5.0.3 (Dec 4, 2026)

Release notes

Oh My Hermes v4.0.4

  • Name your own identity: a prompt and a model chain. Write ~/.omh/routing/identities.json (omh_identity_profiles/v1) with one or more named identities, then select one by putting [omh-identity:name] in a request for its prompt, or --identity name on omh coding model-route, run and delegate (an identity field on fanout prepare units, an identity argument on omh_delegate_route) for its model chain. An explicit --model still wins; the identity chain beats category, role, depth and scale. Nothing is inferred and nothing carries to the next session, and with no file routes are unchanged. Schema and limits are in the Installation guide. Contributed by @yqm-307 (#2459, carried by #2462; requested in #2458).

  • On Windows, OMH uses the Hermes home Hermes uses (#2453 by @k1lgor, carried by #2463). With no HERMES_HOME set, omh, omh doctor, omh setup and omh release hermes-smoke took Hermes' home to be ~/.hermes, while Hermes itself defaults to %LOCALAPPDATA%\hermes on Windows. omh exported that empty home to the terminal it launched, so Hermes opened it and refused every session with storage_unavailable. They now resolve Hermes' own platform default, %LOCALAPPDATA%\hermes with HERMES_DATA_DIR_SUFFIX honoured. POSIX and an explicit HERMES_HOME are unchanged.

  • omh_context returns a compact view. With Hermes' tool_search off, a model could call the plugin tool first and carry its result through every later model call of the session, and two of its sections were what omh_capabilities action=summary already returns. The result now drops capability_families and workflow_context_cards, trims each generic-tool checkpoint route to its family, workflow, next action, fallback action and not-evidence list, and adds view: "compact" with an expand line naming omh_capabilities for what was dropped. Replayed on 209 recorded calls, the mean result went from 40,162 to 18,909 characters. omh context brief, the wrapper contract and the hooks still build the full brief.

  • A coding request that mentions OMH no longer gets the workflow-learning hint. "Use OMH to fix the failing test in billing.py" or "OMH, 로그인 API에 대한 통합 테스트 작성해줘" carried the intent=meta_discussion; selected=workflow-learning route hint on every model call, and a CI-workflow edit through OMH dispatched workflow-learning; they now route as the coding work they are, and a throwaway test message ("I'm testing OMH right now, ignore this message") gets no hint either. A report on OMH's own routing ("OMH picked deep-interview when I only wanted a quick fix; why?") still reaches workflow-learning, on the hint and the chat route. Everyday meta words now match as whole words, so "pytest", "terminal", "changelog", 로그인 and 블로그 no longer count as test, term, log or 로그, and the product name alone is no longer routing context. On the bench prompt the injected OMH text fell from 2,612 to 1,761 characters a message.

  • Opt-in language-server tools: lsp_definition, lsp_references and lsp_rename. With OMH_LSP_TOOLS=1 or the profile setting plugins.entries.omh.settings.lsp_tools, the omh-lsp toolset drives the language servers Hermes already runs for its post-write diagnostics. A symbol matches as a whole identifier only; lsp_rename writes only if the file still holds the bytes it read (stale_file otherwise) and answers already_renamed on a line that already holds the new name. Python with pyright only, and off by default. On an 8-model A/B of 9 rename tasks per model, the rename pass rate went from 47/72 with plain patching to 61/72, the gain on aliases, re-exports and shadowed names (measurement).

  • Opt-in impact_check names the callers an edit broke. With OMH_IMPACT_CHECK or plugins.entries.omh.settings.impact_check on, a turn's first edit to an existing Python file records the errors in the workspace files that import it, and at the turn's first stop OMH asks the language server Hermes runs about them again; if any gained an error, the turn continues with at most 15 lines of path:line: message. It says nothing otherwise and is off by default. lsp_diagnostics(path|glob) joins the opt-in omh-lsp toolset, so the model can re-check those files.

  • A rename's stale export is named before the turn ends. When a turn leaves a Python module exporting a name it no longer defines, OMH names the line at the turn's first stop as path:line, so the model can fix it. That covers an __all__ entry, and a from module import name whose workspace module no longer has the name. It needs no language server and is silent otherwise. Measured on four models, the rename template that models kept missing went from 8/12 to 12/12, with +3 of that from the note itself. The pre-registered gate failed on its token clause (1.097x against 1.05x), and the owner overrode it because the gap was run-to-run variation (measurement).

  • Vim mode in the composer. With Hermes' display.vim_mode on (hermes config set display.vim_mode true, then start omh again), the OMH TUI's composer edits modally, read from the active profile's config. It starts in INSERT, where every key works as before except Esc, which goes to NORMAL and closes the / or @ menu, and does nothing else: it no longer arms the clear or the rewind, cancels nothing and interrupts no turn. In NORMAL a letter is a command, never text: h l 0 ^ $ w b e j k gg G, i a I A o O, x X dd D C cc S s r, d c y with a motion, p P, u and Ctrl+R, with counts, and Esc there does what it always did, so Esc Esc still clears or rewinds; during a turn, Esc on an empty composer arms the interrupt and a second Esc sends it. Enter sends from either mode, and in NORMAL always sends, a \ before the caret included. Paste chips and image tokens are one character to every command, p puts them back with their text or image, and the info line says INSERT or NORMAL. Questions Hermes asks, masked input, the tell row, pickers and the agent list keep their own keys. The supported set and how it differs from Hermes' own Vi mode are in the Installation guide. With the setting off or absent nothing changes. Requested by @DanRioDev (#2434).

  • agent-debug sees a turn that ended without a reply. A new finding, silent_turn_end, cites a turn whose last tool result was followed by an empty assistant row and then nothing: no reply, no further call, until the next user message. It cites the tool row and the empty row, the call, and the result's exit code (130 for an interrupted command). When one is found, the incident leads with turn_ended_without_reply ahead of correlations such as a compaction or an unwatched background process, because the silent end is the symptom itself, and proposes reading the host's agent.log Turn ended: reason= line for that timestamp before changing anything. Both state.db and --session-record are read; without tool_calls the kind is listed unavailable.

  • A Kanagawa Wave theme and launch look. omh theme use kanagawa selects an indigo palette with warm ivory text and muted blue and violet accents, adapted from rebelot/kanagawa.nvim (MIT, Copyright (c) 2021 Tommaso Laurenzi). Like the other four it sets no background, so the terminal's own shows through. /theme kanagawa-wave selects the matching launch look: a rule above and below on a dark sumi-ink ground (Kanagawa Lotus on a light terminal), with an ocean swell for its living wallpaper. Contributed by @DanRioDev (#2436, carried by #2441).

  • A failed CI or merge watcher no longer leaves the session silently stopped.

…