The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(config): document HERMES_CONFIG_BACKEND; correct the hermes_time fallback comment
kshitijk4poor32ea245ded50
diff --git a/hermes_time.py b/hermes_time.pyindex b8bf20e3f58..00f1362cc39 100644--- a/hermes_time.py+++ b/hermes_time.py@@ -89,8 +89,8 @@ def _resolve_timezone_name() -> str:# Prefer the shared cached effective-config loader (mtime-keyed + libyaml, managed overlay# included so an administrator can pin ``timezone``): a direct safe_load of a large# config.yaml costs ~100 ms and this ran inside the FIRST system prompt build. The bare- # parse (through the dependency-free config backend module) is the fallback when the- # effective loader cannot be imported.+ # parse through the config backend is the fallback when the effective loader cannot be+ # imported (any failure there lands in the outer except: no configured timezone).try:from hermes_cli.config_effective import load_user_config_effectivecfg = load_user_config_effective(get_config_path())diff --git a/website/docs/reference/environment-variables.md b/website/docs/reference/environment-variables.mdindex dba43302610..88a3094b39c 100644--- a/website/docs/reference/environment-variables.md+++ b/website/docs/reference/environment-variables.md@@ -125,6 +125,7 @@ Hermes reads environment variables from the process environment and, for user-ma| `HERMES_LOCAL_STT_COMMAND` | Optional local speech-to-text command template. Supports `{input_path}`, `{output_dir}`, `{language}`, and `{model}` placeholders || `HERMES_LOCAL_STT_LANGUAGE` | Default language hint for STT. Used by the `local` (faster-whisper) provider, `HERMES_LOCAL_STT_COMMAND`, the local `whisper` CLI fallback (default: `en`), Groq, and xAI when no per-provider `language` is set in `config.yaml` || `HERMES_HOME` | Select the configuration and user-data home. A literal `~` or `$VAR` in the value is expanded (fish does not expand `~` inside `VAR=~/…`), so it never resolves relative to the current directory. Defaults to `~/.hermes` on POSIX and `%LOCALAPPDATA%\hermes` on Windows; the official Docker image uses `/opt/data`. Profile/runtime context can select a more specific home. |+| `HERMES_CONFIG_BACKEND` | Select where the profile's `config.yaml` user layer is read and written. Only `file` (the default, the local `config.yaml`) exists in this build; any other value stops Hermes at startup with an error instead of falling back to defaults. Read from the launch environment, the launch home's `.env` and the managed `.env`, never from `config.yaml`. See [Config backend](../developer-guide/config-backend.md). || `HERMES_DISABLE_WINDOWS_UTF8` | **Windows only.** Set to `1` to disable the UTF-8 stdio shim (`configure_windows_stdio()`) and fall back to the console's locale code page. Useful for bisecting encoding bugs; rarely the right setting in normal operation || `HERMES_KANBAN_HOME` | Override the shared Hermes root that anchors the kanban board (db + workspaces + worker logs). Falls back to `get_default_hermes_root()` (the parent of any active profile). Useful for tests and unusual deployments || `HERMES_KANBAN_BOARD` | Pin the active kanban board for this process. Takes precedence over `~/.hermes/kanban/current`; the dispatcher injects this into worker subprocess env so workers physically cannot see tasks on other boards. Defaults to `default`. Slug validation: lowercase alphanumerics + hyphens + underscores, 1-64 chars |