diff --git a/services/hermes/agent-deployment.yaml b/services/hermes/agent-deployment.yaml index 490bc38c0..58e462b01 100644 --- a/services/hermes/agent-deployment.yaml +++ b/services/hermes/agent-deployment.yaml @@ -24,7 +24,7 @@ spec: ai.bstein.dev/execution: Hermes Kanban with durable direct Codex and Claude Code CLI workers ai.bstein.dev/model-policy: Jetson-assisted AUTO routing, low through xhigh, cross-provider fallback ai.bstein.dev/placement: rpi5 preferred; Jetson deferred until state storage is available - ai.bstein.dev/config-rev: "20260811-stock-supervisor" + ai.bstein.dev/config-rev: "20260811-stock-supervisor-probe" vault.hashicorp.com/agent-inject: "true" vault.hashicorp.com/role: hermes-agent vault.hashicorp.com/agent-inject-secret-anthropic-token: kv/data/atlas/hermes/agent-tokens @@ -357,17 +357,20 @@ spec: - {name: auto-router-plugin, mountPath: /opt/data/plugins/auto-router, readOnly: true} - {name: tmp, mountPath: /tmp} startupProbe: - tcpSocket: {port: dashboard} + exec: + command: [curl, -fsS, http://127.0.0.1:9119/api/status] periodSeconds: 10 timeoutSeconds: 5 failureThreshold: 60 readinessProbe: - tcpSocket: {port: dashboard} + exec: + command: [curl, -fsS, http://127.0.0.1:9119/api/status] initialDelaySeconds: 30 periodSeconds: 10 timeoutSeconds: 5 livenessProbe: - tcpSocket: {port: dashboard} + exec: + command: [curl, -fsS, http://127.0.0.1:9119/api/status] initialDelaySeconds: 90 periodSeconds: 30 timeoutSeconds: 10 diff --git a/testing/tests/test_hermes_cli_lanes.py b/testing/tests/test_hermes_cli_lanes.py index 3ebbdb156..c189dcdb4 100644 --- a/testing/tests/test_hermes_cli_lanes.py +++ b/testing/tests/test_hermes_cli_lanes.py @@ -647,6 +647,13 @@ def test_agent_root_is_stock_dashboard_and_terminal_is_a_separate_path(): assert hermes_env["HERMES_TUI_AGENT_INIT_TIMEOUT_S"] == "180" assert hermes["securityContext"]["runAsUser"] == 0 assert hermes["securityContext"]["runAsGroup"] == 0 + for probe_name in ("startupProbe", "readinessProbe", "livenessProbe"): + probe = hermes[probe_name] + assert probe["exec"]["command"] == [ + "curl", + "-fsS", + "http://127.0.0.1:9119/api/status", + ] terminal = containers["terminal"] command = terminal["args"][0]