feat(hybrid-gateway): integrate muse-cli with Cloudflare netns isolation, symmetric sidechat routing, and 646-pip sync unblock

This commit is contained in:
operator
2026-10-04 22:54:01 +00:00
parent 3d5fbe5aeb
commit 1a271b1bbd
60 changed files with 5068 additions and 55 deletions
+8
View File
@@ -0,0 +1,8 @@
#!/bin/bash
# flap-check.sh - count browser relaunches per profile in the last hour
# Called by the browser-flap-detector cron. Avoids nested SSH quoting hell.
cutoff=$(date -u -d "1 hour ago" +%Y-%m-%dT%H:%M:%S)
for prof in muse pip 646 opm; do
n=$(grep "\[$prof\]" /home/super/Projects/NetVM/chromebox-watchdog.log 2>/dev/null | grep "relaunch OK" | awk -v d="$cutoff" '{ts=substr($1,2,19); if (ts > d) c++} END {print c+0}')
echo "$prof:$n"
done