fleetwire: grow the host seam — loopback byte-identical, remote gets accept-new + pinned known-hosts (own-VPS T1) #382
Labels
No labels
agent-blocked
agent-working
autopilot
bug
deferred
deploy-pending
enhancement
landing-pr
model-haiku
model-opus
model-sonnet
needs-design
needs-info
needs-triage
no-triage
out-of-scope
priority
ready-for-agent
ready-for-human
ready-for-session
rehearsal-183
snapshot-pending
standing-drive
wayfinder:grilling
wayfinder:map
wayfinder:prototype
wayfinder:research
wayfinder:task
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Reference
Matou/idss#382
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Slice T1 of
docs/superpowers/specs/2026-08-10-own-vps-carrier-design.md(ADR 0152; #368's design-independentprerequisite, held back by the swarm's own #368 triage until the shape was
ruled — it now is).
internal/fleetwire'sroot@127.0.0.1:<port>constant (fleetwire.go:60,fleet.go scp/push URLs, supply.go, enrolment.go) becomes a target parameter.
must not notice (the smoke-script target seam's invariant discipline;
StrictHostKeyChecking=nostays justified there by locality, its owncomment fleetwire.go:44-56).
root@<host>[:port]) getsaccept-newon firstcontact and a pinned known-hosts file in the community's state dir
thereafter — the loopback justification does not survive a public box.
app/helper/cmd/helper/wiring_prod.go:332-370) keepspassing the loopback target for the private path; the own-VPS carrier (T2)
passes the remote one.
Acceptance:
invocation is byte-identical to today (seam tests pin the argv)
key is accepted-new and pinned in the state dir; a CHANGED key on a
later contact refuses loudly
Work complete and verified locally, but blocked on the shared push gate — not on this slice.
The T1 implementation is done, tested, and committed locally (
b526801on the worker branch):internal/fleetwire's hardcodedroot@127.0.0.1constant is now aTargetvalue —LoopbackTarget()/RemoteTarget(host, knownHosts)— threaded through every adapter (Fleet, Supply, Enrolment, ChallengeSource) via sharedsshOpts/sshArgs/userAtmethods.StrictHostKeyChecking=no+UserKnownHostsFile=/dev/null, locality-justified per ADR 0126); every constructor defaults an unset target to loopback so the existing seam tests stand as byte-identical regression guards. Helper wiring passes an explicitLoopbackTarget().StrictHostKeyChecking=accept-newagainst a pinned known-hosts file in the community state dir — key learned+pinned on first contact, a CHANGED key later refuses loudly; the no-pinning options are deliberately absent (mirrors the smoke-clan target seam's remote posture).target_test.go+supply_test.go);go test ./internal/fleetwire/...is green,go build ./...clean.All three acceptance clauses are satisfied at the seam.
Why blocked: the server-side pre-receive push gate (
go test ./...) is currently RED on an unrelated test,internal/vm'sTestAssemblePayload_ProducesResolvableLayout. It runsscripts/assemble-payload.sh→cd dashboard && pnpm build, and pnpm 11'sverify-deps-before-runauto-triggers apnpm installthat aborts withERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTY("Aborted removal of modules directory due to no TTY"). This reproduces locally on a Go-only change and has nothing to do with fleetwire — no recent package.json/pnpm-lock change caused it; it is a pnpm/environment drift on the build machines. It blocks every swarm push right now, not just this one.To re-arm: fix the payload-assembly build gate so pnpm does not attempt an interactive modules purge under the test harness — e.g. run assemble-payload's
pnpm buildwithCI=true, or setconfirm-modules-purge=false/verify-deps-before-run=falsein the workspace pnpm config, or re-seed the build machines'node_modulesagainst the current pnpm 11.6.0. Once the gate is green, re-run this slice (the change is small and fully specified above) or cherry-pickb526801, then re-addready-for-agent.Closing — the work landed. The blocked push went through after all:
b526801("fleetwire grows a host Target…") is on origin/main, with the swarm's later pushes (57ac469,f408bf9,f48233c) stacked on top of it. All three acceptance clauses were verified at the seam before commit (both-posture seam tests, loopback byte-identity pinned,go test ./internal/fleetwire/...green).The pre-receive gate red that parked this slice (pnpm 11's
ERR_PNPM_ABORTED_REMOVE_MODULES_DIR_NO_TTYinsideinternal/vm's payload test) cleared environmentally within the hour, but nothing repo-side prevents a recurrence — that hardening is now #389.Dropping
agent-blocked; nothing left for this slice. T2 (the own-VPS carrier passing the remote target) proceeds against the landed seam.