The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs(tui): clarify destructive confirm controls
YuYigeng7d34d7d8d192
diff --git a/hermes_cli/config_defaults.py b/hermes_cli/config_defaults.pyindex 0f29f5059ef..c4bc6386b07 100644--- a/hermes_cli/config_defaults.py+++ b/hermes_cli/config_defaults.py@@ -2208,8 +2208,9 @@ DEFAULT_CONFIG = {# through tools.slash_confirm — native yes/no buttons on Telegram,# Discord, and Slack; text fallback elsewhere. Users click "Always# Approve" to silence the prompt permanently; that flips this key to- # false. TUI has its own modal overlay (HERMES_TUI_NO_CONFIRM=1 to- # opt out there).+ # false. TUI also honors this setting for its /clear, /new, and /reset+ # modal; HERMES_TUI_NO_CONFIRM=1 force-skips that modal regardless of+ # the configured value."destructive_slash_confirm": True,},diff --git a/website/docs/user-guide/security.md b/website/docs/user-guide/security.mdindex 9818ffa9f4f..d4bc6b3cd46 100644--- a/website/docs/user-guide/security.md+++ b/website/docs/user-guide/security.md@@ -46,7 +46,7 @@ The full set of keys:| `timeout` | `300` | Seconds Hermes waits for an approval reply before timing out. || `cron_mode` | `deny` | How [cron jobs](./features/cron.md) behave headlessly when they trigger a dangerous-command prompt. `deny` blocks the command (the agent must find another path); `approve` auto-approves everything in cron context. || `mcp_reload_confirm` | `true` | When true, `/reload-mcp` asks before rebuilding the MCP tool set. Rebuilding invalidates the provider prompt cache (tool schemas live in the system prompt), so the next message re-sends full input tokens. Users who click **Always Approve** flip this key to `false`. |-| `destructive_slash_confirm` | `true` | When true, destructive session slash commands (`/clear`, `/new`, `/reset`, `/undo`) prompt before discarding conversation state. Three-option dialog (Approve Once / Always Approve / Cancel) routed through native yes/no buttons on Telegram, Discord, and Slack; text fallback elsewhere. Users who click **Always Approve** flip this key to `false`. TUI uses its own modal overlay (set `HERMES_TUI_NO_CONFIRM=1` to opt out there). |+| `destructive_slash_confirm` | `true` | When true, destructive session slash commands (`/clear`, `/new`, `/reset`, `/undo`) prompt before discarding conversation state. Three-option dialog (Approve Once / Always Approve / Cancel) routed through native yes/no buttons on Telegram, Discord, and Slack; text fallback elsewhere. Users who click **Always Approve** flip this key to `false`. The TUI also honors this setting for its `/clear`, `/new`, and `/reset` modal; `HERMES_TUI_NO_CONFIRM=1` force-skips that modal regardless of the configured value. || Mode | Behavior ||------|----------|