Refreshing Prompts in Existing Conversations
Why an upgrade does not immediately change an existing conversation
Each conversation saves its own system prompt to preserve behavior and reuse the model's prompt cache. After changes to the default personality, skills, or project context, new conversations read the current sources. Existing conversations do not automatically rebuild the entire prompt between ordinary messages.
Historical replies therefore retain their old names, and a product upgrade does not overwrite a user-written personality. These are separate from the product name displayed by the interface.
When a refresh is needed
You can explicitly request a refresh when an ongoing conversation needs the current SOUL.md, skills, and context sources. For a simple task adjustment, adding instructions to the conversation is usually enough; repeated system-prompt refreshes are unnecessary.
A refresh retains the conversation ID and message history, then rebuilds and saves the prompt on that conversation's next turn. Each refreshed conversation incurs one prompt-cache miss, which may increase that turn's input cost. A turn already running is not changed midway.
Confirm the scope before proceeding
This is a command-line maintenance entry; there is currently no dedicated desktop refresh button. Run the command in the actual account workspace and profile that own the conversation.
Desktop account workspaces, Bot profiles, remote connections, and separately installed CLIs can use different data locations. Confirm ownership through the current runtime configuration or diagnostic information first. Do not guess a fixed directory or copy account credentials for this purpose.
Refresh one conversation
First inspect the installed version's help and conversation list:
hermes sessions refresh-prompts --help
hermes sessions listAfter checking the correct conversation ID, run:
hermes sessions refresh-prompts --session SESSION_IDReplace SESSION_ID with the actual ID or its unique prefix. A compressed conversation resolves to its current continuation node. Once the command reports that a refresh was requested, the next ordinary message in the original conversation triggers rebuilding. Do not automatically send an extra task just to “verify” it.
For a conversation in another profile, select that profile with the current CLI's -p/--profile option and check the conversation list again. Profile selection does not replace desktop account-ownership checks.
Bulk refresh
Omitting --session requests a refresh for all continuing conversations in the current profile. Use this only when the entire profile explicitly needs updating. --json provides a machine-readable receipt. This subcommand has no --dry-run option.
Refresh requests can be written while the gateway is running and survive service restarts. A conversation whose next turn has not started has not yet rebuilt its prompt. The receipt does not mean every conversation has been rerun.
Methods to avoid
- Do not replace strings throughout stored historical messages or system prompts by hand.
- Do not delete the database or conversations to update a name.
- Do not overwrite user-created personality files.
- Do not refresh every turn and destroy prompt-cache reuse.
If a prompt source itself is wrong, correct the relevant personality, skill, or context file first, then refresh only conversations that need updating. See Troubleshooting.