[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M6HVAP258QV2EJY0SPGNKR0Q":3,"skill-same:01M6HVAP258QV2EJY0SPGNKR0Q":72},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":38,"linkOnly":39,"markdownContent":40,"markdownBody":41,"frontMatter":42,"refName":43,"commitSha":44,"skillDirectory":45,"forksCount":46,"repositoryHtmlUrl":47,"repositoryHomepageUrl":48,"ownerHtmlUrl":49,"ownerBlogUrl":6,"ownerDescription":50,"updatedAt":51,"install":52,"resources":65},"01M6HVAP258QV2EJY0SPGNKR0Q","hermit-settings",null,"View or change hermit configuration and approval rules for this project. Manages model, channels, morning brief, heartbeat, routines, compaction thresholds, Docker packages, and unattended mode.","gtapps\u002Fhermitd","gtapps","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F16778396?v=4","01M6HTX8TNTPQN3NXRVA63VHTH","01M6HTX8Z23S531ZPPA5DKJVD0",85,"MIT","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fhermit-settings\u002FSKILL.md",[],[18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37],"settings","hermit","hermit settings","morning brief","Rules","heartbeat","morning","change","packages","channels","routines","mode","docker","project","for","model","unattended mode","view","thresholds","brief","2026-11-10 10:12:30",false,"---\nname: hermit-settings\ndescription: View or change hermit configuration and approval rules for this project. Manages model, channels, morning brief, heartbeat, routines, compaction thresholds, Docker packages, and unattended mode.\n---\n\n# Hermit Settings\n\nView or modify the hermit configuration for this project.\n\n## Commands\n- `artifact-render`: `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fartifact.ts render \u003Ctype> .hermit`\n- `channel-group-add`: `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fchannel-access.ts \"\u003Chermit_state_dir>\" group-add`\n\n## Step 0 — Channel reply\n\nIf this skill was invoked from a channel-arrived message (the inbound prompt contains a `\u003Cchannel source=\"...\">` tag), reply via that channel's reply tool. Otherwise emit to conversation.\n\nEveryday settings apply through `settings-edit`. A static list in `scripts\u002Fsettings-gate.ts` protects trust, disclosure, credentials, executable configuration, and existing guarded settings with Claude Code's native permission prompt. Protected writes ask in either direction. Parent replacements ask only when protected content changes; routine containers keep their existing precheck comparison. A No is the operator's answer: never retry or route around it, and never edit `config.json` directly. The channel plugin delivers the prompt to the operator's DM or the terminal pane.\n\nOn a channel-tagged turn, every free-form `Ask:` prompt below is delivered via the reply tool instead of waiting on terminal input — the branch proceeds as an over-channel exchange (ask, then act on the reply when it arrives), the same as any other channel conversation. **Never call `AskUserQuestion` on a channel-tagged turn** — it renders in the terminal, invisible to a remote operator. The one bounded ask in this skill (`quality-gate`, below) additionally queues a durable task input decision per `channel-responder` § Channel-safe ask bridge (schema: [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md)), so it survives compaction or a session restart; any free-form question that outlives the exchange also belongs to a task.\n\n## Usage\n\n```\n\u002Fhermitd:hermit-settings              — show all current settings\n\u002Fhermitd:hermit-settings name          — set agent name\n\u002Fhermitd:hermit-settings language       — set preferred language\n\u002Fhermitd:hermit-settings messages       : reword a fixed notice (watchdog, status, budget, login)\n\u002Fhermitd:hermit-settings rules          : view or change approval rules\n\u002Fhermitd:hermit-settings voice          : edit how the hermit talks (style: everyday; custom prose: native permission prompt)\n\u002Fhermitd:hermit-settings timezone       — set timezone\n\u002Fhermitd:hermit-settings escalation     — set escalation threshold\n\u002Fhermitd:hermit-settings channels       — configure channels\n\u002Fhermitd:hermit-settings remote          — toggle remote control\n\u002Fhermitd:hermit-settings model           — set Claude model\n\u002Fhermitd:hermit-settings brief          — configure morning brief\n\u002Fhermitd:hermit-settings permissions    — configure unattended mode\n\u002Fhermitd:hermit-settings heartbeat      — enable\u002Fdisable, interval, quiet mode, active hours\n\u002Fhermitd:hermit-settings watchdog       — scheduler_enabled, enable\u002Fdisable, stale_factor, wedge_floor, escalate_after, operator_grace, context hygiene compaction\n\u002Fhermitd:hermit-settings routines        — manage scheduled routines (add\u002Fedit\u002Fremove\u002Fenable\u002Fdisable)\n\u002Fhermitd:hermit-settings env              — view\u002Fedit environment variables\n\u002Fhermitd:hermit-settings docker           — add\u002Fremove Docker packages; edit recommended plugins\n\u002Fhermitd:hermit-settings scheduled-checks    — manage scheduled plugin skill checks\n\u002Fhermitd:hermit-settings boot-skill       — view\u002Fclear\u002Fchange the operator’s replacement startup skill\n\u002Fhermitd:hermit-settings quality-gate     — set post-implementation \u002Fsimplify gate tier (budget|balanced|quality)\n\u002Fhermitd:hermit-settings skills-learning: enable or disable close-time skill learning\n\u002Fhermitd:hermit-settings skills-notify: off, on, or verbose learning notifications\n\u002Fhermitd:hermit-settings reflection       — tune graduation threshold (graduation_min_sessions)\n\u002Fhermitd:hermit-settings push-notifications — toggle PushNotification doorbell (fires when no channel is enabled or a configured channel is unreachable)\n\u002Fhermitd:hermit-settings artifact-dashboard — toggle the Hermit Dashboard artifact (single-URL status\u002Fwaiting\u002Fweekly-evolution page)\n\u002Fhermitd:hermit-settings artifact-weekly-review — toggle the Weekly-review artifact (stable-URL passthrough of the compiled weekly report)\n\u002Fhermitd:hermit-settings artifact-authorization — record the unattended Artifact publish decision (applied by hermitd-start at boot, not from this session)\n\u002Fhermitd:hermit-settings artifact-backend — where pages publish: `claude` (default), or the name of a connected MCP artifact server you registered yourself\n\u002Fhermitd:hermit-settings history [path] — recent recorded settings changes (who changed what, when)\n```\n\n## Plan\n\n### 1. Read config\n\nRead `.hermit\u002Fconfig.json`. If it doesn't exist, inform the operator: \"No config found — type `\u002Fhermitd:hatch` first, in a terminal or the Claude app.\"\n\nScalar and enum edits below are written through `scripts\u002Fsettings-edit.ts`, which read-modify-writes the whole config (preserving every sibling key) and refuses a malformed file. Shorthand used in this skill:\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json show                    # operator-facing summary of live values\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json get [dotted.path]      # dump whole config, or one value\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json set \u003Cdotted.path> \u003Cvalue>   # 'none'\u002F'clear' → null; value is JSON-parsed then falls back to raw string\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json toggle \u003Cdotted.path>       # boolean flip (absent → true)\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json unset \u003Cdotted.path>        # delete a key (siblings and parents untouched)\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json history [dotted.path] [--limit N]   # recent audited changes\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json record-file HEARTBEAT.md            # record checklist fingerprint\n```\n\n**Every write goes through these verbs — never edit `config.json` with Edit\u002FWrite.** The script preserves siblings, refuses a change that would make the config invalid, and records the change in the audit ledger that `history` reads. A hand-edit bypasses all three.\n\n### 2. Show or modify\n\n**If argument is \"rules\":**\nRead [rules.md](rules.md) and follow its approval-rule procedure.\n\n**If no argument** (or argument is \"all\"):\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json show\n```\n\nCompose the summary from its JSON: per area (`identity`, `operational`, `artifacts`), each `label`, `value` (absent: unset on a `nullable` row, else default), the `arg` that changes it (null: read-only) and when it `applies`; then each `stateful` section and its `arg`. Report only what it carries, never a remembered or example value.\n\n**Scalar and enum arguments — one table, one shape.**\n\nEach row is the same shape: ask the operator for a value, then write it with\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known \u003Cargument> \u003Cvalue>\n```\n\nPass the **argument name**, not the dotted path — the script looks the path up, coerces the value by kind, and refuses an out-of-enum value or an unknown argument with `status: refused` and a `detail` to relay (this matters: `settings-edit` writes through `fs`, so the `validate-config.ts` PostToolUse hook never sees the write and a bad value would otherwise land silently). On success relay the new `value` and when it `applies`. `none`\u002F`clear` maps to null wherever a row is marked nullable. Compose the prompt itself from the hint and the enum values.\n\n| Argument | Config path | Type | Values | Applies |\n|---|---|---|---|---|\n| `name` | `agent_name` | string, nullable | any; any string, or 'none' to clear | immediately |\n| `timezone` | `timezone` | string, nullable | any; IANA tz (UTC, Europe\u002FLisbon, America\u002FNew_York) | immediately |\n| `escalation` | `escalation` | enum | conservative \u002F balanced \u002F autonomous; how much it acts without asking | immediately |\n| `remote` | `remote` | boolean | yes \u002F no; connect from claude.ai\u002Fcode or phone | next hermitd-start |\n| `chrome` | `chrome` | boolean | yes \u002F no; use the operator's signed-in browser | next hermitd-start |\n| `browser` | `browser.enabled` | boolean | yes \u002F no; enable the hermit’s own browser | next hermitd restart (Docker: next hermitd update) |\n| `browser-default` | `browser.default` | enum | agent-browser \u002F chrome; agent-browser or chrome (requires chrome enabled) | immediately |\n| `transcription` | `transcription.enabled` | boolean | yes \u002F no; transcribe inbound voice notes | next voice note (Docker image: next hermitd update) |\n| `transcription-echo` | `transcription.echo` | boolean | yes \u002F no; echo transcripts in the same chat | next voice note |\n| `auth-mode` | `auth_mode` | enum, nullable | login \u002F token; login (claude.ai sign-in, renew ~monthly) or token (long-lived, renew yearly) | run \u002Frelogin to sign in with the new method |\n| `model` | `model` | string, nullable | any; model name passed straight to --model, or 'none' for the Claude Code default | next hermitd-start |\n| `boot-skill` | `boot_skill` | string, nullable | any; operator-selected replacement startup skill; core startup does not run first; 'none' restores \u002Fhermitd:resident-start | next hermitd-start |\n| `permissions` | `permission_mode` | enum | auto \u002F acceptEdits \u002F default \u002F plan \u002F dontAsk \u002F bypassPermissions; how much Claude Code asks before acting | next hermitd-start |\n| `push-notifications` | `push_notifications` | boolean | yes \u002F no; doorbell when no channel is reachable | immediately |\n| `skills-learning` | `skills.learning` | boolean | yes \u002F no; review reusable procedures at task close | immediately |\n| `skills-notify` | `skills.notify` | enum | off \u002F on \u002F verbose; off, on, or verbose close replies | immediately |\n| `reflection` | `reflection.graduation_min_sessions` | integer | any; distinct sessions before a pattern becomes a proposal candidate | next reflect run |\n| `artifact-dashboard` | `artifacts.dashboard` | boolean | yes \u002F no; status, proposal queue, weekly evolution | next refresh |\n| `artifact-weekly-review` | `artifacts.weekly_review` | boolean | yes \u002F no; the compiled weekly report at a stable URL | next refresh |\n| `artifact-backend` | `artifacts.backend` | string | any; 'claude', or the name of a connected MCP artifact server | next refresh |\n\nThe enum values, dotted paths, and \"applies\" notes come from `scripts\u002Flib\u002Fsettings\u002Fregistry.ts`, the same module `show` reads and `validate-config.ts` shares its enums with. When a setting is added, add the row there; this table mirrors it.\n\n**`model` takes whatever Claude Code takes.** The stored value is passed verbatim to `--model` by `hermitd-start.ts`, so no model list lives here. Offer the operator the aliases Claude Code itself accepts (`opus`, `sonnet`, `haiku`) or a full model ID, and pass it through.\n\n**Permission-mode note (surface when the operator picks one):** `auto` is classifier-reviewed autonomy and the default; `acceptEdits` auto-approves file edits but prompts for shell; `default` prompts on first use of each tool; `plan` is read-only; `dontAsk` denies anything not in `permissions.allow`; `bypassPermissions` is for isolated containers only. `auto` may report unavailable depending on plan\u002Fmodel\u002Fprovider — see [Permission Modes](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fpermission-modes).\n\nThe remaining arguments each do more than write one leaf, so they keep their own procedure below.\n\n**If argument is \"language\":**\nAuto-detect the system locale via Bash as a default suggestion.\nAsk for the preferred language (e.g. pt, en, es, fr), offering the current value or the detected locale as default.\nRun `settings-edit ... set language \u003Cvalue>`.\nThen re-sync the two fixed-text tables: the dashboard\u002Fproposals chrome (`.hermit\u002Fstate\u002Fartifact-strings.json`) and the script notices sent to the channel (`.hermit\u002Fstate\u002Fmessages.json`). Both fall back to English per key.\n- New value is **not** `en`:\n  1. Emit `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fartifact.ts scaffold-strings \u003Cvalue> \u003Ccurrent-ISO-timestamp>`, translate every `strings` value, and write `.hermit\u002Fstate\u002Fartifact-strings.json`.\n  2. Emit `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts scaffold .hermit \u003Cvalue>`, translate each `todo` entry's `en` text (its `note` gives context), write `.hermit\u002Fstate\u002Fmessages-draft.json` as `{\"language\":\"\u003Cvalue>\",\"locale\":\"\u003CBCP 47 tag>\",\"strings\":{\"\u003Ckey>\":\"\u003Ctranslation>\"}}`, and run `messages.ts apply .hermit`. Translate again any key it returns under `rejected`.\n\n  In both, keep keys and `{placeholder}` tokens verbatim.\n- New value is `en`: delete `.hermit\u002Fstate\u002Fartifact-strings.json` if it exists, and run `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts clear .hermit`.\n- Custom wordings are written in the language they were set in. When `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts status .hermit` lists any under `overrides`, ask whether to keep them or drop them (`messages.ts reset .hermit --all`).\n\n**If argument is \"messages\":**\nEvery `set` or `reset` change needs an approver's Yes in the native permission prompt. On No, stop; never retry or route around it.\nThe fixed notices scripts send to the channel (watchdog, status reply, budget, denial and login messages) can be reworded per message. `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts list .hermit` gives every key with its English text and any custom wording. Pick the key the operator means, write the new wording in their language, and run `messages.ts set .hermit \u003Ckey> \"\u003Ctext>\"`. A `placeholder_mismatch` reply names the `{placeholder}` tokens the text must keep (they carry times, commands and the `reauth` word the login flow listens for); rewrite and set again. `messages.ts reset .hermit \u003Ckey>` restores the default. Custom wordings survive upgrades and retranslation; doctor's `message-catalog` check names any an upgrade made unusable.\n\n**If argument is \"voice\":**\nThe hermit's tone lives in a native Claude Code output style, loaded into the system prompt at session start. `config.json`'s `voice` block is what you own; the `outputStyle` key and, for a custom voice, `.claude\u002Foutput-styles\u002Fhermit-voice.md` are rendered from it — at boot, and immediately when this runs in a terminal.\n\nPicking a built-in is an everyday setting (three sealed values, no text). Writing custom prose raises the native permission prompt: it becomes every future session's system prompt. Both go through `settings-edit`. A No is the operator's answer: never retry or route around it.\n\n- Show the current value first: `settings-edit ... get voice`. If it is unset, say so plainly and add what is actually persisted (`\u002Fhermit-doctor`'s `voice-carrier` line reports that, across every scope) — a style the operator picked in `\u002Fconfig` themselves is theirs, and this command would take the key over.\n- Ask: \"How should I talk to you? (Default \u002F Concise \u002F describe it in your own words)\". Describe Concise as it behaves — leads with the result, skips narration, keeps error and security detail in full.\n- **Default \u002F Concise** →\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known voice \u003Cdefault|Concise>\n  ```\n\n  `default` is lowercase; the `\u002Fconfig` picker displays \"Default\" but persists the lowercase literal. Neither writes a file. If a `hermit-voice.md` exists it stays on disk, inert — switching back is one command.\n- **Their own words** → write the prose first, then the style (the reverse order is refused — `custom` without prose is invalid):\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json set voice.prose '\"\u003Ctheir words>\"'\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known voice custom\n  ```\n\n  Use their wording verbatim, or with only mechanical wrapping into instructions-to-yourself form. Keep it about tone, not work context (that's `OPERATOR.md`), and keep it short — it costs tokens on every API call. When editing an existing custom voice, show the current `voice.prose` and edit that text, not the rendered file.\n- **Anything else they name** (`Explanatory`, `Learning`, a style of their own): the hermit doesn't render those. Say so and point at `\u002Fconfig`, which sets `outputStyle` directly — the hermit will report it and leave it alone.\n- **Then render it**, terminal turns only:\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fapply-settings.ts .claude\u002Fsettings.local.json voice-render\n  ```\n\n  Local scope by design, whatever the hatch target: it is the scope `\u002Fconfig` writes and outranks committed settings, and the voice file is gitignored. The op refuses any other target. On a channel-tagged turn **don't run it** — say the change applies at the next restart, the same as an `env` change. Either way the config write already landed.\n- Tell the operator it takes effect in the next session — the system prompt is built at session start.\n- **Clearing the voice** (`apply-known voice none`) stops the hermit managing the key; it does not undo the last render. Say so: the current style stays until they pick another one here or in `\u002Fconfig`.\n- The voice file is a render of `config.json`, so a hand-edit is overwritten at the next boot. If they want to edit prose directly, that is `voice.prose`.\n\n**If argument is \"channels\":**\nShow current channel configuration from `config.json` → `channels` object. The `channels.primary` key (if set) is a magic pointer to the preferred outbound channel, not a channel itself — display it on its own line above the channel list:\n```\nChannels:\n  Primary: discord    (or \"none — falls back to first eligible channel in config order\")\n  discord  enabled  allowed_users: [123456789]  briefing chat: 987654321  morning_brief: 07:00  state_dir: \u002Fabs\u002Fpath\u002F...\n  (or \"No channels configured\")\n```\n\"briefing chat\" is `default_chat_id`, where unattended sends go; say \"not paired yet\" when the pin is empty.\nAsk what to do next, offering: add discord \u002F add telegram \u002F remove \u003Cname> \u002F edit \u003Cname> \u002F primary \u003Cname> \u002F primary clear \u002F done (default done).\nOffer `add \u003Cname>` only for a channel absent from `channels`.\nLoop until operator says \"done\":\n- **add \u003Cname>:** If the channel is already configured, point to `edit \u003Cname>` and write nothing. Otherwise prompt for `allowed_users` (paste user ID or skip) and `state_dir` (relative or absolute path, defaults to `.claude.local\u002Fchannels\u002F\u003Cname>`), then use `settings-edit set channels.\u003Cname> '{\"enabled\":true}'`, including `allowed_users` only when given and `state_dir` only when the operator supplied a non-default path. Do not include learned chat IDs or restate default paths. Channel enrollment raises Claude Code's native permission prompt. Note: \"Configure the channel token next: Docker → `\u002Fhermitd:docker-setup`; tmux or interactive → `\u002Fhermitd:channel-setup`. Type it in a terminal or the Claude app.\"\n- **remove \u003Cname>:** `unset channels.\u003Cname>`. If `channels.primary === \u003Cname>`, run `unset channels.primary` **first** (a dangling pointer fails validation and the write would be refused) and tell the operator: \"Also cleared `channels.primary` (was pointing at the removed channel).\"\n- **edit \u003Cname>:** Sub-menu: \"What to change? (allowed_users \u002F briefing_chat \u002F morning_brief \u002F enabled \u002F recall \u002F operators \u002F instructions \u002F format \u002F record \u002F group \u002F done)\"\n  - **allowed_users:** \"Paste user IDs (space-separated), or 'clear' to allow everyone, or 'block' for empty array.\" → `set channels.\u003Cname>.allowed_users '[\"id\",...]'` (clear ⇒ `unset channels.\u003Cname>.allowed_users`). Channel enrollment raises the native permission prompt.\n  - **briefing_chat:** `channels.\u003Cname>.default_chat_id` — the destination for unattended sends (briefings, notices, weekly review) and, on a channel with no `allowed_users`, the chat trusted for pause\u002Fresume\u002Fstatus. Seeded once at first pairing and never moved by an inbound message, so it takes an explicit change here. This write raises the native permission prompt. Ask: \"Paste the chat\u002Fchannel ID that should receive briefings (current: `\u003Cvalue>`).\" ID discovery is the same as for a group chat — Discord: Developer Mode → right-click the chat → Copy Channel ID; Telegram: forward a message from it to `@userinfobot` (group IDs are negative integers). Write it as `set channels.\u003Cname>.default_chat_id '\"\u003Cvalue>\"'` — the value must stay a **string**, and `set` JSON-parses its argument, so an unquoted chat ID lands as a number and the write is refused; clear it with `set channels.\u003Cname>.default_chat_id none`. Reject a value equal to that channel's `maintainer_channel_id` yourself before writing (outbound-only chat — see `docs\u002Fsecurity.md` § tiered disclosure): that collision only warns, so the write would go through.\n  - **morning_brief:** \"Enable morning brief for this channel? (yes \u003Ctime> \u002F no) [current]\". Yes ⇒ `set channels.\u003Cname>.morning_brief '{\"enabled\":true,\"time\":\"\u003CHH:MM>\"}'`; no ⇒ `set channels.\u003Cname>.morning_brief none`.\n  - **enabled:** `toggle channels.\u003Cname>.enabled`.\n  - **recall:** \"Isolate chats? (yes \u002F no)\" Yes: `unset channels.\u003Cname>.isolate_chats`; no: `set channels.\u003Cname>.isolate_chats false`. \"Chat IDs to share with every chat on every channel, or none?\" IDs: `set channels.\u003Cname>.shared_chats '[\"id\",...]'`; none: `unset channels.\u003Cname>.shared_chats`. Reject an id equal to that channel's `maintainer_channel_id` yourself before writing (outbound-only chat — see `docs\u002Fsecurity.md` § tiered disclosure): that collision only warns, so the write would go through and every chat could then recall maintainer-tier messages. Channel enrollment raises the native permission prompt.\n  - **operators:** \"Paste primary operator user IDs, or clear to restore the default.\" IDs: `set channels.\u003Cname>.operators '[\"id\",...]'`; clear: `unset channels.\u003Cname>.operators`. Channel enrollment raises the native permission prompt.\n  - **instructions:** Show current entries with `settings-edit … get channels.\u003Cname>.instructions`. Add or replace with `set channels.\u003Cname>.instructions.\u003Cn> '{\"chat_id\":\"\u003Cid>\",\"text\":\"\u003Ctext>\"}'` (append at index = length); when the key is absent, create it with `set channels.\u003Cname>.instructions '[{\"chat_id\":\"\u003Cid>\",\"text\":\"\u003Ctext>\"}]'`. Remove with `unset channels.\u003Cname>.instructions.\u003Cn>`. Each chat ID must be unique and nonempty; text must be nonempty and at most 2,000 characters, with line breaks written as `\\n` inside the JSON. Escape `'` in text as `'\\''` so the approval label shows the whole value. Every write raises the native permission prompt. These instructions take precedence over memory roles in that chat and apply live.\n  - **format:** Offer discord \u002F telegram \u002F signal \u002F matrix \u002F mattermost \u002F sms \u002F bluebubbles \u002F line \u002F irc \u002F email \u002F ntfy \u002F slack \u002F google_chat \u002F whatsapp \u002F passthrough. Write `set channels.\u003Cname>.format \u003Cvalue>`; clear with `unset channels.\u003Cname>.format` to infer built-in Discord or Telegram formatting. This protected setting raises the native permission prompt.\n  - **record:** \"Record this channel? (yes \u002F no \u002F inherit)\" Yes: `set channels.\u003Cname>.log_chats true`; no: `set channels.\u003Cname>.log_chats false`; inherit: `unset channels.\u003Cname>.log_chats`.\n  - **group:** Run [the group questionnaire](..\u002Fchannel-setup\u002Freferences\u002Fgroup-enrollment.md) with the selected channel key, absolute Hermit state directory, and channel-reply delivery on a channel-tagged turn (native prompts otherwise). Relay its result. Pairing and enrolment are refused in bypass mode; pair or enrol from a normal terminal session. Never route a refusal through another writer.\n\n\n- **primary \u003Cname>:** Validate `\u003Cname>` exists as a key in `channels` (and is not `primary` itself). If valid, `set channels.primary \u003Cname>`. If invalid, reject: \"No channel named `\u003Cname>` configured. Add it first with `add \u003Cname>`.\"\n- **primary clear:** `unset channels.primary`. Outbound sends will fall back to the default `discord` → `telegram` → `imessage` order.\nNote: \"Channel changes take effect on next `hermitd-start` run. `channels.primary` and `default_chat_id` are consulted live by `scripts\u002Fresolve-outbound-channel.ts` on every proactive send — no restart needed for those keys.\"\n\n**If argument is \"brief\":**\n- If no channels configured: \"Morning brief requires channels. Configure channels first with `\u002Fhermitd:hermit-settings channels`.\"\n- If channels configured:\n  - Show current morning_brief setting per channel: `channels.\u003Cname>.morning_brief`\n  - Ask: \"Enable morning brief delivery? (yes \u002F no) [current value]\"\n  - If yes: Ask \"What time? (e.g., 07:00) [current or 07:00]\" and \"Which channel? [current or first enabled channel]\"\n  - Yes ⇒ `set channels.\u003Cselected-channel>.morning_brief '{\"enabled\":true,\"time\":\"\u003CHH:MM>\"}'`; no ⇒ `set channels.\u003Cselected-channel>.morning_brief none`.\n\n**If argument is \"heartbeat\":**\n- Show current heartbeat config (including `stale_threshold`)\n- Ask whether the background heartbeat should be enabled (yes \u002F no, default the current value).\n- If yes: show the configurable sub-fields before asking each one:\n  ```\n  Heartbeat sub-fields (press Enter to keep current value):\n    interval  — how often to check (e.g. 5m, 15m, 30m)         [current]\n    active    — active hours window (e.g. 08:00-23:00)          [current]\n    stale     — alert if no session progress for (e.g. 2h, 30m) [current]\n  ```\n  Then ask each field in sequence.\n- Write each changed field through `settings-edit ... set heartbeat.\u003Cfield> \u003Cvalue>` (`heartbeat.enabled`, `heartbeat.every`, `heartbeat.active_hours.start`, `heartbeat.active_hours.end`, `heartbeat.stale_threshold`). Per-field dotted sets preserve the untouched siblings (`waiting_timeout`, `clean_recheck_cooldown`, `model`, `effort`).\n- **After the change is written**, reconcile the live Monitor with the new state via the Skill tool. The monitor's poll interval is baked in at `start` time from `heartbeat.every`, so a config-only change otherwise leaves the running monitor on the old cadence (and `\u002Fhermit-doctor` would flag the mismatch). Surface the result inline:\n  - If heartbeat is now **enabled**: invoke `\u002Fhermitd:heartbeat start` (idempotent — stops the old monitor and re-registers at the new interval). Success: \"Heartbeat monitor restarted at new interval (`\u003Cevery>`). Active immediately.\"\n  - If heartbeat is now **disabled**: invoke `\u002Fhermitd:heartbeat stop`. Success: \"Heartbeat monitor stopped.\"\n  - Failure (either): \"Settings saved to config.json, but `\u002Fhermitd:heartbeat \u003Cstart|stop>` failed: \u003Creason>. Run it manually to apply.\"\n\n**If argument is \"watchdog\":**\n- Show current watchdog config from `config.json`:\n  ```\n  Watchdog (config.json watchdog)\n\n    scheduler_enabled      true\n    enabled                false\n    stale_factor           2\n    wedge_floor            4h\n    escalate_after         3\n    operator_grace         15m\n\n  Context hygiene compact (config.json context_hygiene.compact)\n\n    enabled                true\n    min_context_tokens     100000\n    min_interval           4h\n  ```\n- Ask whether each always-on boot should register the OS scheduler (yes \u002F no, default the current `scheduler_enabled`, absent = yes), then whether watchdog restarts should be enabled (yes \u002F no, default the current `enabled`).\n- If yes: show the configurable sub-fields before asking each one:\n  ```\n  Watchdog sub-fields (press Enter to keep current value):\n    stale_factor           — missed-cycle tolerance multiplier (e.g. 2); effective\n                             threshold is max(stale_factor × heartbeat.every, wedge_floor) [current]\n    wedge_floor            — lower bound on that threshold, whatever the poll interval\n                             (e.g. 4h; lower it for faster detection, 0s = no floor)      [current]\n    escalate_after         — consecutive stale cycles before escalation (e.g. 3)          [current]\n    operator_grace         — silence window before alert fires (e.g. 15m, 1h)             [current]\n  ```\n  Then ask each field in sequence.\n- Write each changed field through `settings-edit ... set watchdog.\u003Cfield> \u003Cvalue>` (`watchdog.scheduler_enabled`, `watchdog.enabled`, `watchdog.stale_factor`, `watchdog.wedge_floor`, `watchdog.escalate_after`, `watchdog.operator_grace`). Per-field dotted sets preserve any untouched siblings. `set` JSON-parses its argument, so a bare `0` for `wedge_floor` would be written as a number and read back as the `4h` default — pass `0s` to disable the floor.\n  - Note: \"Changes take effect on the next watchdog run. `scheduler_enabled` (default true) is the OS-timer policy a tmux always-on boot reads: every `hermitd-start` registers the timer unless it is false. Setting it false by hand only stops future boots from re-registering — to remove a timer that is already installed run `hermitd watchdog uninstall`, which deletes the unit and sets both `scheduler_enabled` and `enabled` false. `hermitd watchdog install` re-registers it, and a first registration also sets `enabled: true`; a later re-install leaves `enabled` as you set it. Docker hermits run the watchdog from the entrypoint loop — no install step needed, and `scheduler_enabled` does not apply there.\"\n- **Context hygiene compact** (`context_hygiene.compact` — runs independently of the \"Enable watchdog?\" answer above): ask \"Enable routine-hygiene compaction? (yes \u002F no) [current: \u003Cvalue>]\". If yes, show the sub-fields:\n  ```\n  Context hygiene compact sub-fields (press Enter to keep current value):\n    min_context_tokens     — routine-hygiene \u002Fcompact when estimated compactible conversation exceeds this (e.g. 100000) [current]\n    min_interval           — minimum time between compacts, avoids summary-of-summary loss (e.g. 4h) [current]\n  ```\n  Then ask each field in sequence. Write each changed field through `settings-edit ... set context_hygiene.compact.\u003Cfield> \u003Cvalue>` (`context_hygiene.compact.enabled`, `context_hygiene.compact.min_context_tokens`, `context_hygiene.compact.min_interval`). No restart\u002Freconcile step needed — the watchdog reads config.json fresh on every scheduler tick.\n\n**If argument is \"routines\":**\n- Show current routines from `config.routines` array:\n  ```\n  Routines (config.json routines → routine monitor; CronCreate fallback where Monitor is unavailable):\n\n    #  ID           Schedule       Skill                                Status    Gate\n    1. morning      30 8 * * *     hermitd:brief --morning    enabled   —\n    2. evening      30 22 * * *    hermitd:brief --evening    enabled   —\n    3. reflect      0 9 * * *      hermitd:reflect            enabled   reflect\n    4. weekly-deps  0 9 * * 1      hermitd:task list  disabled  tools\u002Fdeps-gate.sh\n\n  (or \"No routines configured\" if empty)\n  Gate = the routine's `precheck`, run by the routine monitor before it wakes the session;\n  `—` means the routine always wakes it. Adding or changing one raises the native permission prompt.\n  ```\n- Removing a precheck through routine replacement stays silent; direct precheck or timeout leaf edits, including unset, still ask. Non-primary and unknown-origin routine writes raise the native prompt.\n- **Chat scope.** A routine's optional `chat` (`\u003CsourceKey>:\u003Cchat_id>`) is the chat that owns it. On a channel turn, list only\n  the routines whose `chat` is the asking chat, keeping their table numbers; edit, remove, enable and disable accept only a\n  number from that listing, and the settings gate asks for any write to a routine the asking chat does not own. The terminal, the maintainer chat and a technical-profile operator's home chat see every\n  routine, with each one's `chat` (or `home`) shown beside its status.\n- Every write below names **one entry** — `routines.\u003Cindex>`, 0-based, so table number − 1. Never write the\n  whole `routines` array: the settings gate reads the value of a container write, and a value it cannot parse\n  (`$(cat …)`, a heredoc, a shell variable) raises the native permission prompt even when nothing is gated.\n  Entry JSON goes inline, single-quoted, in the command itself.\n- **Indices are only valid until the next add or remove.** An add appends and a remove closes the gap, so the\n  numbers from the listing above are stale the moment either lands. Re-run `get routines` and re-show the\n  table after every add and every remove, and derive the next index from that fresh listing — a stale index\n  is an in-range write that silently replaces or edits the wrong routine, with nothing to refuse it.\n- Ask what to do next: add \u002F edit \u002F remove \u002F enable \u002F disable \u002F done.\n- **Add wizard:** ask for:\n  - ID (unique name, e.g., \"weekly-deps\")\n  - Schedule — offer common presets, or accept raw 5-field cron:\n    - Daily at 08:30 → `30 8 * * *`\n    - Weekdays at 09:00 → `0 9 * * 1-5`\n    - Sundays at 23:00 → `0 23 * * 0`\n    - Every 15 minutes → `*\u002F15 * * * *`\n    - 1st and 15th of month at 10:00 → `0 10 1,15 * *`\n    - Custom → operator types raw cron\n  - Skill to run (full slash-command name, e.g. `hermitd:brief` for plugin skills, `ha-refresh-context` for local project skills)\n    - Use only an installed skill; never add a free-text routine prompt. For a weekly chat-rules review, use `hermitd:role-review`.\n    - If a channel-turn routine request has no installed skill, explain plainly that it cannot be scheduled yet. File a capability proposal via `\u002Fhermitd:proposal-create`, using its **For a new skill** path with `Evidence Source: operator-request` for triage and `Source: operator-request` for creation, plus `Evidence Origin: external-content` when the sender is not a primary operator (channel-responder §1c). Do not create the skill or routine in this wizard.\n  - Enabled (yes\u002Fno, default yes)\n  - On every channel turn, including the home chat and any configured channel, add\n    `\"chat\": \"\u003CsourceKey>:\u003Cchat_id>\"` for the asking chat. Reply-tool skills can reach it; script notices need\n    a direct sender or `send_script`. Non-primary routine writes raise the native permission prompt.\n    For a primary sender, binding a new routine here keeps the existing checks; any other `chat` value raises\n    the native permission prompt.\n  - Append it with `set routines.\u003Ccount> '\u003Centry as JSON>'`, where `\u003Ccount>` is the number of routines in the\n    latest listing (the first free index). A duplicate id is only a warning, so check the id against the\n    listed ones before writing; an invalid cron is refused by the script — relay its error rather than\n    retrying.\n- **Edit:** select by number, then `set routines.\u003Cindex>.\u003Cfield> \u003Cvalue>` (one call per changed field; siblings are preserved).\n- **Remove:** select by number, then `unset routines.\u003Cindex>` — one call, and the remaining entries close the gap.\n- **Enable\u002Fdisable:** select by number, `set routines.\u003Cindex>.enabled true|false`.\n- Loop until operator says \"done\".\n- **After all edits are written**, invoke `\u002Fhermitd:hermit-routines load` via the Skill tool to apply the new schedule live (no restart). Surface the result inline:\n  - Success: \"Routines reloaded: \u003Cid1>, \u003Cid2> (\u003CN> total). Active immediately.\"\n  - Failure: \"Settings saved to config.json, but `\u002Fhermitd:hermit-routines load` failed: \u003Creason>. Run `\u002Fhermitd:hermit-routines load` manually to apply.\"\n\n**If argument is \"env\":**\n- Show current `env` values from config.json in a table:\n  ```\n  Environment Variables (config.json env → resident launch overlay)\n\n    CLAUDE_AUTOCOMPACT_PCT_OVERRIDE              65\n    MAX_THINKING_TOKENS                          10000\n    CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES 1\n\n  Hook profile (process-scoped, not written to settings.local.json)\n\n    AGENT_HOOK_PROFILE              (unset → strict on an always-on launch)\n  ```\n- **Protected keys** that cannot be changed via this command: `AGENT_HOOK_PROFILE`. If the operator tries to set one, respond: \"The hook profile is resolved at boot: unset means strict for an always-on launch and standard for an interactive one, and an ambient value in the launch environment outranks config. To pin it, edit `config.json` `env` directly; the boot script validates it and floors an always-on launch at standard on the next start.\"\n- Ask for an env var to set, change, or remove (forms: `\u003CKEY> \u003CVALUE>`, `remove \u003CKEY>`, or `done`; default done).\n- Loop until operator says \"done\", \"skip\", or presses Enter:\n  - If input targets a protected key: reject with the message above\n  - If input is `remove \u003CKEY>`: `unset env.\u003CKEY>`\n  - If input is `\u003CKEY> \u003CVALUE>`: `set env.\u003CKEY> '\"\u003CVALUE>\"'` — env values must stay **strings**, and `set` JSON-parses its argument, so a bare `20000` would land as a number and reach the launch overlay as one.\n- Note: \"Env changes reach the session through the launch overlay at the next `hermitd-start`. Restart the hermit to apply them.\"\n\n**If argument is \"docker\":**\n- Show current `docker.packages` list:\n  ```\n  Docker Packages (config.json docker.packages → Dockerfile.hermit)\n\n    build-essential\n    ffmpeg\n\n  (or \"No packages configured\" if empty)\n  ```\n- Ask whether to add or remove packages. Validate added names against `^[a-z0-9][a-z0-9+\\-.]+$`, deduplicate, and preserve the rest of the list. Apply the complete array with `settings-edit set docker.packages '\u003CJSON array>'`; complete the protected-path native permission request. Removing a package drops only that name.\n- Tell the operator: \"Rebuild on the host with `hermitd restart --build` (from stopped, `hermitd start --build`). The wrapper renders from the current package list before building.\"\n\n- Then show current `docker.recommended_plugins`:\n  ```\n  Recommended Plugins (config.json docker.recommended_plugins)\n\n    [enabled]  context7 (claude-plugins-official) — auto-installed on boot\n    [enabled]  hermitd-homeassistant (hermitd-homeassistant) — auto-installed on boot\n\n  (or \"No recommended plugins configured\" if empty)\n  ```\n  Display each entry as `[enabled\u002Fdisabled]  \u003Cplugin> (\u003Cmarketplace>)` — show the `org\u002Frepo` (the `marketplace` field) in parens.\n- Ask: \"Enable, disable, add, or remove recommended plugins? (e.g., 'enable context7', 'add context7', 'add superpowers obra\u002Fsuperpowers-marketplace', 'remove superpowers', or 'done') [done]\"\n- Loop until operator says \"done\", \"skip\", or presses Enter:\n  - `enable \u003CPLUGIN>`: `set docker.recommended_plugins.\u003Cindex>.enabled true`\n  - `disable \u003CPLUGIN>`: `set docker.recommended_plugins.\u003Cindex>.enabled false`\n  - `remove \u003CPLUGIN>`: read the list, drop that entry, `set docker.recommended_plugins '\u003Cremaining array>'`\n  - `add \u003CPLUGIN> [\u003CMARKETPLACE>]`: append an entry with `scope: \"project\"`, `enabled: true` and write the whole list back with `set docker.recommended_plugins '\u003Carray>'`. `\u003CMARKETPLACE>` is an `org\u002Frepo` (e.g. `obra\u002Fsuperpowers-marketplace`) or omitted (defaults to `anthropics\u002Fclaude-plugins-official`). The marketplace need not be registered locally: the container entrypoint adds it on first boot. **Dedupe rule:** refuse the add if an existing entry has the same `(plugin, marketplace)` pair (scope is NOT part of the key) — operator should `enable` or `remove` first.\n  - If input is just a plugin name without a verb: treat as `enable` if it exists, `add` if it doesn't\n- After changes, note: \"Restart container to install new plugins: `hermitd restart`\"\n\n**If argument is \"scheduled-checks\":**\n- Read `state\u002Freflection-state.json` for last run dates. If missing, show \"(no runs yet)\".\n- List only `scheduled_checks` entries with `trigger: \"session\"`, under \"Session checks\", showing ID, plugin, last run, and enabled status. If empty, show \"No session checks configured\".\n- Ask: \"Enable, disable, add, remove, or done? (e.g., 'disable my-check', 'add my-check my-plugin \u002Fmy-plugin:my-skill session') [done]\"\n- Loop until the operator says \"done\", \"skip\", or presses Enter:\n  - `enable \u003Cid>` \u002F `disable \u003Cid>`: for a session entry, `set scheduled_checks.\u003Cindex>.enabled true|false`. Use its original config-array index, not the filtered display index.\n  - `add \u003Cid> \u003Cplugin> \u003Cskill> session`: append a session-triggered entry with `enabled: true`, then `set scheduled_checks '\u003Cwhole array>'`. Deduplicate by id across the whole array.\n  - `remove \u003Cid>`: remove the session entry and `set scheduled_checks '\u003Cremaining array>'`, then remove its state from `state\u002Freflection-state.json`.\n  - Refuse interval additions or cadence edits: periodic checks belong in `routines`. Point the operator to `\u002Fhermitd:hermit-settings routines`.\n- Preserve other entries and custom keys when writing the array. Session checks run at task completion; changes take effect on the next task completion.\n\n**If argument is \"quality-gate\":**\n\n**Interactive (terminal) turn:** Ask the operator via `AskUserQuestion` to pick a tier. Show the current value in brackets if `quality_gate.tier` is set.\n\nPrompt: *\"Quality-gate tier for accepted-proposal auto-implementations. Controls whether `\u002Fsimplify` (cleanup pass) runs at step (e.5) of [the shared apply procedure](..\u002Fproposal-create\u002Fapply.md).\"*\n\nOptions:\n- **Budget** (default; recommended): `\u002Fsimplify` never runs. Cheapest. No post-implementation cleanup.\n- **Balanced**: make an inline RUN\u002FSKIP decision on each implementation from the proposal category and touched files (no subagent) — RUN triggers `\u002Fsimplify`, SKIP doesn't. Costs one `\u002Fsimplify` run when the decision is RUN.\n- **Quality**: `\u002Fsimplify` runs on every implementation, no judgment. One `\u002Fsimplify` run per implementation.\n\nRun `settings-edit ... set quality_gate.tier \u003Cchosen>` (creates the `quality_gate` object if missing; a legacy `enabled` sibling is preserved untouched — skill behavior reads `tier` only).\n\n**Channel-tagged turn:** send the same prompt via the channel reply tool with the three tiers numbered (Budget\u002FBalanced\u002FQuality, same descriptions as above), AND queue a pending task input decision per [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md), using purpose input and admin authority: `options: [\"budget\", \"balanced\", \"quality\"]`, `authority: admin`, `decision.resume: \"\u002Fhermitd:hermit-settings quality-gate --answer {answer}\"`. If invoked as `quality-gate --answer \u003Ctier>` (channel-responder resolving that entry), skip the ask and run `settings-edit ... set quality_gate.tier \u003Ctier>` directly, then confirm via channel.\n\nNote: if you commit autonomous-implementation diffs through a skill that already runs `\u002Fsimplify` before committing, consider **Budget** — any non-Budget tier here would run the cleanup pass twice per committed implementation.\n\n**If argument is \"history\":**\nRun `settings-edit ... history [dotted.path] [--limit N]` (the operator may name a setting: \"history heartbeat\"). Relay the rows in the operator's language, naming who made each change — `settings-edit` is an operator edit, `hermit-evolve` a change an upgrade made, `evolve-finalize` an upgrade's version stamp alone, `channel-hook` a channel the hermit learned, `hermitd-start`\u002F`hermitd-stop` a boot flip, `heartbeat-edit` a checklist edit made from chat (hash and line count, never the text). In a channel reply, drop the dotted paths and script names for plain language (\"the heartbeat interval went from 2h to 30m on the 18th\"). An empty ledger means nothing has changed since the audit trail started, not that the setting is unset.\n\n**If argument is \"artifact-authorization\":**\nThis records a decision only — it never runs `apply-settings.ts` and never touches a settings file from this session. A channel reply may only flip hermit config, never permissions (auto-mode classifier invariant); the actual grant is applied by `hermitd-start`'s boot-time `applyArtifactGrant`, outside any session.\nAsk: \"This hermit publishes status\u002Fproposal\u002Fweekly-review pages via Claude Code's Artifact tool. Unattended sessions can't answer a permission prompt, so authorize publishes now, or bank the first publish of each enabled page yourself instead?\n  1. Authorize — grant applied automatically at next boot\n  2. Bank first publishes — you publish the first version of each page now; refreshes then reuse the same URL\n[current: \u003Cartifacts.publish_authorized value>]\"\nOn answer \"Authorize\" (or \"on\"\u002F\"yes\"): run `settings-edit ... set artifacts.publish_authorized true`. Reply: \"Recorded: artifact publish authorized. The grant (permissions.allow `Artifact`) is applied automatically at next boot — `hermitd stop` then `hermitd-start` to apply now. No settings files were modified from this session.\"\nOn answer \"Bank first publishes\" (or \"off\"\u002F\"no\"\u002F\"decline\"): run `settings-edit ... set artifacts.publish_authorized false`. Reply: \"Recorded: publishing declined. The standing permission is removed at the next boot from every settings file this install wrote it to, not from this session. An undecided (`null`) flag leaves an existing entry alone. First publish of each enabled page must happen in an attended session (`docs\u002Fartifacts.md` § refresh procedure); refreshes then reuse the same URL without prompting.\"\n**Channel-tagged turn:** send the same prompt via the channel reply tool with the two options numbered, AND queue a pending task input decision per [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md), using purpose input and admin authority: `options: [\"authorize\", \"bank first publishes\"]`, `authority: admin`, `decision.resume: \"\u002Fhermitd:hermit-settings artifact-authorization --answer {answer}\"`. Note in the message that \"Bank first publishes\" still needs a terminal session later to do the banking itself — only the decision travels over the channel.\n**Channel re-entry:** if invoked as `artifact-authorization --answer \"\u003Clabel>\"` (channel-responder resolving a task input decision opened by `hermit-evolve`'s Step 10 deferred-migration relay), skip the Ask above and match `\u003Clabel>` case-insensitively by prefix against `Authorize` \u002F `Bank first publishes`, then run the matching `settings-edit` command and reply exactly as above. This branch is deliberately channel-reachable — the flag is a decision record, not a permission — so it does not raise the native prompt the rest of `artifacts.*` policy sits behind.\n\n### 3. Write config\n\nEvery branch persists through `settings-edit` verbs — `apply-known` for the registry table, `set`\u002F`unset`\u002F`toggle` everywhere else (arrays and objects are expressible: the value is JSON-parsed). Nothing in this skill edits `config.json` with the Edit\u002FWrite tools: the script preserves siblings, refuses a change that would leave the config invalid, and records every mutation in the audit ledger. If a verb refuses a write, relay its error to the operator instead of falling back to a direct edit.\n\nConfirm the change to the operator.\n","# Hermit Settings\n\nView or modify the hermit configuration for this project.\n\n## Commands\n- `artifact-render`: `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fartifact.ts render \u003Ctype> .hermit`\n- `channel-group-add`: `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fchannel-access.ts \"\u003Chermit_state_dir>\" group-add`\n\n## Step 0 — Channel reply\n\nIf this skill was invoked from a channel-arrived message (the inbound prompt contains a `\u003Cchannel source=\"...\">` tag), reply via that channel's reply tool. Otherwise emit to conversation.\n\nEveryday settings apply through `settings-edit`. A static list in `scripts\u002Fsettings-gate.ts` protects trust, disclosure, credentials, executable configuration, and existing guarded settings with Claude Code's native permission prompt. Protected writes ask in either direction. Parent replacements ask only when protected content changes; routine containers keep their existing precheck comparison. A No is the operator's answer: never retry or route around it, and never edit `config.json` directly. The channel plugin delivers the prompt to the operator's DM or the terminal pane.\n\nOn a channel-tagged turn, every free-form `Ask:` prompt below is delivered via the reply tool instead of waiting on terminal input — the branch proceeds as an over-channel exchange (ask, then act on the reply when it arrives), the same as any other channel conversation. **Never call `AskUserQuestion` on a channel-tagged turn** — it renders in the terminal, invisible to a remote operator. The one bounded ask in this skill (`quality-gate`, below) additionally queues a durable task input decision per `channel-responder` § Channel-safe ask bridge (schema: [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md)), so it survives compaction or a session restart; any free-form question that outlives the exchange also belongs to a task.\n\n## Usage\n\n```\n\u002Fhermitd:hermit-settings              — show all current settings\n\u002Fhermitd:hermit-settings name          — set agent name\n\u002Fhermitd:hermit-settings language       — set preferred language\n\u002Fhermitd:hermit-settings messages       : reword a fixed notice (watchdog, status, budget, login)\n\u002Fhermitd:hermit-settings rules          : view or change approval rules\n\u002Fhermitd:hermit-settings voice          : edit how the hermit talks (style: everyday; custom prose: native permission prompt)\n\u002Fhermitd:hermit-settings timezone       — set timezone\n\u002Fhermitd:hermit-settings escalation     — set escalation threshold\n\u002Fhermitd:hermit-settings channels       — configure channels\n\u002Fhermitd:hermit-settings remote          — toggle remote control\n\u002Fhermitd:hermit-settings model           — set Claude model\n\u002Fhermitd:hermit-settings brief          — configure morning brief\n\u002Fhermitd:hermit-settings permissions    — configure unattended mode\n\u002Fhermitd:hermit-settings heartbeat      — enable\u002Fdisable, interval, quiet mode, active hours\n\u002Fhermitd:hermit-settings watchdog       — scheduler_enabled, enable\u002Fdisable, stale_factor, wedge_floor, escalate_after, operator_grace, context hygiene compaction\n\u002Fhermitd:hermit-settings routines        — manage scheduled routines (add\u002Fedit\u002Fremove\u002Fenable\u002Fdisable)\n\u002Fhermitd:hermit-settings env              — view\u002Fedit environment variables\n\u002Fhermitd:hermit-settings docker           — add\u002Fremove Docker packages; edit recommended plugins\n\u002Fhermitd:hermit-settings scheduled-checks    — manage scheduled plugin skill checks\n\u002Fhermitd:hermit-settings boot-skill       — view\u002Fclear\u002Fchange the operator’s replacement startup skill\n\u002Fhermitd:hermit-settings quality-gate     — set post-implementation \u002Fsimplify gate tier (budget|balanced|quality)\n\u002Fhermitd:hermit-settings skills-learning: enable or disable close-time skill learning\n\u002Fhermitd:hermit-settings skills-notify: off, on, or verbose learning notifications\n\u002Fhermitd:hermit-settings reflection       — tune graduation threshold (graduation_min_sessions)\n\u002Fhermitd:hermit-settings push-notifications — toggle PushNotification doorbell (fires when no channel is enabled or a configured channel is unreachable)\n\u002Fhermitd:hermit-settings artifact-dashboard — toggle the Hermit Dashboard artifact (single-URL status\u002Fwaiting\u002Fweekly-evolution page)\n\u002Fhermitd:hermit-settings artifact-weekly-review — toggle the Weekly-review artifact (stable-URL passthrough of the compiled weekly report)\n\u002Fhermitd:hermit-settings artifact-authorization — record the unattended Artifact publish decision (applied by hermitd-start at boot, not from this session)\n\u002Fhermitd:hermit-settings artifact-backend — where pages publish: `claude` (default), or the name of a connected MCP artifact server you registered yourself\n\u002Fhermitd:hermit-settings history [path] — recent recorded settings changes (who changed what, when)\n```\n\n## Plan\n\n### 1. Read config\n\nRead `.hermit\u002Fconfig.json`. If it doesn't exist, inform the operator: \"No config found — type `\u002Fhermitd:hatch` first, in a terminal or the Claude app.\"\n\nScalar and enum edits below are written through `scripts\u002Fsettings-edit.ts`, which read-modify-writes the whole config (preserving every sibling key) and refuses a malformed file. Shorthand used in this skill:\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json show                    # operator-facing summary of live values\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json get [dotted.path]      # dump whole config, or one value\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json set \u003Cdotted.path> \u003Cvalue>   # 'none'\u002F'clear' → null; value is JSON-parsed then falls back to raw string\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json toggle \u003Cdotted.path>       # boolean flip (absent → true)\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json unset \u003Cdotted.path>        # delete a key (siblings and parents untouched)\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json history [dotted.path] [--limit N]   # recent audited changes\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json record-file HEARTBEAT.md            # record checklist fingerprint\n```\n\n**Every write goes through these verbs — never edit `config.json` with Edit\u002FWrite.** The script preserves siblings, refuses a change that would make the config invalid, and records the change in the audit ledger that `history` reads. A hand-edit bypasses all three.\n\n### 2. Show or modify\n\n**If argument is \"rules\":**\nRead [rules.md](rules.md) and follow its approval-rule procedure.\n\n**If no argument** (or argument is \"all\"):\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json show\n```\n\nCompose the summary from its JSON: per area (`identity`, `operational`, `artifacts`), each `label`, `value` (absent: unset on a `nullable` row, else default), the `arg` that changes it (null: read-only) and when it `applies`; then each `stateful` section and its `arg`. Report only what it carries, never a remembered or example value.\n\n**Scalar and enum arguments — one table, one shape.**\n\nEach row is the same shape: ask the operator for a value, then write it with\n\n```bash\nbun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known \u003Cargument> \u003Cvalue>\n```\n\nPass the **argument name**, not the dotted path — the script looks the path up, coerces the value by kind, and refuses an out-of-enum value or an unknown argument with `status: refused` and a `detail` to relay (this matters: `settings-edit` writes through `fs`, so the `validate-config.ts` PostToolUse hook never sees the write and a bad value would otherwise land silently). On success relay the new `value` and when it `applies`. `none`\u002F`clear` maps to null wherever a row is marked nullable. Compose the prompt itself from the hint and the enum values.\n\n| Argument | Config path | Type | Values | Applies |\n|---|---|---|---|---|\n| `name` | `agent_name` | string, nullable | any; any string, or 'none' to clear | immediately |\n| `timezone` | `timezone` | string, nullable | any; IANA tz (UTC, Europe\u002FLisbon, America\u002FNew_York) | immediately |\n| `escalation` | `escalation` | enum | conservative \u002F balanced \u002F autonomous; how much it acts without asking | immediately |\n| `remote` | `remote` | boolean | yes \u002F no; connect from claude.ai\u002Fcode or phone | next hermitd-start |\n| `chrome` | `chrome` | boolean | yes \u002F no; use the operator's signed-in browser | next hermitd-start |\n| `browser` | `browser.enabled` | boolean | yes \u002F no; enable the hermit’s own browser | next hermitd restart (Docker: next hermitd update) |\n| `browser-default` | `browser.default` | enum | agent-browser \u002F chrome; agent-browser or chrome (requires chrome enabled) | immediately |\n| `transcription` | `transcription.enabled` | boolean | yes \u002F no; transcribe inbound voice notes | next voice note (Docker image: next hermitd update) |\n| `transcription-echo` | `transcription.echo` | boolean | yes \u002F no; echo transcripts in the same chat | next voice note |\n| `auth-mode` | `auth_mode` | enum, nullable | login \u002F token; login (claude.ai sign-in, renew ~monthly) or token (long-lived, renew yearly) | run \u002Frelogin to sign in with the new method |\n| `model` | `model` | string, nullable | any; model name passed straight to --model, or 'none' for the Claude Code default | next hermitd-start |\n| `boot-skill` | `boot_skill` | string, nullable | any; operator-selected replacement startup skill; core startup does not run first; 'none' restores \u002Fhermitd:resident-start | next hermitd-start |\n| `permissions` | `permission_mode` | enum | auto \u002F acceptEdits \u002F default \u002F plan \u002F dontAsk \u002F bypassPermissions; how much Claude Code asks before acting | next hermitd-start |\n| `push-notifications` | `push_notifications` | boolean | yes \u002F no; doorbell when no channel is reachable | immediately |\n| `skills-learning` | `skills.learning` | boolean | yes \u002F no; review reusable procedures at task close | immediately |\n| `skills-notify` | `skills.notify` | enum | off \u002F on \u002F verbose; off, on, or verbose close replies | immediately |\n| `reflection` | `reflection.graduation_min_sessions` | integer | any; distinct sessions before a pattern becomes a proposal candidate | next reflect run |\n| `artifact-dashboard` | `artifacts.dashboard` | boolean | yes \u002F no; status, proposal queue, weekly evolution | next refresh |\n| `artifact-weekly-review` | `artifacts.weekly_review` | boolean | yes \u002F no; the compiled weekly report at a stable URL | next refresh |\n| `artifact-backend` | `artifacts.backend` | string | any; 'claude', or the name of a connected MCP artifact server | next refresh |\n\nThe enum values, dotted paths, and \"applies\" notes come from `scripts\u002Flib\u002Fsettings\u002Fregistry.ts`, the same module `show` reads and `validate-config.ts` shares its enums with. When a setting is added, add the row there; this table mirrors it.\n\n**`model` takes whatever Claude Code takes.** The stored value is passed verbatim to `--model` by `hermitd-start.ts`, so no model list lives here. Offer the operator the aliases Claude Code itself accepts (`opus`, `sonnet`, `haiku`) or a full model ID, and pass it through.\n\n**Permission-mode note (surface when the operator picks one):** `auto` is classifier-reviewed autonomy and the default; `acceptEdits` auto-approves file edits but prompts for shell; `default` prompts on first use of each tool; `plan` is read-only; `dontAsk` denies anything not in `permissions.allow`; `bypassPermissions` is for isolated containers only. `auto` may report unavailable depending on plan\u002Fmodel\u002Fprovider — see [Permission Modes](https:\u002F\u002Fcode.claude.com\u002Fdocs\u002Fen\u002Fpermission-modes).\n\nThe remaining arguments each do more than write one leaf, so they keep their own procedure below.\n\n**If argument is \"language\":**\nAuto-detect the system locale via Bash as a default suggestion.\nAsk for the preferred language (e.g. pt, en, es, fr), offering the current value or the detected locale as default.\nRun `settings-edit ... set language \u003Cvalue>`.\nThen re-sync the two fixed-text tables: the dashboard\u002Fproposals chrome (`.hermit\u002Fstate\u002Fartifact-strings.json`) and the script notices sent to the channel (`.hermit\u002Fstate\u002Fmessages.json`). Both fall back to English per key.\n- New value is **not** `en`:\n  1. Emit `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fartifact.ts scaffold-strings \u003Cvalue> \u003Ccurrent-ISO-timestamp>`, translate every `strings` value, and write `.hermit\u002Fstate\u002Fartifact-strings.json`.\n  2. Emit `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts scaffold .hermit \u003Cvalue>`, translate each `todo` entry's `en` text (its `note` gives context), write `.hermit\u002Fstate\u002Fmessages-draft.json` as `{\"language\":\"\u003Cvalue>\",\"locale\":\"\u003CBCP 47 tag>\",\"strings\":{\"\u003Ckey>\":\"\u003Ctranslation>\"}}`, and run `messages.ts apply .hermit`. Translate again any key it returns under `rejected`.\n\n  In both, keep keys and `{placeholder}` tokens verbatim.\n- New value is `en`: delete `.hermit\u002Fstate\u002Fartifact-strings.json` if it exists, and run `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts clear .hermit`.\n- Custom wordings are written in the language they were set in. When `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts status .hermit` lists any under `overrides`, ask whether to keep them or drop them (`messages.ts reset .hermit --all`).\n\n**If argument is \"messages\":**\nEvery `set` or `reset` change needs an approver's Yes in the native permission prompt. On No, stop; never retry or route around it.\nThe fixed notices scripts send to the channel (watchdog, status reply, budget, denial and login messages) can be reworded per message. `bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fmessages.ts list .hermit` gives every key with its English text and any custom wording. Pick the key the operator means, write the new wording in their language, and run `messages.ts set .hermit \u003Ckey> \"\u003Ctext>\"`. A `placeholder_mismatch` reply names the `{placeholder}` tokens the text must keep (they carry times, commands and the `reauth` word the login flow listens for); rewrite and set again. `messages.ts reset .hermit \u003Ckey>` restores the default. Custom wordings survive upgrades and retranslation; doctor's `message-catalog` check names any an upgrade made unusable.\n\n**If argument is \"voice\":**\nThe hermit's tone lives in a native Claude Code output style, loaded into the system prompt at session start. `config.json`'s `voice` block is what you own; the `outputStyle` key and, for a custom voice, `.claude\u002Foutput-styles\u002Fhermit-voice.md` are rendered from it — at boot, and immediately when this runs in a terminal.\n\nPicking a built-in is an everyday setting (three sealed values, no text). Writing custom prose raises the native permission prompt: it becomes every future session's system prompt. Both go through `settings-edit`. A No is the operator's answer: never retry or route around it.\n\n- Show the current value first: `settings-edit ... get voice`. If it is unset, say so plainly and add what is actually persisted (`\u002Fhermit-doctor`'s `voice-carrier` line reports that, across every scope) — a style the operator picked in `\u002Fconfig` themselves is theirs, and this command would take the key over.\n- Ask: \"How should I talk to you? (Default \u002F Concise \u002F describe it in your own words)\". Describe Concise as it behaves — leads with the result, skips narration, keeps error and security detail in full.\n- **Default \u002F Concise** →\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known voice \u003Cdefault|Concise>\n  ```\n\n  `default` is lowercase; the `\u002Fconfig` picker displays \"Default\" but persists the lowercase literal. Neither writes a file. If a `hermit-voice.md` exists it stays on disk, inert — switching back is one command.\n- **Their own words** → write the prose first, then the style (the reverse order is refused — `custom` without prose is invalid):\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json set voice.prose '\"\u003Ctheir words>\"'\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fsettings-edit.ts .hermit\u002Fconfig.json apply-known voice custom\n  ```\n\n  Use their wording verbatim, or with only mechanical wrapping into instructions-to-yourself form. Keep it about tone, not work context (that's `OPERATOR.md`), and keep it short — it costs tokens on every API call. When editing an existing custom voice, show the current `voice.prose` and edit that text, not the rendered file.\n- **Anything else they name** (`Explanatory`, `Learning`, a style of their own): the hermit doesn't render those. Say so and point at `\u002Fconfig`, which sets `outputStyle` directly — the hermit will report it and leave it alone.\n- **Then render it**, terminal turns only:\n\n  ```bash\n  bun ${CLAUDE_PLUGIN_ROOT}\u002Fscripts\u002Fapply-settings.ts .claude\u002Fsettings.local.json voice-render\n  ```\n\n  Local scope by design, whatever the hatch target: it is the scope `\u002Fconfig` writes and outranks committed settings, and the voice file is gitignored. The op refuses any other target. On a channel-tagged turn **don't run it** — say the change applies at the next restart, the same as an `env` change. Either way the config write already landed.\n- Tell the operator it takes effect in the next session — the system prompt is built at session start.\n- **Clearing the voice** (`apply-known voice none`) stops the hermit managing the key; it does not undo the last render. Say so: the current style stays until they pick another one here or in `\u002Fconfig`.\n- The voice file is a render of `config.json`, so a hand-edit is overwritten at the next boot. If they want to edit prose directly, that is `voice.prose`.\n\n**If argument is \"channels\":**\nShow current channel configuration from `config.json` → `channels` object. The `channels.primary` key (if set) is a magic pointer to the preferred outbound channel, not a channel itself — display it on its own line above the channel list:\n```\nChannels:\n  Primary: discord    (or \"none — falls back to first eligible channel in config order\")\n  discord  enabled  allowed_users: [123456789]  briefing chat: 987654321  morning_brief: 07:00  state_dir: \u002Fabs\u002Fpath\u002F...\n  (or \"No channels configured\")\n```\n\"briefing chat\" is `default_chat_id`, where unattended sends go; say \"not paired yet\" when the pin is empty.\nAsk what to do next, offering: add discord \u002F add telegram \u002F remove \u003Cname> \u002F edit \u003Cname> \u002F primary \u003Cname> \u002F primary clear \u002F done (default done).\nOffer `add \u003Cname>` only for a channel absent from `channels`.\nLoop until operator says \"done\":\n- **add \u003Cname>:** If the channel is already configured, point to `edit \u003Cname>` and write nothing. Otherwise prompt for `allowed_users` (paste user ID or skip) and `state_dir` (relative or absolute path, defaults to `.claude.local\u002Fchannels\u002F\u003Cname>`), then use `settings-edit set channels.\u003Cname> '{\"enabled\":true}'`, including `allowed_users` only when given and `state_dir` only when the operator supplied a non-default path. Do not include learned chat IDs or restate default paths. Channel enrollment raises Claude Code's native permission prompt. Note: \"Configure the channel token next: Docker → `\u002Fhermitd:docker-setup`; tmux or interactive → `\u002Fhermitd:channel-setup`. Type it in a terminal or the Claude app.\"\n- **remove \u003Cname>:** `unset channels.\u003Cname>`. If `channels.primary === \u003Cname>`, run `unset channels.primary` **first** (a dangling pointer fails validation and the write would be refused) and tell the operator: \"Also cleared `channels.primary` (was pointing at the removed channel).\"\n- **edit \u003Cname>:** Sub-menu: \"What to change? (allowed_users \u002F briefing_chat \u002F morning_brief \u002F enabled \u002F recall \u002F operators \u002F instructions \u002F format \u002F record \u002F group \u002F done)\"\n  - **allowed_users:** \"Paste user IDs (space-separated), or 'clear' to allow everyone, or 'block' for empty array.\" → `set channels.\u003Cname>.allowed_users '[\"id\",...]'` (clear ⇒ `unset channels.\u003Cname>.allowed_users`). Channel enrollment raises the native permission prompt.\n  - **briefing_chat:** `channels.\u003Cname>.default_chat_id` — the destination for unattended sends (briefings, notices, weekly review) and, on a channel with no `allowed_users`, the chat trusted for pause\u002Fresume\u002Fstatus. Seeded once at first pairing and never moved by an inbound message, so it takes an explicit change here. This write raises the native permission prompt. Ask: \"Paste the chat\u002Fchannel ID that should receive briefings (current: `\u003Cvalue>`).\" ID discovery is the same as for a group chat — Discord: Developer Mode → right-click the chat → Copy Channel ID; Telegram: forward a message from it to `@userinfobot` (group IDs are negative integers). Write it as `set channels.\u003Cname>.default_chat_id '\"\u003Cvalue>\"'` — the value must stay a **string**, and `set` JSON-parses its argument, so an unquoted chat ID lands as a number and the write is refused; clear it with `set channels.\u003Cname>.default_chat_id none`. Reject a value equal to that channel's `maintainer_channel_id` yourself before writing (outbound-only chat — see `docs\u002Fsecurity.md` § tiered disclosure): that collision only warns, so the write would go through.\n  - **morning_brief:** \"Enable morning brief for this channel? (yes \u003Ctime> \u002F no) [current]\". Yes ⇒ `set channels.\u003Cname>.morning_brief '{\"enabled\":true,\"time\":\"\u003CHH:MM>\"}'`; no ⇒ `set channels.\u003Cname>.morning_brief none`.\n  - **enabled:** `toggle channels.\u003Cname>.enabled`.\n  - **recall:** \"Isolate chats? (yes \u002F no)\" Yes: `unset channels.\u003Cname>.isolate_chats`; no: `set channels.\u003Cname>.isolate_chats false`. \"Chat IDs to share with every chat on every channel, or none?\" IDs: `set channels.\u003Cname>.shared_chats '[\"id\",...]'`; none: `unset channels.\u003Cname>.shared_chats`. Reject an id equal to that channel's `maintainer_channel_id` yourself before writing (outbound-only chat — see `docs\u002Fsecurity.md` § tiered disclosure): that collision only warns, so the write would go through and every chat could then recall maintainer-tier messages. Channel enrollment raises the native permission prompt.\n  - **operators:** \"Paste primary operator user IDs, or clear to restore the default.\" IDs: `set channels.\u003Cname>.operators '[\"id\",...]'`; clear: `unset channels.\u003Cname>.operators`. Channel enrollment raises the native permission prompt.\n  - **instructions:** Show current entries with `settings-edit … get channels.\u003Cname>.instructions`. Add or replace with `set channels.\u003Cname>.instructions.\u003Cn> '{\"chat_id\":\"\u003Cid>\",\"text\":\"\u003Ctext>\"}'` (append at index = length); when the key is absent, create it with `set channels.\u003Cname>.instructions '[{\"chat_id\":\"\u003Cid>\",\"text\":\"\u003Ctext>\"}]'`. Remove with `unset channels.\u003Cname>.instructions.\u003Cn>`. Each chat ID must be unique and nonempty; text must be nonempty and at most 2,000 characters, with line breaks written as `\\n` inside the JSON. Escape `'` in text as `'\\''` so the approval label shows the whole value. Every write raises the native permission prompt. These instructions take precedence over memory roles in that chat and apply live.\n  - **format:** Offer discord \u002F telegram \u002F signal \u002F matrix \u002F mattermost \u002F sms \u002F bluebubbles \u002F line \u002F irc \u002F email \u002F ntfy \u002F slack \u002F google_chat \u002F whatsapp \u002F passthrough. Write `set channels.\u003Cname>.format \u003Cvalue>`; clear with `unset channels.\u003Cname>.format` to infer built-in Discord or Telegram formatting. This protected setting raises the native permission prompt.\n  - **record:** \"Record this channel? (yes \u002F no \u002F inherit)\" Yes: `set channels.\u003Cname>.log_chats true`; no: `set channels.\u003Cname>.log_chats false`; inherit: `unset channels.\u003Cname>.log_chats`.\n  - **group:** Run [the group questionnaire](..\u002Fchannel-setup\u002Freferences\u002Fgroup-enrollment.md) with the selected channel key, absolute Hermit state directory, and channel-reply delivery on a channel-tagged turn (native prompts otherwise). Relay its result. Pairing and enrolment are refused in bypass mode; pair or enrol from a normal terminal session. Never route a refusal through another writer.\n\n\n- **primary \u003Cname>:** Validate `\u003Cname>` exists as a key in `channels` (and is not `primary` itself). If valid, `set channels.primary \u003Cname>`. If invalid, reject: \"No channel named `\u003Cname>` configured. Add it first with `add \u003Cname>`.\"\n- **primary clear:** `unset channels.primary`. Outbound sends will fall back to the default `discord` → `telegram` → `imessage` order.\nNote: \"Channel changes take effect on next `hermitd-start` run. `channels.primary` and `default_chat_id` are consulted live by `scripts\u002Fresolve-outbound-channel.ts` on every proactive send — no restart needed for those keys.\"\n\n**If argument is \"brief\":**\n- If no channels configured: \"Morning brief requires channels. Configure channels first with `\u002Fhermitd:hermit-settings channels`.\"\n- If channels configured:\n  - Show current morning_brief setting per channel: `channels.\u003Cname>.morning_brief`\n  - Ask: \"Enable morning brief delivery? (yes \u002F no) [current value]\"\n  - If yes: Ask \"What time? (e.g., 07:00) [current or 07:00]\" and \"Which channel? [current or first enabled channel]\"\n  - Yes ⇒ `set channels.\u003Cselected-channel>.morning_brief '{\"enabled\":true,\"time\":\"\u003CHH:MM>\"}'`; no ⇒ `set channels.\u003Cselected-channel>.morning_brief none`.\n\n**If argument is \"heartbeat\":**\n- Show current heartbeat config (including `stale_threshold`)\n- Ask whether the background heartbeat should be enabled (yes \u002F no, default the current value).\n- If yes: show the configurable sub-fields before asking each one:\n  ```\n  Heartbeat sub-fields (press Enter to keep current value):\n    interval  — how often to check (e.g. 5m, 15m, 30m)         [current]\n    active    — active hours window (e.g. 08:00-23:00)          [current]\n    stale     — alert if no session progress for (e.g. 2h, 30m) [current]\n  ```\n  Then ask each field in sequence.\n- Write each changed field through `settings-edit ... set heartbeat.\u003Cfield> \u003Cvalue>` (`heartbeat.enabled`, `heartbeat.every`, `heartbeat.active_hours.start`, `heartbeat.active_hours.end`, `heartbeat.stale_threshold`). Per-field dotted sets preserve the untouched siblings (`waiting_timeout`, `clean_recheck_cooldown`, `model`, `effort`).\n- **After the change is written**, reconcile the live Monitor with the new state via the Skill tool. The monitor's poll interval is baked in at `start` time from `heartbeat.every`, so a config-only change otherwise leaves the running monitor on the old cadence (and `\u002Fhermit-doctor` would flag the mismatch). Surface the result inline:\n  - If heartbeat is now **enabled**: invoke `\u002Fhermitd:heartbeat start` (idempotent — stops the old monitor and re-registers at the new interval). Success: \"Heartbeat monitor restarted at new interval (`\u003Cevery>`). Active immediately.\"\n  - If heartbeat is now **disabled**: invoke `\u002Fhermitd:heartbeat stop`. Success: \"Heartbeat monitor stopped.\"\n  - Failure (either): \"Settings saved to config.json, but `\u002Fhermitd:heartbeat \u003Cstart|stop>` failed: \u003Creason>. Run it manually to apply.\"\n\n**If argument is \"watchdog\":**\n- Show current watchdog config from `config.json`:\n  ```\n  Watchdog (config.json watchdog)\n\n    scheduler_enabled      true\n    enabled                false\n    stale_factor           2\n    wedge_floor            4h\n    escalate_after         3\n    operator_grace         15m\n\n  Context hygiene compact (config.json context_hygiene.compact)\n\n    enabled                true\n    min_context_tokens     100000\n    min_interval           4h\n  ```\n- Ask whether each always-on boot should register the OS scheduler (yes \u002F no, default the current `scheduler_enabled`, absent = yes), then whether watchdog restarts should be enabled (yes \u002F no, default the current `enabled`).\n- If yes: show the configurable sub-fields before asking each one:\n  ```\n  Watchdog sub-fields (press Enter to keep current value):\n    stale_factor           — missed-cycle tolerance multiplier (e.g. 2); effective\n                             threshold is max(stale_factor × heartbeat.every, wedge_floor) [current]\n    wedge_floor            — lower bound on that threshold, whatever the poll interval\n                             (e.g. 4h; lower it for faster detection, 0s = no floor)      [current]\n    escalate_after         — consecutive stale cycles before escalation (e.g. 3)          [current]\n    operator_grace         — silence window before alert fires (e.g. 15m, 1h)             [current]\n  ```\n  Then ask each field in sequence.\n- Write each changed field through `settings-edit ... set watchdog.\u003Cfield> \u003Cvalue>` (`watchdog.scheduler_enabled`, `watchdog.enabled`, `watchdog.stale_factor`, `watchdog.wedge_floor`, `watchdog.escalate_after`, `watchdog.operator_grace`). Per-field dotted sets preserve any untouched siblings. `set` JSON-parses its argument, so a bare `0` for `wedge_floor` would be written as a number and read back as the `4h` default — pass `0s` to disable the floor.\n  - Note: \"Changes take effect on the next watchdog run. `scheduler_enabled` (default true) is the OS-timer policy a tmux always-on boot reads: every `hermitd-start` registers the timer unless it is false. Setting it false by hand only stops future boots from re-registering — to remove a timer that is already installed run `hermitd watchdog uninstall`, which deletes the unit and sets both `scheduler_enabled` and `enabled` false. `hermitd watchdog install` re-registers it, and a first registration also sets `enabled: true`; a later re-install leaves `enabled` as you set it. Docker hermits run the watchdog from the entrypoint loop — no install step needed, and `scheduler_enabled` does not apply there.\"\n- **Context hygiene compact** (`context_hygiene.compact` — runs independently of the \"Enable watchdog?\" answer above): ask \"Enable routine-hygiene compaction? (yes \u002F no) [current: \u003Cvalue>]\". If yes, show the sub-fields:\n  ```\n  Context hygiene compact sub-fields (press Enter to keep current value):\n    min_context_tokens     — routine-hygiene \u002Fcompact when estimated compactible conversation exceeds this (e.g. 100000) [current]\n    min_interval           — minimum time between compacts, avoids summary-of-summary loss (e.g. 4h) [current]\n  ```\n  Then ask each field in sequence. Write each changed field through `settings-edit ... set context_hygiene.compact.\u003Cfield> \u003Cvalue>` (`context_hygiene.compact.enabled`, `context_hygiene.compact.min_context_tokens`, `context_hygiene.compact.min_interval`). No restart\u002Freconcile step needed — the watchdog reads config.json fresh on every scheduler tick.\n\n**If argument is \"routines\":**\n- Show current routines from `config.routines` array:\n  ```\n  Routines (config.json routines → routine monitor; CronCreate fallback where Monitor is unavailable):\n\n    #  ID           Schedule       Skill                                Status    Gate\n    1. morning      30 8 * * *     hermitd:brief --morning    enabled   —\n    2. evening      30 22 * * *    hermitd:brief --evening    enabled   —\n    3. reflect      0 9 * * *      hermitd:reflect            enabled   reflect\n    4. weekly-deps  0 9 * * 1      hermitd:task list  disabled  tools\u002Fdeps-gate.sh\n\n  (or \"No routines configured\" if empty)\n  Gate = the routine's `precheck`, run by the routine monitor before it wakes the session;\n  `—` means the routine always wakes it. Adding or changing one raises the native permission prompt.\n  ```\n- Removing a precheck through routine replacement stays silent; direct precheck or timeout leaf edits, including unset, still ask. Non-primary and unknown-origin routine writes raise the native prompt.\n- **Chat scope.** A routine's optional `chat` (`\u003CsourceKey>:\u003Cchat_id>`) is the chat that owns it. On a channel turn, list only\n  the routines whose `chat` is the asking chat, keeping their table numbers; edit, remove, enable and disable accept only a\n  number from that listing, and the settings gate asks for any write to a routine the asking chat does not own. The terminal, the maintainer chat and a technical-profile operator's home chat see every\n  routine, with each one's `chat` (or `home`) shown beside its status.\n- Every write below names **one entry** — `routines.\u003Cindex>`, 0-based, so table number − 1. Never write the\n  whole `routines` array: the settings gate reads the value of a container write, and a value it cannot parse\n  (`$(cat …)`, a heredoc, a shell variable) raises the native permission prompt even when nothing is gated.\n  Entry JSON goes inline, single-quoted, in the command itself.\n- **Indices are only valid until the next add or remove.** An add appends and a remove closes the gap, so the\n  numbers from the listing above are stale the moment either lands. Re-run `get routines` and re-show the\n  table after every add and every remove, and derive the next index from that fresh listing — a stale index\n  is an in-range write that silently replaces or edits the wrong routine, with nothing to refuse it.\n- Ask what to do next: add \u002F edit \u002F remove \u002F enable \u002F disable \u002F done.\n- **Add wizard:** ask for:\n  - ID (unique name, e.g., \"weekly-deps\")\n  - Schedule — offer common presets, or accept raw 5-field cron:\n    - Daily at 08:30 → `30 8 * * *`\n    - Weekdays at 09:00 → `0 9 * * 1-5`\n    - Sundays at 23:00 → `0 23 * * 0`\n    - Every 15 minutes → `*\u002F15 * * * *`\n    - 1st and 15th of month at 10:00 → `0 10 1,15 * *`\n    - Custom → operator types raw cron\n  - Skill to run (full slash-command name, e.g. `hermitd:brief` for plugin skills, `ha-refresh-context` for local project skills)\n    - Use only an installed skill; never add a free-text routine prompt. For a weekly chat-rules review, use `hermitd:role-review`.\n    - If a channel-turn routine request has no installed skill, explain plainly that it cannot be scheduled yet. File a capability proposal via `\u002Fhermitd:proposal-create`, using its **For a new skill** path with `Evidence Source: operator-request` for triage and `Source: operator-request` for creation, plus `Evidence Origin: external-content` when the sender is not a primary operator (channel-responder §1c). Do not create the skill or routine in this wizard.\n  - Enabled (yes\u002Fno, default yes)\n  - On every channel turn, including the home chat and any configured channel, add\n    `\"chat\": \"\u003CsourceKey>:\u003Cchat_id>\"` for the asking chat. Reply-tool skills can reach it; script notices need\n    a direct sender or `send_script`. Non-primary routine writes raise the native permission prompt.\n    For a primary sender, binding a new routine here keeps the existing checks; any other `chat` value raises\n    the native permission prompt.\n  - Append it with `set routines.\u003Ccount> '\u003Centry as JSON>'`, where `\u003Ccount>` is the number of routines in the\n    latest listing (the first free index). A duplicate id is only a warning, so check the id against the\n    listed ones before writing; an invalid cron is refused by the script — relay its error rather than\n    retrying.\n- **Edit:** select by number, then `set routines.\u003Cindex>.\u003Cfield> \u003Cvalue>` (one call per changed field; siblings are preserved).\n- **Remove:** select by number, then `unset routines.\u003Cindex>` — one call, and the remaining entries close the gap.\n- **Enable\u002Fdisable:** select by number, `set routines.\u003Cindex>.enabled true|false`.\n- Loop until operator says \"done\".\n- **After all edits are written**, invoke `\u002Fhermitd:hermit-routines load` via the Skill tool to apply the new schedule live (no restart). Surface the result inline:\n  - Success: \"Routines reloaded: \u003Cid1>, \u003Cid2> (\u003CN> total). Active immediately.\"\n  - Failure: \"Settings saved to config.json, but `\u002Fhermitd:hermit-routines load` failed: \u003Creason>. Run `\u002Fhermitd:hermit-routines load` manually to apply.\"\n\n**If argument is \"env\":**\n- Show current `env` values from config.json in a table:\n  ```\n  Environment Variables (config.json env → resident launch overlay)\n\n    CLAUDE_AUTOCOMPACT_PCT_OVERRIDE              65\n    MAX_THINKING_TOKENS                          10000\n    CLAUDE_CODE_DISABLE_AGENT_PROGRESS_SUMMARIES 1\n\n  Hook profile (process-scoped, not written to settings.local.json)\n\n    AGENT_HOOK_PROFILE              (unset → strict on an always-on launch)\n  ```\n- **Protected keys** that cannot be changed via this command: `AGENT_HOOK_PROFILE`. If the operator tries to set one, respond: \"The hook profile is resolved at boot: unset means strict for an always-on launch and standard for an interactive one, and an ambient value in the launch environment outranks config. To pin it, edit `config.json` `env` directly; the boot script validates it and floors an always-on launch at standard on the next start.\"\n- Ask for an env var to set, change, or remove (forms: `\u003CKEY> \u003CVALUE>`, `remove \u003CKEY>`, or `done`; default done).\n- Loop until operator says \"done\", \"skip\", or presses Enter:\n  - If input targets a protected key: reject with the message above\n  - If input is `remove \u003CKEY>`: `unset env.\u003CKEY>`\n  - If input is `\u003CKEY> \u003CVALUE>`: `set env.\u003CKEY> '\"\u003CVALUE>\"'` — env values must stay **strings**, and `set` JSON-parses its argument, so a bare `20000` would land as a number and reach the launch overlay as one.\n- Note: \"Env changes reach the session through the launch overlay at the next `hermitd-start`. Restart the hermit to apply them.\"\n\n**If argument is \"docker\":**\n- Show current `docker.packages` list:\n  ```\n  Docker Packages (config.json docker.packages → Dockerfile.hermit)\n\n    build-essential\n    ffmpeg\n\n  (or \"No packages configured\" if empty)\n  ```\n- Ask whether to add or remove packages. Validate added names against `^[a-z0-9][a-z0-9+\\-.]+$`, deduplicate, and preserve the rest of the list. Apply the complete array with `settings-edit set docker.packages '\u003CJSON array>'`; complete the protected-path native permission request. Removing a package drops only that name.\n- Tell the operator: \"Rebuild on the host with `hermitd restart --build` (from stopped, `hermitd start --build`). The wrapper renders from the current package list before building.\"\n\n- Then show current `docker.recommended_plugins`:\n  ```\n  Recommended Plugins (config.json docker.recommended_plugins)\n\n    [enabled]  context7 (claude-plugins-official) — auto-installed on boot\n    [enabled]  hermitd-homeassistant (hermitd-homeassistant) — auto-installed on boot\n\n  (or \"No recommended plugins configured\" if empty)\n  ```\n  Display each entry as `[enabled\u002Fdisabled]  \u003Cplugin> (\u003Cmarketplace>)` — show the `org\u002Frepo` (the `marketplace` field) in parens.\n- Ask: \"Enable, disable, add, or remove recommended plugins? (e.g., 'enable context7', 'add context7', 'add superpowers obra\u002Fsuperpowers-marketplace', 'remove superpowers', or 'done') [done]\"\n- Loop until operator says \"done\", \"skip\", or presses Enter:\n  - `enable \u003CPLUGIN>`: `set docker.recommended_plugins.\u003Cindex>.enabled true`\n  - `disable \u003CPLUGIN>`: `set docker.recommended_plugins.\u003Cindex>.enabled false`\n  - `remove \u003CPLUGIN>`: read the list, drop that entry, `set docker.recommended_plugins '\u003Cremaining array>'`\n  - `add \u003CPLUGIN> [\u003CMARKETPLACE>]`: append an entry with `scope: \"project\"`, `enabled: true` and write the whole list back with `set docker.recommended_plugins '\u003Carray>'`. `\u003CMARKETPLACE>` is an `org\u002Frepo` (e.g. `obra\u002Fsuperpowers-marketplace`) or omitted (defaults to `anthropics\u002Fclaude-plugins-official`). The marketplace need not be registered locally: the container entrypoint adds it on first boot. **Dedupe rule:** refuse the add if an existing entry has the same `(plugin, marketplace)` pair (scope is NOT part of the key) — operator should `enable` or `remove` first.\n  - If input is just a plugin name without a verb: treat as `enable` if it exists, `add` if it doesn't\n- After changes, note: \"Restart container to install new plugins: `hermitd restart`\"\n\n**If argument is \"scheduled-checks\":**\n- Read `state\u002Freflection-state.json` for last run dates. If missing, show \"(no runs yet)\".\n- List only `scheduled_checks` entries with `trigger: \"session\"`, under \"Session checks\", showing ID, plugin, last run, and enabled status. If empty, show \"No session checks configured\".\n- Ask: \"Enable, disable, add, remove, or done? (e.g., 'disable my-check', 'add my-check my-plugin \u002Fmy-plugin:my-skill session') [done]\"\n- Loop until the operator says \"done\", \"skip\", or presses Enter:\n  - `enable \u003Cid>` \u002F `disable \u003Cid>`: for a session entry, `set scheduled_checks.\u003Cindex>.enabled true|false`. Use its original config-array index, not the filtered display index.\n  - `add \u003Cid> \u003Cplugin> \u003Cskill> session`: append a session-triggered entry with `enabled: true`, then `set scheduled_checks '\u003Cwhole array>'`. Deduplicate by id across the whole array.\n  - `remove \u003Cid>`: remove the session entry and `set scheduled_checks '\u003Cremaining array>'`, then remove its state from `state\u002Freflection-state.json`.\n  - Refuse interval additions or cadence edits: periodic checks belong in `routines`. Point the operator to `\u002Fhermitd:hermit-settings routines`.\n- Preserve other entries and custom keys when writing the array. Session checks run at task completion; changes take effect on the next task completion.\n\n**If argument is \"quality-gate\":**\n\n**Interactive (terminal) turn:** Ask the operator via `AskUserQuestion` to pick a tier. Show the current value in brackets if `quality_gate.tier` is set.\n\nPrompt: *\"Quality-gate tier for accepted-proposal auto-implementations. Controls whether `\u002Fsimplify` (cleanup pass) runs at step (e.5) of [the shared apply procedure](..\u002Fproposal-create\u002Fapply.md).\"*\n\nOptions:\n- **Budget** (default; recommended): `\u002Fsimplify` never runs. Cheapest. No post-implementation cleanup.\n- **Balanced**: make an inline RUN\u002FSKIP decision on each implementation from the proposal category and touched files (no subagent) — RUN triggers `\u002Fsimplify`, SKIP doesn't. Costs one `\u002Fsimplify` run when the decision is RUN.\n- **Quality**: `\u002Fsimplify` runs on every implementation, no judgment. One `\u002Fsimplify` run per implementation.\n\nRun `settings-edit ... set quality_gate.tier \u003Cchosen>` (creates the `quality_gate` object if missing; a legacy `enabled` sibling is preserved untouched — skill behavior reads `tier` only).\n\n**Channel-tagged turn:** send the same prompt via the channel reply tool with the three tiers numbered (Budget\u002FBalanced\u002FQuality, same descriptions as above), AND queue a pending task input decision per [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md), using purpose input and admin authority: `options: [\"budget\", \"balanced\", \"quality\"]`, `authority: admin`, `decision.resume: \"\u002Fhermitd:hermit-settings quality-gate --answer {answer}\"`. If invoked as `quality-gate --answer \u003Ctier>` (channel-responder resolving that entry), skip the ask and run `settings-edit ... set quality_gate.tier \u003Ctier>` directly, then confirm via channel.\n\nNote: if you commit autonomous-implementation diffs through a skill that already runs `\u002Fsimplify` before committing, consider **Budget** — any non-Budget tier here would run the cleanup pass twice per committed implementation.\n\n**If argument is \"history\":**\nRun `settings-edit ... history [dotted.path] [--limit N]` (the operator may name a setting: \"history heartbeat\"). Relay the rows in the operator's language, naming who made each change — `settings-edit` is an operator edit, `hermit-evolve` a change an upgrade made, `evolve-finalize` an upgrade's version stamp alone, `channel-hook` a channel the hermit learned, `hermitd-start`\u002F`hermitd-stop` a boot flip, `heartbeat-edit` a checklist edit made from chat (hash and line count, never the text). In a channel reply, drop the dotted paths and script names for plain language (\"the heartbeat interval went from 2h to 30m on the 18th\"). An empty ledger means nothing has changed since the audit trail started, not that the setting is unset.\n\n**If argument is \"artifact-authorization\":**\nThis records a decision only — it never runs `apply-settings.ts` and never touches a settings file from this session. A channel reply may only flip hermit config, never permissions (auto-mode classifier invariant); the actual grant is applied by `hermitd-start`'s boot-time `applyArtifactGrant`, outside any session.\nAsk: \"This hermit publishes status\u002Fproposal\u002Fweekly-review pages via Claude Code's Artifact tool. Unattended sessions can't answer a permission prompt, so authorize publishes now, or bank the first publish of each enabled page yourself instead?\n  1. Authorize — grant applied automatically at next boot\n  2. Bank first publishes — you publish the first version of each page now; refreshes then reuse the same URL\n[current: \u003Cartifacts.publish_authorized value>]\"\nOn answer \"Authorize\" (or \"on\"\u002F\"yes\"): run `settings-edit ... set artifacts.publish_authorized true`. Reply: \"Recorded: artifact publish authorized. The grant (permissions.allow `Artifact`) is applied automatically at next boot — `hermitd stop` then `hermitd-start` to apply now. No settings files were modified from this session.\"\nOn answer \"Bank first publishes\" (or \"off\"\u002F\"no\"\u002F\"decline\"): run `settings-edit ... set artifacts.publish_authorized false`. Reply: \"Recorded: publishing declined. The standing permission is removed at the next boot from every settings file this install wrote it to, not from this session. An undecided (`null`) flag leaves an existing entry alone. First publish of each enabled page must happen in an attended session (`docs\u002Fartifacts.md` § refresh procedure); refreshes then reuse the same URL without prompting.\"\n**Channel-tagged turn:** send the same prompt via the channel reply tool with the two options numbered, AND queue a pending task input decision per [channel-responder\u002Fquestions.md](..\u002Fchannel-responder\u002Fquestions.md), using purpose input and admin authority: `options: [\"authorize\", \"bank first publishes\"]`, `authority: admin`, `decision.resume: \"\u002Fhermitd:hermit-settings artifact-authorization --answer {answer}\"`. Note in the message that \"Bank first publishes\" still needs a terminal session later to do the banking itself — only the decision travels over the channel.\n**Channel re-entry:** if invoked as `artifact-authorization --answer \"\u003Clabel>\"` (channel-responder resolving a task input decision opened by `hermit-evolve`'s Step 10 deferred-migration relay), skip the Ask above and match `\u003Clabel>` case-insensitively by prefix against `Authorize` \u002F `Bank first publishes`, then run the matching `settings-edit` command and reply exactly as above. This branch is deliberately channel-reachable — the flag is a decision record, not a permission — so it does not raise the native prompt the rest of `artifacts.*` policy sits behind.\n\n### 3. Write config\n\nEvery branch persists through `settings-edit` verbs — `apply-known` for the registry table, `set`\u002F`unset`\u002F`toggle` everywhere else (arrays and objects are expressible: the value is JSON-parsed). Nothing in this skill edits `config.json` with the Edit\u002FWrite tools: the script preserves siblings, refuses a change that would leave the config invalid, and records every mutation in the audit ledger. If a verb refuses a write, relay its error to the operator instead of falling back to a direct edit.\n\nConfirm the change to the operator.\n",{"name":5,"description":7},"main","72c04e1dc580a31742c23d0ed2c957dbf842f08d","plugins\u002Fhermitd\u002Fskills\u002Fhermit-settings",16,"https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd","https:\u002F\u002Fhermitd.dev","https:\u002F\u002Fgithub.com\u002Fgtapps","Software engineer from Portugal.\r\nBuilding and deploying agents for real companies.","2026-11-15 03:26:28",{"source":8,"skillName":5,"commands":53,"prompt":63,"zipAvailable":64},[54,57,60],{"tool":55,"command":56},"npx","npx skills add gtapps\u002Fhermitd --skill hermit-settings",{"tool":58,"command":59},"bunx","bunx skills add gtapps\u002Fhermitd --skill hermit-settings",{"tool":61,"command":62},"pnpm","pnpm dlx skills add gtapps\u002Fhermitd --skill hermit-settings","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fhermit-settings\u002FSKILL.md",true,[66],{"path":67,"resourceType":68,"resourceTypeDesc":69,"sizeBytes":70,"sourceHtmlUrl":71},"rules.md","REFERENCE","参考文档",3165,"https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fhermit-settings\u002Frules.md",[73,81,97,111,136,152],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":80},"01M764SQEZ58RFPJC4T31WZ8P0","task-decide","Record the operator's typed task decision.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Ftask-decide\u002FSKILL.md",[],[],"2026-11-12 13:55:43",{"skillNo":82,"name":83,"nameZh":6,"description":84,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":85,"categories":86,"keywords":87,"publishedAt":38},"01M718AB18DTYHVGXA6VF1VVR2","dream","Nightly memory maintenance from transcript ground truth. Verifies, enriches and tidies auto-memory and topic pages with snapshot validation and undo. Also handles 'undo the dream'.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fdream\u002FSKILL.md",[],[83,88,89,90,91,92,93,94,95,96],"transcript","with","maintenance","memory","validation","snapshot","pages","auto","memory maintenance",{"skillNo":98,"name":99,"nameZh":6,"description":100,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":101,"categories":102,"keywords":103,"publishedAt":38},"01M6HVD4WX8RB5EKH49HM66M8X","when-done-switch-to","Arm a deferred model or effort switch. Use for \"when done switch to\", \"after this drop to sonnet\", or \"switch model when idle\".","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwhen-done-switch-to\u002FSKILL.md",[],[104,105,106,107,33,32,108,109,110],"when","done","switch","when done switch to","use","drop","sonnet",{"skillNo":112,"name":113,"nameZh":6,"description":114,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":115,"categories":116,"keywords":117,"publishedAt":38},"01M6HVD0ZA2Q1RD7CA0X8VWF3T","weekly-review","Generate the weekly review report for the current ISO week. Writes to .hermit\u002Fcompiled\u002Freview-weekly-YYYY-Www.md (dev-facing detail) and sends a plain-language channel summary (Delivered \u002F Decisions \u002F Waiting on you \u002F Spend). Runs every Sunday at 23:00 via routine.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fweekly-review\u002FSKILL.md",[],[118,119,120,121,122,123,19,124,125,32,126,127,128,129,130,131,132,133,134,135],"weekly review","review","weekly","plain","routine","channel","summary","report","iso","review report","dev","plain-language","detail","you","decisions","via","generate","at",{"skillNo":137,"name":138,"nameZh":6,"description":139,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":140,"categories":141,"keywords":142,"publishedAt":38},"01M6HVCW8PHZXSPYAZQBZXB9DX","watch","Background events via the config watch monitor or ad-hoc Monitor tool. Quiet watches cost zero tokens.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwatch\u002FSKILL.md",[],[138,143,144,145,146,147,148,149,150,151,133],"events","ZeRO","tokens","tool","monitor","cost","ad","config","background",{"skillNo":153,"name":154,"nameZh":6,"description":155,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":9,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":156,"categories":157,"keywords":158,"publishedAt":38},"01M6HVCRMG53K3Y63WAH59YVFJ","watch-activate","Activate the config watch monitor.","https:\u002F\u002Fgithub.com\u002Fgtapps\u002Fhermitd\u002Fblob\u002Fmain\u002Fplugins\u002Fhermitd\u002Fskills\u002Fwatch-activate\u002FSKILL.md",[],[159,160,138,147,150],"activate","watch activate"]