From ca39fead74bfa04c02ff742fcd5f4b1a654d0f21 Mon Sep 17 00:00:00 2001 From: mumuni-bot Date: Sun, 30 Aug 2026 01:06:30 +0000 Subject: [PATCH] fix: correct Mumuni gateway lifecycle path (no sudo on kagentz) + 2 leftover CT100 mentions Post-merge verification of PR #54 found: 1. Lifecycle commands in zulip-health/zulip-self-heal used 'sudo systemctl' for hermes-gateway - sudo is NOT installed on kagentz (no sudoers, no polkit user rules). Correct path: root SSH invocation (root@192.168.68.14), matching how the Proxmox host actually manages the unit. 2. hermes-zulip-restore.prose.md line 5 + zulip-resilience-v3 line 423 still said 'Mumuni CT100' in prose - repointed. Found via independent review + live runtime check (whoami, which sudo, journalctl, systemctl show). Refs PR #54, relay #738/#739. --- hermes-zulip-restore.prose.md | 2 +- zulip-health.prose.md | 2 +- zulip-resilience-v3.prose.md | 2 +- zulip-self-heal.prose.md | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/hermes-zulip-restore.prose.md b/hermes-zulip-restore.prose.md index ec5ed9b..4602e6e 100644 --- a/hermes-zulip-restore.prose.md +++ b/hermes-zulip-restore.prose.md @@ -2,7 +2,7 @@ kind: function name: hermes-zulip-restore description: > - Restores Zulip connectivity for any Hermes agent (Mumuni CT100, Tanko CT112, + Restores Zulip connectivity for any Hermes agent (Mumuni CT105 kagentz, Tanko CT112, Koby CT111, Shumba on Lucky's mini PC). Deploys the zulip-platform adapter to the correct bundled plugin path, verifies env credentials, restarts the gateway, and confirms Zulip connects. Run this whenever a Hermes agent stops responding on Zulip or after diff --git a/zulip-health.prose.md b/zulip-health.prose.md index 200f7dc..a978d39 100644 --- a/zulip-health.prose.md +++ b/zulip-health.prose.md @@ -203,7 +203,7 @@ Gateway PID should exist with uptime > 60s. **Dual-gateway detection**: if more | Agent | Restart command | Notes | |-------|-----------------|-------| -| Mumuni (.14) | `sudo systemctl restart hermes-gateway` | systemd unit `hermes-gateway.service` (user hermes) | +| Mumuni (.14) | `ssh root@192.168.68.14 "systemctl restart hermes-gateway"` | systemd unit `hermes-gateway.service` (user hermes); sudo not installed on kagentz — restart via root SSH from Proxmox host or monitoring box | | Tanko (.122) | `bash /opt/hermes-zulip-plugin/run.sh` (or the agent's systemd/user unit) | Tanko does NOT use PM2 — never run `pm2 restart mumuni-zulip` for Tanko (process does not exist) | Check gateway log for "Gateway running with 2 platform(s)" (not 1) to confirm Zulip reloaded. diff --git a/zulip-resilience-v3.prose.md b/zulip-resilience-v3.prose.md index d2c0b19..38becf5 100644 --- a/zulip-resilience-v3.prose.md +++ b/zulip-resilience-v3.prose.md @@ -420,7 +420,7 @@ Backup v2 before starting: `cp index.js index.js.v2-backup-$(date +%Y%m%d-%H%M%S |-------|----------|-------------|--------------|-------------| | **Abiba** | pi (CT 100) | ✅ Connected | API key missing from Infisical injection; poll timeout noise | Added .env fallback; AbortError treated as empty poll (no retry); poll timeout 65s→90s | | **Tanko** | Hermes (CT 112) | ✅ Connected | Gateway disconnected since Jul 11; watchdog restart didn't re-establish Zulip | Full gateway restart (kill wrapper, let infisical-gateway.sh respawn) | -| **Mumuni** | Hermes (inside Abiba CT 100) | ✅ Connected | No issues found | None needed | +| **Mumuni** | Hermes (kagentz CT 105, migrated 2026-08-29) | ✅ Connected | No issues found | None needed | ### Key Fixes Applied diff --git a/zulip-self-heal.prose.md b/zulip-self-heal.prose.md index 9de373e..6865bc9 100644 --- a/zulip-self-heal.prose.md +++ b/zulip-self-heal.prose.md @@ -65,7 +65,7 @@ triggers: |------|----|------|---------| | Zulip server | 192.168.68.19 | root | Docker: `zulip-zulip-1` | | Abiba (pi) | localhost | root | PM2: `abiba-zulip` | -| Mumuni | 192.168.68.14 (kagentz CT105) | hermes | `sudo systemctl restart hermes-gateway` | +| Mumuni | 192.168.68.14 (kagentz CT105) | root (SSH) | `ssh root@192.168.68.14 "systemctl restart hermes-gateway"` | | Tanko | 192.168.68.122 | jerome | `PATH=$PATH:/home/jerome/.hermes/hermes-agent hermes gateway restart` | ## Debounce -- 2.54.0