docs(config): deprecate MESSAGING_CWD guidance - #22050
Closed
helix4u wants to merge 1 commit into
Closed
Conversation
helix4u
marked this pull request as ready for review
May 8, 2026 19:38
This was referenced May 29, 2026
19 tasks
Contributor
|
This is already implemented on current main. Automated hermes-sweeper review found the docs cleanup from this PR in commit Evidence:
Thanks for the cleanup — it made it onto main, so this PR can be closed as implemented. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Updates docs that still told users to configure gateway working directories with
MESSAGING_CWD. The canonical setting is nowterminal.cwdin~/.hermes/config.yaml;MESSAGING_CWDand directTERMINAL_CWDenv entries are documented only as deprecated compatibility fallbacks.The source of truth for this docs change is the current implementation:
hermes_cli/config.pynotes thatMESSAGING_CWDwas removed from setup and that users should useterminal.cwdinconfig.yamlinstead.hermes_cli/config.py::warn_deprecated_cwd_env_vars()warns whenMESSAGING_CWDor directTERMINAL_CWDis set in.env, and describes both as deprecated migration fallbacks.gateway/run.pytreatsterminal.cwdbridged throughTERMINAL_CWDas canonical, while acceptingMESSAGING_CWDonly as a deprecated backward-compatibility fallback.Related Issue
N/A - docs cleanup from support triage.
Type of Change
Changes Made
cli-config.yaml.exampleand the main configuration/security/worktree docs to point users atterminal.cwd.MESSAGING_CWDand directTERMINAL_CWDenv usage as deprecated compatibility fallbacks in the env var reference.MESSAGING_CWDlabels from Nix and migration docs where they described user-facing working directory setup.TERMINAL_CWDas the public configuration surface.How to Test
rg -n "MESSAGING_CWD|TERMINAL_CWD" README.md cli-config.yaml.example website/docs optional-skills/migration/openclaw-migration/SKILL.md -Sgit diff --checkFull pytest suite not run; this is a docs-only change.
Checklist
Code
fix(scope):,feat(scope):, etc.)pytest tests/ -qand all tests passDocumentation & Housekeeping
docs/, docstrings) — or N/Acli-config.yaml.exampleif I added/changed config keys — or N/ACONTRIBUTING.mdorAGENTS.mdif I changed architecture or workflows — or N/AScreenshots / Logs
N/A.