Skip to content

Make the default OpenClaw agent display name configurable - #87

Open
JeffPengCoder wants to merge 1 commit into
NVIDIA:mainfrom
JeffPengCoder:feat/openclaw-agent-display-name
Open

JeffPengCoder wants to merge 1 commit into
NVIDIA:mainfrom
JeffPengCoder:feat/openclaw-agent-display-name

Conversation

@JeffPengCoder

Copy link
Copy Markdown
Contributor

Allow deployments to give the default OpenClaw agent a recognizable display name without editing the seed JSON or changing its internal default ID. This applies to the agent across messaging channels; each channel controls how it presents the identity.

Add optional openclaw.agentDisplayName (empty by default). A nonempty string sets both the agent name and identity.name. Empty or unset values preserve the existing AI Factory Operations Agent name and absence of an explicit identity. Agent IDs, routing, session keys, and all other rendered OpenClaw configuration remain unchanged. The messaging platform’s bot/application profile name is managed separately.

Includes installation/upgrade commands, type validation, JSON-safe string rendering, semantic render regression tests, and the regenerated agent documentation bundle. The change is based directly on upstream main and can be reviewed and merged independently of the Feishu channel PR.

Validation:

  • node --test utils/*.test.mjs helm/mosaic-stack/tests/*.test.mjs tests/docs/*.test.mjs: 228 passed, 0 failed, 2 optional integration tests skipped (OpenClaw runtime memory and live VictoriaMetrics).
  • node --test helm/afoa-inference/tests/*.test.mjs: 4 passed.
  • helm lint helm/mosaic-stack and helm lint helm/afoa-inference: passed.
  • python3 docs/package_agent_docs.py --check: passed.
  • sphinx-build -W --keep-going -q -b html -c docs . docs/_build/html: passed with no warnings.
  • git diff --check: passed.

The new tests compare the complete parsed config for default/empty/unset and overridden names, preserve the default ID, reject non-string values, and cover quotes, Unicode, backslashes, control characters, and Helm-looking text as literal data. The override is already in use on a Spark deployment with OpenClaw 2026.6.10; the source PR additionally preserves the upstream default behavior when no override is selected.

Signed-off-by: Jeff Peng <jepeng@nvidia.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant