ops(scripts): dispatch, queue gating, heartbeat, quota probe

dispatch-turn.sh (headless turn launcher with TURN_MODEL routing),
queue-after.sh (serial gate chain + quota-wall guard), pmo-heartbeat.sh
(PMO wake loop), quota-probe-then-chain.sh (post-wall relaunch).
This commit is contained in:
2026-08-29 05:22:43 -05:00
parent 458d92831e
commit 79d93b6c49
18 changed files with 825 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
#!/usr/bin/env bash
# root-rename-inbox.sh — rename /home/_crossfeed/inbox/founder -> inbox/rceo
# (Charles dislikes "founder" as a name for himself.) Idempotent. Root runs:
# sudo bash ~/.coordinate/scripts/root-rename-inbox.sh
set -euo pipefail
[[ $EUID -eq 0 ]] || { echo "run as root: sudo bash $0"; exit 1; }
src=/home/_crossfeed/inbox/founder
dst=/home/_crossfeed/inbox/rceo
if [[ -d $src && ! -e $dst ]]; then
mv "$src" "$dst"
elif [[ -d $dst ]]; then
echo "already renamed"
else
echo "source missing: $src"; ls -la /home/_crossfeed/inbox/; exit 1
fi
chown reachableceo:users "$dst"
chmod 3775 "$dst"
ls -ld "$dst"
echo "OK. Remind PMO to update PROTOCOL.md path references."