Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

docs(smoke): block the live hosted socket, not only new lookups

Shanu43661f83e317
diff --git a/docs/RELEASE-MANUAL-SMOKE.md b/docs/RELEASE-MANUAL-SMOKE.md
index fbdca5710f..cebcdc9a40 100644
--- a/docs/RELEASE-MANUAL-SMOKE.md
+++ b/docs/RELEASE-MANUAL-SMOKE.md
@@ -68,7 +68,7 @@ Applies to every release, all platforms.
- [ ] **Logging out + logging back in preserves nothing private** — Sign out, sign in as a different user. Expected: no leaked memory, threads, or skill state from the previous session (regression watch — see #900).
- [ ] **A Docker core gateway connects, serves the app, and is torn down on switch-back** — Build `openhuman-core:local` (`docker compose build openhuman-core`). In `Settings > Core connection > Run the core somewhere else`, add a location running in a container and choose it. Expected: the status advances through its named steps and settles on Connected; chat, memory, and an agent run work against it; `docker ps` shows one `tinybox-*` container. Switch back to This computer. Expected: the local core answers again and the container is gone. Then relaunch the app while the gateway is selected. Expected: it re-provisions and reconnects rather than silently falling back to the local core — that fallback is the failure this row exists to catch, because everything keeps working against the wrong core.
- [ ] **`memory_tree` migrates WAL→TRUNCATE on upgrade with memory intact** — Install a previous (WAL-era) build, use it enough to populate memory so a `chunks.db-wal`/`-shm` pair exists under `~/.openhuman/.../workspace/memory_tree/`, then upgrade to this build. Expected on first launch: `PRAGMA journal_mode` on `chunks.db` reports `truncate`, the `-wal`/`-shm` side-files are gone, previously-captured memories still surface in recall, and no `Failed to initialize memory_tree schema` errors appear.
-- [ ] **Home connectivity chip reflects the core's hosted link** — Sign in on a desktop build and wait for the chip on Home to read green "Connected". Block the hosted backend for the core for about a minute (e.g. add `127.0.0.1 api.tinyhumans.ai` to the hosts file, or drop the VPN route). Expected: the chip turns amber "Disconnected" within ~30 s while chat keeps working, and returns to green within ~5 s of restoring the route. In `~/.openhuman/logs/openhuman.<date>.log` the `[socket] Connection failed (attempt N/5)` lines are never more than ~10 s plus the backoff apart, and recovery logs `[socket] Reconnected after …` (#6256).
+- [ ] **Home connectivity chip reflects the core's hosted link** — Sign in on a desktop build and wait for the chip on Home to read green "Connected". Block the core's traffic to the hosted backend in a way that also kills the *established* socket, not only new connections: a firewall DROP rule for the backend host (e.g. Linux `sudo iptables -I OUTPUT -d <backend-ip> -j DROP`, macOS a pf or Little Snitch/LuLu deny rule for `api.tinyhumans.ai`), or a VPN route change that blackholes the active flow and the handshakes that follow. A hosts-file entry does not touch an established socket; if that is all you have, add it first and then force a reconnect (toggle Wi-Fi off and on). Use DROP rather than REJECT so the reconnect attempts hang the way the field failure did. Expected, in `~/.openhuman/logs/openhuman.<date>.log`: within ~50 s of the block, `[socket] No server ping received … connection age Ns …` and `Connection lost: Ping timeout`; then `Connection failed (attempt N/5): WebSocket connect: IO error: operation timed out after 10s …` lines never more than ~10 s plus the backoff apart. The chip turns amber "Disconnected" within ~30 s of the loss while chat keeps working. Remove the rule: the chip returns to green within ~5 s of the next handshake and the log shows `[socket] Reconnected after …` (#6256).
---