The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
fix(slack): /commands stays a native slash; /initiate-setup goes through /hermes
alt-glitch8bd054eca9ea
diff --git a/gateway/run_turn.py b/gateway/run_turn.pyindex e26bba20258..7d54902b6eb 100644--- a/gateway/run_turn.py+++ b/gateway/run_turn.py@@ -49,6 +49,8 @@ if TYPE_CHECKING: # string annotations only; never imported at runtime (cycle)logger = logging.getLogger("gateway.run")_tool_call_logger_lock = threading.Lock()+# How the first-contact note spells /initiate-setup: Telegram has no hyphens, and Slack reaches it via /hermes.+_SETUP_COMMAND_SPELLING = {Platform.TELEGRAM: "/initiate_setup", Platform.SLACK: "/hermes initiate-setup"}def _tool_call_logger() -> logging.Logger:@@ -1424,7 +1426,7 @@ class GatewayTurnMixin:note = first_contact_turn_note(_load_gateway_config(), _gateway_config_home() / "config.yaml",session_history_empty=True, install_has_prior_sessions=False, message=message,- command="/initiate_setup" if source.platform == Platform.TELEGRAM else "/initiate-setup")+ command=_SETUP_COMMAND_SPELLING.get(source.platform, "/initiate-setup"))if note:turn_sidecar_notes.append(note)diff --git a/hermes_cli/commands_platforms.py b/hermes_cli/commands_platforms.pyindex cddb25deb22..e001bdad651 100644--- a/hermes_cli/commands_platforms.py+++ b/hermes_cli/commands_platforms.py@@ -383,7 +383,7 @@ _SLACK_RESERVED_COMMANDS = frozenset({# parity test reads this set. Aliases are never pinned ahead of canonicals._SLACK_VIA_HERMES_ONLY = frozenset({"topup", "moa", "debug", "egress", "init", "version", "diff", "update", "heartbeat",- "refine", "review", "pause", "whoami", "platform", "insights", "login", "commands"})+ "refine", "review", "pause", "whoami", "platform", "insights", "login", "initiate-setup"})def _sanitize_slack_name(raw: str) -> str:diff --git a/website/docs/reference/slash-commands.md b/website/docs/reference/slash-commands.mdindex 37fab3a9775..ef7342532ce 100644--- a/website/docs/reference/slash-commands.md+++ b/website/docs/reference/slash-commands.md@@ -110,7 +110,7 @@ Type `/` in the CLI to open the autocomplete menu. Built-in commands are case-in| `/bundles` | List configured skill bundles — `/<name>` slash aliases that preload several skills at once. Configure under `bundles:` in `~/.hermes/config.yaml`. See [Skill Bundles](../user-guide/features/skills.md#skill-bundles). || `/learn <what to learn from>` | Distill a reusable skill from anything you describe — a directory, a URL, the workflow you just walked the agent through, or pasted notes. Open-ended: the agent gathers the sources with its own tools and authors a `SKILL.md` following the house authoring standards. Works in the CLI, the messaging gateway, the TUI, and the dashboard Skills page. || `/plan [task]` | Write a markdown implementation plan to `.hermes/plans/` in the active workspace — planning only, no execution. Empty argument infers the task from the conversation. (Formerly the bundled `plan` skill; now built-in so it survives the Telegram/Discord command-menu caps.) |-| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. Sends the `initiate-setup` skill plus a short block of facts about this session and machine (surface, tools present, OS, CPU, RAM, GPU and language; see [What the setup chat knows about your computer](../user-guide/desktop.md#what-the-setup-chat-knows-about-your-computer)), as one normal turn. The first message ever ends with a one-line offer to run it (see [Onboarding](../user-guide/configuration.md#onboarding)). Works in the CLI, the messaging gateway, the TUI, and the desktop app. In the desktop app, Hermes itself asks the opening questions (your name, then an accent colour) before the model's first reply. |+| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. Sends the `initiate-setup` skill plus a short block of facts about this session and machine (surface, tools present, OS, CPU, RAM, GPU and language; see [What the setup chat knows about your computer](../user-guide/desktop.md#what-the-setup-chat-knows-about-your-computer)), as one normal turn. In the Microsoft Store desktop app, the first message ever ends with a one-line offer to run it (see [Onboarding](../user-guide/configuration.md#onboarding)). Works in the CLI, the messaging gateway, the TUI, and the desktop app. In the desktop app, Hermes itself asks the opening questions (your name, then an accent colour) before the model's first reply. || `/init [notes]` | Generate or update `AGENTS.md` project instructions from a repo scan (port of Codex `/init`). The agent inspects manifests, layout, and toolchain configs with its read-only tools, then writes a concise `AGENTS.md` — or, if one exists, merge-updates it preserving your content. Optional notes steer the emphasis. Works in the CLI, the messaging gateway, and the TUI. || `/cron` | Manage scheduled tasks (list, add/create, edit, pause, resume, run, remove) || `/suggestions [accept\|dismiss N\|catalog\|clear]` (alias: `/suggest`) | Review suggested automations. Use `/suggestions` to list pending suggestions, `/suggestions accept <id>` to create the proposed automation, `/suggestions dismiss <id>` to reject one, `/suggestions catalog` to add curated starter automations, and `/suggestions clear` to clear resolved suggestion records. Accepted jobs preserve the current surface as the delivery origin. |@@ -286,7 +286,7 @@ The messaging gateway supports the following built-in commands inside Telegram,| `/init [notes]` | Generate or update `AGENTS.md` from a repo scan. || `/learn <what to learn from>` | Distill a reusable skill from anything you describe. || `/plan [task]` | Write a markdown implementation plan to `.hermes/plans/`; no execution. |-| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. |+| `/initiate-setup` (alias: `/initiate_setup`) | Run the first-run setup: the agent learns about you and sets Hermes up around you. On Slack: `/hermes initiate-setup`. || `/bundles` | List configured skill bundles (`/<name>` aliases that preload several skills). || `/reload-skills` (alias: `/reload_skills`) | Re-scan `~/.hermes/skills/` for newly installed or removed skills. || `/footer [on\|off\|status]` | Toggle the runtime-metadata footer on final replies (shows model, context %, and cwd). |diff --git a/website/docs/user-guide/configuration.md b/website/docs/user-guide/configuration.mdindex 4085ebe5eba..00c7a88910f 100644--- a/website/docs/user-guide/configuration.md+++ b/website/docs/user-guide/configuration.md@@ -3055,7 +3055,7 @@ network:## Onboarding-First-touch onboarding hints and the first-message setup offer:+First-touch onboarding hints and the first-message offer:```yamlonboarding:@@ -3063,8 +3063,8 @@ onboarding:seen: {} # internal latch — leave empty```-- `profile_build` — controls the setup offer on the first message ever, in the CLI, the TUI, the desktop app and messaging direct messages (never in a group chat). `"ask"` (default) adds one closing line to the agent's intro that offers `/initiate-setup` (`/initiate_setup` on Telegram). 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 line; 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 setup 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.+- `profile_build` — controls the offer on the first message ever, in the CLI, 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.## Dashboard