Skip to content

Record the remote devbox setup and reach hosts by user@tailscale-name - #7

Merged
dinoderek merged 3 commits into
mainfrom
docs/devbox-setup
Oct 21, 2026
Merged

dinoderek merged 3 commits into
mainfrom
docs/devbox-setup

Conversation

@dinoderek

Copy link
Copy Markdown
Owner

Objective

Record how the remote devbox is set up, and that engine uses plain OpenSSH, never Tailscale SSH. Each host's hosts.toml entry now says how to reach it: address = "<user>@<tailscale name>", passed to ssh as is. Docs only. There are no general SSH rules yet; the coordinator runs on the Mac for now.

Gates

Lane Result Evidence
./dev test (every required lane) PASS .test-ai-results/summary.md on 45ab76a: all 9 lanes pass, docs-check included
  • New or changed tests: none; docs only.
  • Not run, with reason: none. The steps were carried out today on an Ubuntu 26.04 devbox from the Mac. Plain SSH works with -o BatchMode=yes, Tailscale SSH is off, and the non-interactive command -v engine tmux gh claude codex check passes there.

Rulings

Agreed with the operator: the coordinator runs on the Mac for now, hosts.toml says how to reach non-local hosts, and the PR records how to set up a remote devbox and not to use Tailscale SSH, without general rules.

Ruling (risk: low): `address` is `<user>@<tailscale name>`, passed to ssh as is; no ~/.ssh/config entry is needed.
Why: the operator wants hosts.toml to say how to reach each non-local host.
If wrong: doc-only; the local hosts.toml files already use this form.
Ruling (risk: med): Plain OpenSSH with key auth, never Tailscale SSH. The switch is one chained command that turns Tailscale SSH off only once sshd is listening and, if ufw is active, port 22 is open on tailscale0. A console route is confirmed first, and `sudo tailscale set --ssh` undoes it.
Why: Tailscale SSH's check mode needs a browser approval per connection, which an unattended coordinator cannot give. The order guards against locking yourself out.
If wrong: a host can still be reached through its console; doc-only.
Ruling (risk: low): The devbox installs engine without a checkout (`GOBIN=~/.local/bin go install …@main`) and exports PATH above `.bashrc`'s non-interactive return; a final step checks the coordinator's non-interactive view of every tool.
Why: the coordinator runs `ssh <address> engine …` non-interactively. On stock Ubuntu, `~/.local/bin` isn't on that PATH.
If wrong: doc-only.

Review

  • Fresh reviewer: Claude Code (Agent SDK subagent), Claude Opus 5.5.
    • Round 1: Verdict: CHANGES_REQUESTED. Three blocking findings:

      • the section restated "Each host" instead of citing it;
      • the phone's SSH route breaks without its key;
      • the non-interactive PATH, which I tested on the real devbox: it works there only because of a custom .bashrc line, now recorded.

      Five nits, all fixed.

    • Round 2: Verdict: CHANGES_REQUESTED. One blocking finding (the tool check came before the install) and two nits, all fixed.

    • Round 3: Verdict: APPROVED, with no findings.

  • Declined findings: keeping the /plugin install engine --marketplace dinoderek/engine form. The reviewer doubted the syntax, but claude plugin validate recommends exactly that form for Claude Code 2.1.275 and later. The shell form (claude plugin marketplace add and claude plugin install) is added beside it. The reviewer accepted this.
  • Review hard: docs/operator-setup.md, the "A remote devbox" section, steps 2 to 5.

Deviations

None.

🤖 Generated with Claude Code

dinoderek and others added 3 commits October 21, 2026 10:52
- A host's address in hosts.toml is `<user>@<tailscale name>`, passed to ssh
  as is, so reaching a non-local host needs nothing outside that file.
- operator-setup.md gains "A remote devbox": authorize the Mac's key, switch
  from Tailscale SSH to OpenSSH (with a lockout guard and a way back), check
  from the Mac, then install engine, the config, the plugin and no-suspend
  over SSH.
- SSH uses plain OpenSSH, never Tailscale SSH: its check mode needs a
  browser approval an unattended coordinator cannot give.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… key

- The devbox section cites "Each host" and keeps only what differs.
- Step 1 also authorizes the phone SSH app's key; the SSH bullet says whose
  keys go where.
- Step 3 checks the non-interactive shell the coordinator uses, and covers a
  first-contact or changed host key; the address format is cited.
- Step 4 records exporting PATH above .bashrc's non-interactive return.
- Step 2 asks for a console route first and states the openssh install;
  the Each host Skills bullet gains the shell form of the plugin install.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Step 3 checks plain SSH only; a final step checks the coordinator's
non-interactive view of every tool once step 4 has installed them. The phone
key is unconditional in both places.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@dinoderek
dinoderek merged commit 3edd05c into main Oct 21, 2026
1 check passed
@dinoderek
dinoderek deleted the docs/devbox-setup branch October 21, 2026 11:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant