Fleet hardening: lid-close/internet-loss disconnect and fork guard (#324) - #325
Merged
aarontrowbridge merged 1 commit intoAug 10, 2026
Conversation
closes lid or drops internet no longer appears to kill sessions: - tunnel tuned 30/3 -> 15/2 + TCPKeepAlive (30s detection) - fleet guard installed both hosts with frozen-binary resolution - forked client DB archived, symlink/ssh hygiene Co-authored-by: amico-fleet-guard
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #324
Operational fix applied 2026-08-09 on
Aarons-Mac-mini(canonical, 707 sessions) +MacBook-Pro-de-Aaron(client). Captured here as versioned guard template.Problem — lid-close kills
ssh -L 127.0.0.1:4096so chat appeared to stop; tunnel was30/3(90s detection), guard missing on mini with stale~/harmoniqspath, port-race forkedopencode.db(3.2M) on macbook.Fix
tools/fleet/amico-opencode-fleet-guard— client exits 1 (rides tunnel), server execs frozen~/.amico/server/bin/opencode→ VSIX fallback (same order asamicode-server.sh), fixes channel-flip.tools/fleet/README.md— tuning doc: tunnel15/2 + TCPKeepAlive(30s), LAN-firstMatch host, hygiene (symlink, ssh dup, fork archive).archive/,fleet-status.jsonguard ok639/707,curl 200via tunnel,lsof :4096ssh LISTEN only. Lid-close/wake or LAN-only loss recovers in ~30s.Testing:
lsof/curl/sqlite3counts,fleet-status.shguard. Extends fleet_verb/registry fixtures (ADR 0005).