Repository navigation
feat: live voice continues its chat, and each computer keeps its own goal categories - #314
Merged
Merged
Conversation
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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two things did not follow the person.
otherback 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)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/transcriptsaves 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_busyotherwise), and a ledger saves each line one time. A reply that the person cut off ends with "…".voice_chat_busy, so the app tries again.Each computer keeps its own goal categories (
native-goal-categories-v1)otheris 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/listreturnsgoalCategories. Each goal carries thecategoryit shows under now, withcategoryNameandcategoryIcon.board/categoriesadds, renames and deletes.bighelp_boardhascategories,add_category,update_categoryandremove_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 underother, and the answer now says so.other. If the category comes back, its goals come back. A new name keeps the ID, so the goals stay.docs/AGENT_BOARD.mdsaid that a name outside the list is refused. It now says what the code does.Trust boundaries
voice/transcriptwrites into a Hermes session. It takes onlyuserandassistantlines, only for a chat of the named agent, and at most 32 lines of 4,000 characters in one request.Compatibility
categoryas before. A custom category shows there under Other.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_scanandtests.test_plugin_update_installationpass. The full suite fails 18 tests here that fail onmaintoo, 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/listreturns the seven categories; add, a second add of the same name (409category_exists), rename, delete ofother(409category_fixed) and a bad icon (409) answer as written;voice/transcriptsaved two lines into a seeded chat, and a second send saved nothing.Hermes' own
_adopt_out_of_band_turns: aftervoice_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
Closes #312, closes #313
Made by Claude Fable 5.2 in Claude Code.
🤖 Generated with Claude Code