own-VPS founding false-greens public-entry — the checklist row rests done UNCONDITIONALLY, nothing probes the public door (#499 part 1, Ben's ruling) #501

Closed
opened 2026-08-13 02:48:33 +00:00 by ben · 1 comment
Owner

Part 1 of #499 (Ben's ruling 2026-08-13) — the founding-side honest probe

Spun out of #499. The app-side race fix (ceremony-window retry + fail-loud + test
budget) landed in commit(s) on that ticket; this ticket carries Ben's part 1,
which he ranked most important and called the enabling defect — but which is
a larger founding row-machinery slice needing its own iteration and (ideally) live
verification of real acme-dns/Caddy bring-up timing.

The defect

The own-VPS S11 checklist's public-entry row ("Public entry — secure connections
live") is marked DeployStepDone UNCONDITIONALLY (internal/founding/deploy.go,
deployChecklist — "prerequisites the join node already completed"). Nothing ever
probes the public door, so the journey rests "done" and the finish leg opens
hand-off (and the S12 ceremony #498 put on the PUBLIC door) while Caddy is minutes
from serving id.<apex> (gated behind acme-dns registration + DNS-01 wildcard
issuance on a first boot; GOTCHAS #15/#22). This is the #440/#443 false-green shape,
one row over.

Ben's fix direction (verbatim intent)

public-entry becomes an honest probe (own-VPS path): before the row rests
done, probe https://<apex> (or the IdP host) until it answers over TLS, bounded
by the ADR 0161 re-run family sized for a FIRST-BOOT cold start (acme-dns
registration + DNS-01 wildcard issuance — minutes, not seconds; budget generously
and tighten from green evidence like every ceiling). A genuinely-dead front door
reds the row honestly. With this, S12's ceremony follows a door that is actually
live.

Implementation notes (from the #499 investigation)

  • The natural insertion is on the own-VPS path in runOwnVPSJourney
    (internal/founding/ownvpspath.go), between o.runJourneyDeploy(...) (which
    sets the deploy live) and o.runJourneyFinish(...) — so hand-off means "the
    operator can actually sign in," not just "the control-plane process reported
    ready." The private path has no public door (local VM) and must be untouched.
  • A new prober seam is needed (a TLS/HTTP door probe of https:// + ownVPSCeremonyHost(s)),
    injected like the other seams (WithPublicEntry), with a FakePublicEntry for
    the seam tests. Follow the exact shape of probeControlPlaneActive (#476,
    deploy.go): a bounded retry that tolerates a cold start, names the dead
    capability honestly on exhaustion, and never reads a transport error as
    "not-live".
  • Row-machinery catch: ownVPSJourneyActive (ownvpspath.go) currently maps a
    live StandupDeploying straight to JourneyRowFinish, so a failJourney during
    the gate would red the finish row, not public-entry. The active-row derivation
    needs a targeted amendment so the gate rests/reds on DeployRowPublicEntry (e.g.
    key off a public-entry stage event the gate logs, the way the own-VPS walk keys
    off its other stage events). Get this right — a wrong row is exactly the
    false-state class this whole area guards against.
  • Budget the ceiling to at least cover acme-dns-register's own ~300s cold-start
    ceiling plus wildcard issuance (kept in step with the app-side
    CEREMONY_LOAD_RETRY_CEILING_MS).

Verification

Seam tests over the own-VPS journey (fake carrier + fake prober) can cover the
pass/red/row behaviour. The real cold-start timing is only observable on a live
droplet drive (rehearsal-183 family), which is where the ceiling tightens from green
evidence.

## Part 1 of #499 (Ben's ruling 2026-08-13) — the founding-side honest probe Spun out of #499. The app-side race fix (ceremony-window retry + fail-loud + test budget) landed in commit(s) on that ticket; this ticket carries **Ben's part 1**, which he ranked **most important** and called *the enabling defect* — but which is a larger founding row-machinery slice needing its own iteration and (ideally) live verification of real acme-dns/Caddy bring-up timing. ### The defect The own-VPS S11 checklist's `public-entry` row ("Public entry — secure connections live") is marked `DeployStepDone` **UNCONDITIONALLY** (`internal/founding/deploy.go`, `deployChecklist` — "prerequisites the join node already completed"). Nothing ever probes the public door, so the journey rests "done" and the finish leg opens hand-off (and the S12 ceremony #498 put on the PUBLIC door) while Caddy is minutes from serving `id.<apex>` (gated behind acme-dns registration + DNS-01 wildcard issuance on a first boot; GOTCHAS #15/#22). This is the #440/#443 false-green shape, one row over. ### Ben's fix direction (verbatim intent) > **`public-entry` becomes an honest probe** (own-VPS path): before the row rests > done, probe `https://<apex>` (or the IdP host) until it answers over TLS, bounded > by the ADR 0161 re-run family sized for a FIRST-BOOT cold start (acme-dns > registration + DNS-01 wildcard issuance — minutes, not seconds; budget generously > and tighten from green evidence like every ceiling). A genuinely-dead front door > reds the row honestly. With this, S12's ceremony follows a door that is actually > live. ### Implementation notes (from the #499 investigation) - The natural insertion is on the own-VPS path in `runOwnVPSJourney` (`internal/founding/ownvpspath.go`), **between** `o.runJourneyDeploy(...)` (which sets the deploy live) and `o.runJourneyFinish(...)` — so hand-off means "the operator can actually sign in," not just "the control-plane process reported ready." The private path has no public door (local VM) and must be untouched. - A new prober seam is needed (a TLS/HTTP door probe of `https://` + `ownVPSCeremonyHost(s)`), injected like the other seams (`WithPublicEntry`), with a `FakePublicEntry` for the seam tests. Follow the exact shape of `probeControlPlaneActive` (#476, `deploy.go`): a bounded retry that tolerates a cold start, names the dead capability honestly on exhaustion, and never reads a transport error as "not-live". - **Row-machinery catch:** `ownVPSJourneyActive` (`ownvpspath.go`) currently maps a live `StandupDeploying` straight to `JourneyRowFinish`, so a `failJourney` during the gate would red the *finish* row, not `public-entry`. The active-row derivation needs a targeted amendment so the gate rests/reds on `DeployRowPublicEntry` (e.g. key off a `public-entry` stage event the gate logs, the way the own-VPS walk keys off its other stage events). Get this right — a wrong row is exactly the false-state class this whole area guards against. - Budget the ceiling to at least cover acme-dns-register's own ~300s cold-start ceiling plus wildcard issuance (kept in step with the app-side `CEREMONY_LOAD_RETRY_CEILING_MS`). ### Verification Seam tests over the own-VPS journey (fake carrier + fake prober) can cover the pass/red/row behaviour. The real cold-start timing is only observable on a live droplet drive (rehearsal-183 family), which is where the ceiling tightens from green evidence. <!-- follow-on of #499 -->
Author
Owner

Withdrawing this as a duplicate. Filed as the founding-side Part 1 of #499, but #499 was completed in full by a concurrent host in commit 0bfb054 (a founding.DoorProbe seam makes the own-VPS public-entry row an HONEST TLS door probe before it rests done — probeDoorLive, TestOwnVPS_DeadPublicDoorRedsPublicEntry), which is exactly this ticket. #499 closed 2026-08-13. No work remains; closing.

Withdrawing this as a duplicate. Filed as the founding-side Part 1 of #499, but #499 was completed in full by a concurrent host in commit `0bfb054` (a `founding.DoorProbe` seam makes the own-VPS `public-entry` row an HONEST TLS door probe before it rests done — `probeDoorLive`, `TestOwnVPS_DeadPublicDoorRedsPublicEntry`), which is exactly this ticket. #499 closed 2026-08-13. No work remains; closing.
ben closed this issue 2026-08-13 02:52:18 +00:00
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.

Dependencies

No dependencies set.

Reference
Matou/idss#501
No description provided.