From 1db3105d500b53d518c5e4e6ef1f947fedd00164 Mon Sep 17 00:00:00 2001 From: Erik Simon Date: Fri, 2 Oct 2026 21:03:16 +0200 Subject: [PATCH] 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 --- hosts/mars/hermes-agent.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/hosts/mars/hermes-agent.nix b/hosts/mars/hermes-agent.nix index 8a15c29..f7996c4 100644 --- a/hosts/mars/hermes-agent.nix +++ b/hosts/mars/hermes-agent.nix @@ -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}