- Remove 4 data-only senses (linux-system-health, worker-process-metrics, hermes-session-message-stats, git-workspace-status) — none triggered workflows - Refactor hermes-gateway-health sense: add state tracking, trigger restart-gateway workflow after 3 consecutive failures (with 5min cooldown) - Add restart-gateway workflow: restarter role (systemctl restart) + verifier role (check service came back) - Simplify nerve.yaml to single sense + single workflow
18 lines
271 B
YAML
18 lines
271 B
YAML
# nerve.yaml — Nerve workspace configuration
|
|
|
|
extract:
|
|
provider: dashscope
|
|
model: qwen-plus
|
|
|
|
senses:
|
|
hermes-gateway-health:
|
|
group: system
|
|
interval: 2m
|
|
throttle: 30s
|
|
timeout: 30s
|
|
|
|
workflows:
|
|
restart-gateway:
|
|
concurrency: 1
|
|
overflow: drop
|