f8e8cacf35
`hermes config set TELEGRAM_GROUP_ALLOWED_USERS ...` (and ~290 other documented variables Hermes reads straight from os.getenv without registering them in OPTIONAL_ENV_VARS) still landed as a config.yaml top-level scalar with a notice, while the setup flows write .env and one-shot CLI readers never bridge YAML scalars — two writers, two readers. #112250 routed the registered names; this closes the class with a shape rule: any bare ^[A-Z][A-Z0-9_]*$ key is an environment setting. - set: writes .env, drops a stale config.yaml copy, never writes UPPER_SNAKE into config.yaml (--force included); the env writer's denylist (HERMES_YOLO_MODE, PATH, ...) now refuses cleanly instead of the YAML detour bridging the value into os.environ; a name neither registered nor in the environment-variables reference gets a one-line note but is still saved. - get: .env first; a leftover top-level config.yaml copy is reported as stale. - unset: removes the .env entry and the stale copy. - Registered names, credentials (credential lifecycle + masking), dotted paths and lowercase bare keys are unchanged. Fixes #111848 (first half landed in #112250).
Website
This website is built using Docusaurus, a modern static website generator.
Installation
yarn
Local Development
yarn start
This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.
Build
yarn build
This command generates static content into the build directory and can be served using any static contents hosting service.
Deployment
Using SSH:
USE_SSH=true yarn deploy
Not using SSH:
GIT_USER=<Your GitHub username> yarn deploy
If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch.
Diagram Linting
CI runs ascii-guard to lint docs for ASCII box diagrams. Use Mermaid (````mermaid`) or plain lists/tables instead of ASCII boxes to avoid CI failures.