fix(hermes-agent): remove redundant redact_secrets workarounds
hermes-agent v2026.5.7 (PR #21193, merged 2026-05-07) flipped HERMES_REDACT_SECRETS and DEFAULT_CONFIG security.redact_secrets to true by default. The explicit HERMES_REDACT_SECRETS=true in .env and the config.yaml creation block added in commit 1420682e are now redundant — Hermes writes the same values itself on a fresh install. Verified on CT 900 (v2026.5.7): _REDACT_ENABLED=True with no env override; Hermes self-writes redact_secrets: true to config.yaml. Ref: NousResearch/hermes-agent#17691
This commit is contained in:
@@ -63,15 +63,8 @@ API_SERVER_ENABLED=true
|
||||
API_SERVER_HOST=0.0.0.0
|
||||
API_SERVER_PORT=8642
|
||||
API_SERVER_KEY=${API_SERVER_KEY}
|
||||
HERMES_REDACT_SECRETS=true
|
||||
EOF
|
||||
chmod 600 /home/hermes/.hermes/.env
|
||||
cat <<EOF >/home/hermes/.hermes/config.yaml
|
||||
security:
|
||||
redact_secrets: true
|
||||
EOF
|
||||
chmod 600 /home/hermes/.hermes/config.yaml
|
||||
chown hermes:hermes /home/hermes/.hermes/config.yaml
|
||||
msg_ok "Configured API Server"
|
||||
|
||||
msg_info "Creating Dashboard Service"
|
||||
|
||||
Reference in New Issue
Block a user