Skip to content

feat: live voice continues its chat, and each computer keeps its own goal categories - #314

Merged
promptclickrun merged 4 commits into
mainfrom
feat/voice-continuity
Nov 17, 2026
Merged

promptclickrun merged 4 commits into
mainfrom
feat/voice-continuity

Conversation

@promptclickrun

@promptclickrun promptclickrun commented Nov 17, 2026 •

Copy link
Copy Markdown
Owner

Problem

Two things did not follow the person.

  1. Live voice did not continue its chat. The plugin used the chat's session ID only to route delegated work. The voice model got the agent's brief, the names, the place and the language, but no messages. The words of a call were not saved, so typing after a call started without them (Live voice starts without the chat's messages and does not save what was said #313).
  2. Goal categories were a fixed list of seven. A goal about a different subject went under Other. An agent that named its own category got other back with no message (Let a profile choose its own goal categories instead of the fixed seven #312).

Fix

Live voice continues its chat, in both directions (native-voice-history-v1)

  • The offer reads the chat that it names, for that agent only: the newest messages with their roles (16 at most, 8,000 bytes), the summary of a compacted part, and the request that a turn still works on. Tool calls and Hermes' own notices stay out.
  • One builder (voice_history.snapshot, voice_brief.continuation) gives this to GPT-Live on Codex, GPT-Live with an API key and Gemini Live. The brief tells the voice model to continue the chat and not to repeat old answers.
  • voice/transcript saves the finished lines of a call into the chat as ordinary messages. It runs nothing. It writes only while no turn runs in the chat (voice_chat_busy otherwise), and a ledger saves each line one time. A reply that the person cut off ends with "…".
  • The summary goes in without the note and the end marker that Hermes puts around it for its own model. That note tells a model to call no tools and to wait, which is wrong for a voice call.
  • A saved line has no control characters, and a line with no words is not saved. A store that cannot be written answers voice_chat_busy, so the app tries again.
  • GPT-Live with an API key now gets the history inside its instructions, as the other two providers do. Before, it sent separate history items that were never tested with the provider.

Each computer keeps its own goal categories (native-goal-categories-v1)

  • A new store at the Hermes root holds one list for all agents on the computer. It is the seven built-in categories until someone changes it. other is always there, always last, and keeps its name. The limits are 24 categories, 40 characters for a name and one emoji for the icon.
  • board/list returns goalCategories. Each goal carries the category it shows under now, with categoryName and categoryIcon.
  • board/categories adds, renames and deletes.
  • bighelp_board has categories, add_category, update_category and remove_category. A goal's category is named by ID or by name. When the name is not on the list, the goal still goes under the built-in category it means or under other, and the answer now says so.
  • A goal's stored category is never rewritten. A deleted category's goals show under other. If the category comes back, its goals come back. A new name keeps the ID, so the goals stay.
  • docs/AGENT_BOARD.md said that a name outside the list is refused. It now says what the code does.

Trust boundaries

  • Chat messages now go into the instructions that the plugin sends to the voice provider the person picked. They are marked as data, not instructions, and they are bounded.
  • voice/transcript writes into a Hermes session. It takes only user and assistant lines, only for a chat of the named agent, and at most 32 lines of 4,000 characters in one request.
  • Category names and icons are checked on the host: one line, no control characters, and the icon holds no letters or digits.

Compatibility

  • An app from before this reads category as before. A custom category shows there under Other.
  • Reading the chat into a call works with older apps as soon as the plugin is updated. Saving the lines needs a new app.

Tests

  • Local, against a throwaway clone of current Hermes (Python 3.14): tests.test_voice_history, tests.test_native_voice, tests.test_live_voice_provider, tests.test_agent_board, tests.test_native_api, tests.test_security_scan and tests.test_plugin_update_installation pass. The full suite fails 18 tests here that fail on main too, and no others.

  • A throwaway Hermes host (hermes serve, its own home) with this branch as its plugin, over real HTTP: the context lists both features; board/list returns the seven categories; add, a second add of the same name (409 category_exists), rename, delete of other (409 category_fixed) and a bad icon (409) answer as written; voice/transcript saved two lines into a seeded chat, and a second send saved nothing.

  • Hermes' own _adopt_out_of_band_turns: after voice_history.save, the next turn's history holds the spoken lines.

  • Gemini Live with text turns and made-up facts: with the chat in the instructions it answered from the chat. Without it, it did not know the fact.

  • An independent review of the branch found the summary note, the unclean spoken text and five smaller points. All are fixed in the last commit, with tests.

  • The release files of this branch, exported and scanned with Hermes' plugin guard: safe, no high or critical findings.

Not tested

  • A spoken call from the app on a real host or device.
  • GPT-Live (both options) with the real provider.

Closes #312, closes #313

Made by Claude Fable 5.2 in Claude Code.

🤖 Generated with Claude Code

GordieBox and others added 4 commits November 16, 2026 23:52
The voice offer reads the chat it opens in (its newest messages with their
roles, its compaction summary and the request still running) and gives the
same snapshot to Gemini and both GPT-Live options. The new voice/transcript
route saves a call's finished lines into the chat as ordinary messages,
only while no turn runs and at most once per call and line, so the next
typed message knows what was said. Feature native-voice-history-v1.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… an agent

A computer had a fixed list of seven goal categories. A goal about anything
else went under Other, and an agent that named its own category got Other back
with no message.

Each computer now keeps its own list for every agent on it (the built-in seven
until someone changes it). board/list sends the list, each goal says where it
shows, and board/categories adds, renames and deletes. The bighelp_board tool
has the same actions and tells the agent when a goal's category is not on the
list. A goal's stored category is never rewritten, so a category that comes
back gets its goals back.

Closes #312

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ines go in as plain words

Review findings on the branch:
- A compacted chat's summary row starts with Hermes' note for its own model
  (do not call tools, wait for a new message). The snapshot cut 1,500 characters
  of that note and lost the summary. It now drops the note and the end marker.
- A spoken line's control characters are taken out, and a line with no words is
  not saved.
- The turn check runs again before each line is written.
- The store's path is escaped in the SQLite address.
- A store that can't be written asks the app to try again instead of a 503.
- The running request is fenced as data in the brief.
- voice/transcript checks its own feature.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Live voice starts without the chat's messages and does not save what was said Let a profile choose its own goal categories instead of the fixed seven

1 participant