feat(#2569): wire HIVE_AGENT_SOCKET for the harness, mcp-http, and matrix services

This commit is contained in:
damocles 2026-07-20 23:17:35 +02:00
commit ade7be46c2
3 changed files with 15 additions and 0 deletions

View file

@ -221,6 +221,10 @@ in
wantedBy = [ "multi-user.target" ];
before = [ "hive-agent.service" ];
environment.RUST_LOG = "info";
# In-agent todo socket the harness serves (loose-ends v2): the
# `get_loose_ends` handler dials it to merge this agent's local todos
# with the static loose-ends from hive-c0re.
environment.HIVE_AGENT_SOCKET = "/run/hive-agent/${userName}/agent.sock";
serviceConfig = {
ExecStart = "${config.hyperhive.packages.hive-agent-mcp}/bin/hive-agent-mcp --http 127.0.0.1:${toString config.hyperhive.mcp.httpPort}";
SyslogIdentifier = "hive-mcp-http";