own-VPS full-install audit: sweep the whole VM-vs-full-install divergence class ahead of the drive (GOTCHAS #12) — stop paying one ~1h red per port #450
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.
Dependencies
No dependencies set.
Reference
Matou/idss#450
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?
Why
Six ports of the same defect class were discovered serially, each costing a full drive+fix cycle (~50–70 min): #399 (hostPlatform), #410 (SSH identity), #432 (guest trust), #436 (loopback target), #442 (ledger dir), #443 (the control-plane unit itself). Every one is an instance of GOTCHAS #12: something declared on the VM/local-guest path that the own-VPS full-install path never bakes.
The closure-autopsy technique already proved it can find these without a droplet: on 2026-08-10 one read of the built toplevel from the captured flake surfaced THREE defects at once (#414: route shadowing + no sshd + no root key). That technique lives only in session memory — this ticket applies it systematically, ahead of the frontier.
Work
renderGatewayGuest/gateway-guest.nix/ vmguest baselines ininternal/clan/vmguest.go) and every fleetwire/enrolment/supply/deploy/pairing code path that assumes a local guest (LoopbackTarget,guest-trustpaths,127.0.0.1addresses, hostfwd ports, app-tied lifecycles), record its disposition on the own-VPS full-install path: present / ported (by which issue) / N-A (why).rehearsal-sigwhere derivable so the reporter appends instead of duplicating), or fix trivially small ones directly in this ticket's branch. ExtendTestOwnVPSGateway_EvalSmoke/ the #401 seam tests to pin each closed gap.docs/(and note it on GOTCHAS #12) so the next VM-side addition is checked against the full-install path at review time instead of by a paid red.Acceptance
ben referenced this issue2026-08-11 22:48:30 +00:00
ben referenced this issue2026-08-11 22:48:33 +00:00
ben referenced this issue2026-08-11 22:48:36 +00:00
Done. Swept the whole VM-vs-full-install divergence class (GOTCHAS #12) ahead of the frontier — commit
852d2c8on origin/main.Audit table —
docs/vm-full-install-divergence.md(placed at docs/ root, not docs/architecture/ which is the mermaid-diagram gallery per CLAUDE.md). Three tables cover every VM-path render/assumption named in the ticket:renderGatewayGuestblock, disposition on the full-install path (present / ported by which issue / N-A why).Autopsy result: the ported/N-A rows all verified against code (#410/#414/#432/#436/#437/#442/#443). Deploy+finish hard-deps (
ourcloud-control-plane.service,/var/lib/ourcloud) are present via control-plane.nix (#443) and ledger.nix (#442).Four confirmed OPEN divergences pre-filed (each needs its own design slice, so filed not fixed — none is trivially small):
provisionblock: no operator person, no operators/members/kaitiaki groups, no admin/idm_admin password. So the passkey ceremony'sMintResetToken(operator)(and every kanidm-authenticated leg) 404/401s — the 7th port, and the next frontier fault now that finish went green. Carriesrehearsal-sig: 8d0cd71d20a2(the finish leg) so the reporter appends rather than duplicates.kanidm-brand-push(community display name + logo) never reaches the public IdP.assertionson the full-install gateway (the eval guard that would have caught #452).ChallengeSourcestill assumes a local guest (the one un-ported guest-facing seam; latent, not exercised on own-VPS today).Seam coverage:
TestOwnVPSGateway_FullInstallClosureAudit(gateway_attach_test.go) drives the real configure stage and pins Table C against the composed full-install assembly — the one assertion that would have caught all six ports at review time, and guards thepresentModulessilent-drop failure mode.docs/GOTCHAS.md#12 gains the same-commit rule pointing at the checklist. Full go-ci suite green on push.