fix(mars): directional Honcho observation so luna's own messages are derived
A honcho.json host block without observationMode counts as a legacy config and gets "unified" (ai observe_me off), so the seed and everything luna says were never derived. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -301,6 +301,8 @@ in
|
||||
|
||||
# Only these keys are asserted; anything Hermes adds to honcho.json stays.
|
||||
# No apiKey: the plugin uses a placeholder for a loopback base URL.
|
||||
# observationMode must be explicit: a host block without it counts as a
|
||||
# legacy config and gets "unified", which never derives luna's own messages.
|
||||
setpriv --reuid=${hermesUid} --regid=${hermesGid} --clear-groups \
|
||||
${pkgs.runtimeShell} -c '
|
||||
set -eu
|
||||
@@ -309,7 +311,8 @@ in
|
||||
${pkgs.jq}/bin/jq ".baseUrl = \"http://127.0.0.1:8000\"
|
||||
| .hosts.hermes = ((.hosts.hermes // {}) + {
|
||||
enabled: true, workspace: \"luna\", aiPeer: \"luna\",
|
||||
peerName: \"darman\", pinUserPeer: true })" "$f" > "$f.new"
|
||||
peerName: \"darman\", pinUserPeer: true,
|
||||
observationMode: \"directional\" })" "$f" > "$f.new"
|
||||
mv -f "$f.new" "$f"
|
||||
' _ ${hermesHome}/honcho.json
|
||||
write_env_key API_SERVER_KEY < ${config.sops.secrets.hermes_api_server_key.path}
|
||||
|
||||
Reference in New Issue
Block a user