chore(theme): swap ⛧ sigil for † across UI, scripts, docs
CI / rust client (hh) (macos-latest) (push) Waiting to run
CI / rust client (hh) (ubuntu-latest) (push) Waiting to run
CI / rust coverage (push) Waiting to run
CI / python server (3.10) (push) Waiting to run
CI / python server (3.11) (push) Waiting to run
CI / python server (3.12) (push) Waiting to run
CI / headless e2e smoke (push) Waiting to run
CI / dependency audit (push) Waiting to run
CI / secret scanning (push) Waiting to run

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
leetcrypt
2026-06-09 15:44:55 -07:00
parent 06a87e8e76
commit 0c04ac74ee
12 changed files with 72 additions and 72 deletions
+2 -2
View File
@@ -133,7 +133,7 @@ sleep 2
ok "recording → $CAST"
# ---- 3. title + join --------------------------------------------------------
say "echo ' hack-house — ephemeral by default, persistent on demand'"
say "echo ' hack-house — ephemeral by default, persistent on demand'"
sleep 1.2
say "$BIN connect 127.0.0.1 $PORT alice --password '$PW' --no-tls"
wait_for 'alice|roster|hack-house|owner' 20 && ok "alice joined" || fail "alice never joined"
@@ -196,7 +196,7 @@ docker images "$SNAP" --format '{{.Tag}}' | grep -qx "$LABEL" && ok "image survi
sleep 1
say "docker ps -a --format '{{.Names}}' | grep hack-house || echo '(no hack-house container — purged)'"
sleep 1.5
say "docker images hh-snap --format ' {{.Repository}}:{{.Tag}}'"
say "docker images hh-snap --format ' {{.Repository}}:{{.Tag}}'"
sleep 2
# ---- 9. fresh client → load -------------------------------------------------
+1 -1
View File
@@ -122,7 +122,7 @@ sleep 2
ok "recording → $CAST"
# ---- 3. both parties join (alice = owner-side, bob = guest/client) ----------
asay "echo ' alice — host'"; bsay "echo ' bob — guest'"
asay "echo ' alice — host'"; bsay "echo ' bob — guest'"
sleep 0.8
asay "$BIN connect 127.0.0.1 $PORT alice --password '$PW' --no-tls"
await_for 'alice|roster|hack-house|owner' 20 && ok "alice joined" || fail "alice never joined"
+3 -3
View File
@@ -57,7 +57,7 @@ HOST="${HOST:-$DEFAULT_HOST}"
# No password yet? Prompt with no echo — straight into RAM, out of history.
if [[ -z "$PASSWORD" ]]; then
read -rsp " room password: " PASSWORD < /dev/tty
read -rsp " room password: " PASSWORD < /dev/tty
echo
fi
[[ -n "$PASSWORD" ]] || { echo "✖ a password is required" >&2; exit 1; }
@@ -71,7 +71,7 @@ if [[ "$SYNC" -eq 1 ]]; then
TO=""; command -v timeout >/dev/null 2>&1 && TO="timeout 10"
for remote in gitea origin; do
if git remote get-url "$remote" >/dev/null 2>&1; then
echo " syncing $BRANCH from $remote" >&2
echo " syncing $BRANCH from $remote" >&2
GIT_TERMINAL_PROMPT=0 $TO git pull --ff-only "$remote" "$BRANCH" 2>&1 \
|| echo " (skipped — couldn't fast-forward from $remote/$BRANCH)" >&2
fi
@@ -83,7 +83,7 @@ fi
# runs a prebuilt binary as-is (handy for remote joiners without a toolchain),
# preferring release, then debug.
if [[ "$NO_BUILD" -eq 0 ]]; then
echo " building client (use --no-build to skip)…" >&2
echo " building client (use --no-build to skip)…" >&2
cargo build --quiet || { echo "✖ build failed" >&2; exit 1; }
BIN=./target/debug/hack-house
else
+1 -1
View File
@@ -124,7 +124,7 @@ ensure_branch() {
echo " commit/stash first, or run with BRANCH= to build '$cur' as-is." >&2
exit 2
fi
echo " switching $cur$BRANCH before build"
echo " switching $cur$BRANCH before build"
git -C "$ROOT" switch "$BRANCH" || { echo "✖ couldn't switch to '$BRANCH'" >&2; exit 2; }
}
+1 -1
View File
@@ -132,7 +132,7 @@ LAN_IP="$(ip -4 -o addr show scope global 2>/dev/null | awk '{print $4}' | cut -
JOIN_IP="${TS_IP:-${LAN_IP:-$HOST}}"
echo "═══════════════════════════════════════════════"
echo " hack-house room — $PROTO://$HOST:$PORT"
echo " hack-house room — $PROTO://$HOST:$PORT"
echo "═══════════════════════════════════════════════"
[[ -n "$TS_IP" ]] && echo " tailscale : $TS_IP (recommended — encrypted)"
[[ -n "$LAN_IP" ]] && echo " lan : $LAN_IP"
+4 -4
View File
@@ -160,7 +160,7 @@ fi
# cloudimg: the existing, tested unattended path.
if [[ "$KIND" == "cloudimg" ]]; then
echo " building '$NAME' via vbox-new.sh (cloud-init, unattended)…" >&2
echo " building '$NAME' via vbox-new.sh (cloud-init, unattended)…" >&2
args=(--name "$NAME" --release "${VERSION:-24.04}" --cpus "$CPUS" --mem "$MEM" --disk "$DISK")
[[ $ASSUME_YES -eq 1 ]] && args+=(--yes)
[[ $DO_BOOT -eq 0 ]] && args+=(--no-boot)
@@ -216,7 +216,7 @@ fi
# ── ova: import the appliance and we're done ─────────────────────────────────
if [[ "$KIND" == "ova" ]]; then
echo " importing appliance '$NAME' …" >&2
echo " importing appliance '$NAME' …" >&2
if VBoxManage import "$SRC" >/dev/null; then
echo "✓ imported '$NAME' — boot it with /sbx vbox \"$NAME\"" >&2
exit 0
@@ -225,7 +225,7 @@ if [[ "$KIND" == "ova" ]]; then
fi
# ── iso: create a VM, attach the installer, boot it ──────────────────────────
echo " creating VM '$NAME' (${OSTYPE:-Other_64}) …" >&2
echo " creating VM '$NAME' (${OSTYPE:-Other_64}) …" >&2
VBoxManage createvm --name "$NAME" --ostype "${OSTYPE:-Other_64}" --register >/dev/null
# Roll the half-built VM back if any step below fails.
@@ -259,7 +259,7 @@ echo "✓ VM '$NAME' created — the installer ISO is attached." >&2
echo " finish setup inside the VirtualBox window (it boots into the installer)." >&2
if [[ $DO_BOOT -eq 1 ]]; then
echo " booting '$NAME' (GUI) …" >&2
echo " booting '$NAME' (GUI) …" >&2
VBoxManage startvm "$NAME" --type gui >/dev/null
echo "✓ launched $NAME" >&2
else
+4 -4
View File
@@ -146,7 +146,7 @@ if [[ ! -f "$IMG_PATH" ]]; then
fi
# ── 2. register the VM (creates its folder) ──────────────────────────────────
echo " creating VM '$NAME' …" >&2
echo " creating VM '$NAME' …" >&2
VBoxManage createvm --name "$NAME" --ostype Ubuntu_64 --register >/dev/null
MACHINE_FOLDER="$(VBoxManage list systemproperties | sed -n 's/^Default machine folder: *//p')"
VMDIR="$MACHINE_FOLDER/$NAME"
@@ -159,7 +159,7 @@ trap 'echo "✖ build failed — rolling back VM" >&2; cleanup' ERR
set -e
# ── 3. cloud-image → VDI, grown to the requested size ────────────────────────
echo " converting cloud image → VDI …" >&2
echo " converting cloud image → VDI …" >&2
qemu-img convert -O vdi "$IMG_PATH" "$VDI"
VBoxManage modifymedium disk "$VDI" --resize "$((DISK * 1024))" >/dev/null
@@ -208,7 +208,7 @@ trap 'echo "✖ build failed — rolling back VM" >&2; cleanup; rm -rf "$WORK"'
for p in "${PKG_LIST[@]}"; do echo " - $p"; done
} > "$WORK/user-data"
echo " building cloud-init seed ($SEED_TOOL) …" >&2
echo " building cloud-init seed ($SEED_TOOL) …" >&2
case "$SEED_TOOL" in
cloud-localds)
cloud-localds "$SEED_ISO" "$WORK/user-data" "$WORK/meta-data"
@@ -245,7 +245,7 @@ echo " cloud-init runs the toolchain install on first boot (give it a minute)."
# ── 6. boot ──────────────────────────────────────────────────────────────────
if [[ $DO_BOOT -eq 1 ]]; then
echo " booting '$NAME' (GUI) …" >&2
echo " booting '$NAME' (GUI) …" >&2
VBoxManage startvm "$NAME" --type gui >/dev/null
echo "✓ launched $NAME" >&2
else