The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(onboarding): document onboarding.run; salvaged reads say first-run onboarding
alt-glitch177a764aca6b
diff --git a/apps/shared/src/gateway-contract.generated.ts b/apps/shared/src/gateway-contract.generated.tsindex f55fcbb473c..2a9c3cef16e 100644--- a/apps/shared/src/gateway-contract.generated.ts+++ b/apps/shared/src/gateway-contract.generated.ts@@ -2208,7 +2208,7 @@ export interface OnboardingRunStateResult {eligible: booleansession_id?: string | null}-/** ``mark_profile_offered`` also latches ``onboarding.seen.profile_build_offered`` in the root config, so the first chat after the questionnaire gets the plain intro instead of the profile offer. */+/** ``mark_profile_offered`` also latches ``onboarding.seen.profile_build_offered`` in the root config, so the first chat after onboarding gets the plain intro instead of the profile offer. */export interface OnboardingSetRunParams {run: booleanmark_profile_offered?: booleandiff --git a/apps/shared/src/gateway-contract.openrpc.json b/apps/shared/src/gateway-contract.openrpc.jsonindex 29b2dac8348..b3afb49a3ed 100644--- a/apps/shared/src/gateway-contract.openrpc.json+++ b/apps/shared/src/gateway-contract.openrpc.json@@ -20558,7 +20558,7 @@},"OnboardingSetRunParams": {"additionalProperties": false,- "description": "``mark_profile_offered`` also latches ``onboarding.seen.profile_build_offered`` in the root config,\nso the first chat after the questionnaire gets the plain intro instead of the profile offer.",+ "description": "``mark_profile_offered`` also latches ``onboarding.seen.profile_build_offered`` in the root config,\nso the first chat after onboarding gets the plain intro instead of the profile offer.","properties": {"run": {"title": "Run",diff --git a/hermes_cli/onboarding_run.py b/hermes_cli/onboarding_run.pyindex 1e09171f780..98585e1faf7 100644--- a/hermes_cli/onboarding_run.py+++ b/hermes_cli/onboarding_run.py@@ -1,8 +1,8 @@-"""``onboarding.run``: whether the desktop first-run questionnaire opens on the next launch.+"""``onboarding.run``: whether the desktop first-run onboarding opens on the next launch.The flag lives in the ROOT profile's ``config.yaml`` (``get_default_hermes_root()``), never in thelaunch profile's: a pooled backend launched under ``-p work`` must read and write the same file as-one launched under ``default``, because the questionnaire always targets the default profile.+one launched under ``default``, because onboarding always targets the default profile.Unset means "only on a fresh install"; ``true`` re-runs it once; ``false`` means done."""diff --git a/hermes_platform/host/summary.py b/hermes_platform/host/summary.pyindex 2eb1823bc0e..72d15852256 100644--- a/hermes_platform/host/summary.py+++ b/hermes_platform/host/summary.py@@ -1,4 +1,4 @@-"""One summary of this machine and its OS account, for the desktop first-run questionnaire.+"""One summary of this machine and its OS account, for the desktop first-run onboarding.Hardware facts come from ``hermes_platform.host``. Account facts (full name, locale) come from OSuser records through ``pwd`` or Win32/CoreFoundation calls, never from environment variables suchdiff --git a/tests/hermes_cli/test_onboarding_run.py b/tests/hermes_cli/test_onboarding_run.pyindex f2ed55451b0..f402ddf3bc1 100644--- a/tests/hermes_cli/test_onboarding_run.py+++ b/tests/hermes_cli/test_onboarding_run.py@@ -1,4 +1,4 @@-"""``onboarding.run`` lives in the root profile's config.yaml: unset runs the questionnaire only on a+"""``onboarding.run`` lives in the root profile's config.yaml: unset runs onboarding only on afresh install, an explicit bool wins, and a backend launched under a named profile reads and writesthe same root file."""@@ -60,7 +60,7 @@ def test_a_user_profile_is_history_but_a_setup_profile_is_not(root):def test_a_managed_run_false_wins_on_a_fresh_install(root, tmp_path, monkeypatch):- # IT can pin the questionnaire off through the managed overlay; the root file stays unset.+ # IT can pin onboarding off through the managed overlay; the root file stays unset.from hermes_cli import managed_scopemanaged = tmp_path / "managed"diff --git a/tui_gateway/contracts/profiles_vault_complete_foreign_subagents.py b/tui_gateway/contracts/profiles_vault_complete_foreign_subagents.pyindex 871fe3d4790..cdfa29db2f1 100644--- a/tui_gateway/contracts/profiles_vault_complete_foreign_subagents.py+++ b/tui_gateway/contracts/profiles_vault_complete_foreign_subagents.py@@ -414,7 +414,7 @@ method("onboarding.state", params=Params, result=OnboardingRunStateResult,class OnboardingSetRunParams(Params):"""``mark_profile_offered`` also latches ``onboarding.seen.profile_build_offered`` in the root config,- so the first chat after the questionnaire gets the plain intro instead of the profile offer."""+ so the first chat after onboarding gets the plain intro instead of the profile offer."""run: boolmark_profile_offered: bool = Falsediff --git a/tui_gateway/methods_machine.py b/tui_gateway/methods_machine.pyindex c3bddef7d4b..9dc46fa264d 100644--- a/tui_gateway/methods_machine.py+++ b/tui_gateway/methods_machine.py@@ -1,4 +1,4 @@-"""``machine.facts``: the host summary the desktop first-run questionnaire branches on.+"""``machine.facts``: the host summary the desktop first-run onboarding branches on.Bodies are rebound onto server.py's globals (method_ctx.bind_module) and reference them bare."""diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.mdindex 528b113e1d1..959a11f0cf4 100644--- a/website/docs/user-guide/configuration.md+++ b/website/docs/user-guide/configuration.md@@ -3055,10 +3055,12 @@ First-touch onboarding hints and the first-message offer:onboarding:profile_build: "ask" # "ask" (default) | "off"seen: {} # internal latch — leave empty+ run: null # desktop first-run onboarding: null (fresh install) | true | false```- `profile_build` — controls the offer on the first message ever, in the TUI, the desktop app and messaging direct messages (never in a group chat). `"ask"` (default) offers to build a user profile; the offer is **opt-in and consent-gated** — the agent asks before any lookup, never reads connected accounts silently, and saves confirmed facts to user memory. In the Microsoft Store desktop app the offer is instead one closing line that points at `/initiate-setup` (`/initiate_setup` on Telegram, `/hermes initiate-setup` on Slack). The offer is skipped when the first message is `/initiate-setup` itself, and always in the desktop app's setup profile. `"off"` stops only the offer; the agent still gives a plain intro. The offer fires at most once per profile. `/initiate-setup` sends a short block of facts about the computer; see [What the setup chat knows about your computer](./desktop.md#what-the-setup-chat-knows-about-your-computer).- `seen` — internal state. Hermes latches each shown hint here so it never fires again; the first-message offer is also recorded here once shown. Don't hand-edit it — wipe the whole `onboarding` section if you want to re-see all hints.+- `run` — whether the desktop app opens its first-run onboarding chat on the next launch. Unset means only on a fresh install (no sessions and no profiles yet). Hermes writes `true` when onboarding starts and `false` when it is finished or skipped. It always lives in the default profile's `config.yaml`, whichever profile the app runs. Set `false` to never show it; managed installs can pin it in the managed config.## Dashboard