device-add: Mac/Windows VM-doorway home gateway — live implementation testing (deferred until #331 UPnP passes and closes) #513

Open
opened 2026-08-14 06:09:39 +00:00 by ben · 0 comments
Owner

What

Live implementation testing of the Mac/Windows VM doorway as a home gateway: the desktop-app join path (ADR 0008/0024 — app creates a local NixOS VM; full install is Linux-only by construction) carrying the gateway role on a Windows or macOS home machine.

Ratchet 3 (phase-3 home-gateway rehearsal, spec 2026-08-14) proves the Linux + full-install doorway on a droplet stand-in and names this doorway a deferred skip. What a live test here must cover, beyond the Linux path's proof:

  • app join-with-a-code → NixOS guest VM stood up on a Mac/Windows host (P3-S2 hand-off from founding S7b's desktop-app method)
  • the gateway role deployed into the VM — spec gate against the VM's slice of the host, always-on discipline on a desktop OS
  • the reachability story: public ports must traverse two hops (home router → host OS → VM). This is the doorway's real viability question — and why this ticket waits on UPnP.

Why deferred on UPnP (#331)

Manual port-forwarding through router and host-into-VM is beyond the operators this doorway exists for (GUI-preferring, non-technical). The doorway is only honestly viable once the agent can open its own ports (UPnP/IGD at the router; host-level forwarding as part of the VM stand-up). Testing it before that proves a path no real operator can walk.

Revisit when ALL of these hold (deferred-with-criteria, #423 pattern):

  1. #331's UPnP/IGD work is implemented,
  2. its live proof passes (the lab miniupnpd rig or a real-router trial), and
  3. #331 is closed.

On revisit: rule the test vehicle first (real Mac/Windows hardware is required — no droplet stand-in exists for this doorway; the swarm substrate cannot drive it), then scope as a manual trial or a dedicated rig.

Out of scope

  • The Linux full-install home-gateway path (ratchet 3's standing drive owns it).
  • Multi-arch (x86_64-only at v1 holds regardless of doorway).
## What Live implementation testing of the **Mac/Windows VM doorway as a home gateway**: the desktop-app join path (ADR 0008/0024 — app creates a local NixOS VM; full install is Linux-only by construction) carrying the **gateway role** on a Windows or macOS home machine. Ratchet 3 (phase-3 home-gateway rehearsal, spec 2026-08-14) proves the Linux + full-install doorway on a droplet stand-in and names this doorway a deferred skip. What a live test here must cover, beyond the Linux path's proof: - app join-with-a-code → NixOS guest VM stood up on a Mac/Windows host (P3-S2 hand-off from founding S7b's desktop-app method) - the gateway role deployed **into the VM** — spec gate against the VM's slice of the host, always-on discipline on a desktop OS - the reachability story: public ports must traverse **two** hops (home router → host OS → VM). This is the doorway's real viability question — and why this ticket waits on UPnP. ## Why deferred on UPnP (#331) Manual port-forwarding through router *and* host-into-VM is beyond the operators this doorway exists for (GUI-preferring, non-technical). The doorway is only honestly viable once the agent can open its own ports (UPnP/IGD at the router; host-level forwarding as part of the VM stand-up). Testing it before that proves a path no real operator can walk. ## Revisit when ALL of these hold (deferred-with-criteria, #423 pattern): 1. #331's UPnP/IGD work is implemented, 2. its live proof passes (the lab miniupnpd rig or a real-router trial), and 3. **#331 is closed.** On revisit: rule the test vehicle first (real Mac/Windows hardware is required — no droplet stand-in exists for this doorway; the swarm substrate cannot drive it), then scope as a manual trial or a dedicated rig. ## Out of scope - The Linux full-install home-gateway path (ratchet 3's standing drive owns it). - Multi-arch (x86_64-only at v1 holds regardless of doorway).
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
Matou/idss#513
No description provided.