Skip to content

Add the always-on control plane note and the tunnel keep design - #87

Merged
ligon merged 3 commits into
mainfrom
coder/vps-control-plane
Oct 30, 2026
Merged

ligon merged 3 commits into
mainfrom
coder/vps-control-plane

Conversation

@ligon

@ligon ligon commented Oct 30, 2026

Copy link
Copy Markdown
Owner

Two docs notes and their index links; no code.

  • docs/vps-control-plane.org: the decision to move the launcher and the canonical repositories off the laptop to an always-on host, the evidence (what kills a ControlMaster mux, the pre-certificate history, the canonical inventory), and the record of building that host on 2026-10-30: an EC2 Graviton instance named vantage, disk and snapshot layout, the minimal-secrets posture (the BRC certificate covers every hop, including login nodes and DTN, which accept it when offered), the canonical clones, the mux-lifetime measurement, and the procedure that moved five live carleton-htc sessions by copying their session records.
  • docs/tunnel-keep.org: design only, not implemented, of a per-target supervisor that re-warms the gateway mux, asks for an OTP only when the certificate cannot mint, keeps the TOTP seed off the box, and logs mux lifetimes. Cites the existing machinery it builds on with line references.

One finding for the code, recorded in both notes and left for a separate change: the generated login and DTN ssh blocks name no identity, so a launcher without an ssh-agent cannot reach those hops even with a valid certificate; offering cert_file on every hop behind the gateway fixes it.

🤖 Generated with Claude Code

Ethan Ligon & Sue Coder and others added 3 commits October 30, 2026 10:32
docs/vps-control-plane.org records the decision to move the launcher and
the canonical repositories off the laptop to an always-on host, the
evidence behind it (what kills a ControlMaster mux, the pre-certificate
history, the canonical inventory), and the build of that host on
2026-10-30: an EC2 Graviton instance named vantage in the ligon-research
account, its disk and snapshot layout, the minimal-secrets posture (the
BRC certificate covers every hop, including the login nodes and DTN,
which accept it when offered), the clone of the canonicals, the
mux-lifetime measurement, and the procedure that moved five live
carleton-htc sessions by copying their session records.

docs/tunnel-keep.org is the design, not implemented, of a per-target
supervisor that re-warms the gateway mux, asks for an OTP only when the
certificate cannot mint, keeps the TOTP seed off the box, and logs mux
lifetimes.  It cites the existing machinery it builds on (SshControl,
_warm_free_tunnels, renew's failed-probe rule, timer_lifecycle's owner
record, CredentialConfig) with line references, and notes that attach
needs a classified exit before attach --keep can exist.

One finding for the code, recorded in both notes and left for a separate
change: the generated login and DTN ssh blocks name no identity, so a
launcher without an ssh-agent cannot reach those hops even with a valid
certificate; offering cert_file on every hop behind the gateway fixes it.

docs/index.org links both notes under Architecture.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Both sides added entries under Architecture in docs/index.org; keep
upstream's LLM-usage notes where they are and place the control-plane
and tunnel-keep entries before Persistent Presence.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
The note's status header and its index entry still described a proposal;
the host exists since 2026-10-30 and the measurement week is running.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@ligon
ligon merged commit 2383401 into main Oct 30, 2026
4 checks passed
@ligon
ligon deleted the coder/vps-control-plane branch October 30, 2026 18:59
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