founding: ReopenAccess is a dead end — S4 renders but every access/address op refuses post-Founded #325

Open
opened 2026-08-07 17:32:37 +00:00 by ben · 4 comments
Owner

ReopenAccess (internal/founding/standup.go:557-583) sets Draft.Step = StepAccess and nils Standup, and the UI duly renders S4 (FoundingStandup.vue:465-468).

But every access and address operation refuses once the community exists: loadOpenDraft returns ErrCommunityExists when s.Founded (internal/founding/access.go:449-451), as does mutate (internal/founding/orchestrator.go:335-337). And s.Founded is a precondition of ReopenAccess itself (loadFounded, standup.go:654-662).

So set-access, pre-check, use-own-vps and claim-subdomain all fail loud from a screen that invites the operator to use them. The prober's own failure copy routes here — "or switch the Access option" (internal/reachability/prober.go:55-58) — so this is the advertised escape from a failed reachability probe, and it does not work.

No test exercises re-choosing access after ReopenAccess; the existing tests assert only the S4 landing (standup_test.go:254-263, :386-393).

Definition of done

Either the post-founding access change works end to end, or S4 does not offer the actions that cannot succeed and the prober's guidance stops pointing at it. Needs a ruling on which — changing a founded community's gateway address is a real operation with DNS and certificate consequences.


Found 2026-08-07 while scoping home-gateway reachability (dynamic address / automatic port opening / IPv6). Full trace in docs/research/2026-08-07-home-gateway-reachability-scope.md.

`ReopenAccess` (`internal/founding/standup.go:557-583`) sets `Draft.Step = StepAccess` and nils `Standup`, and the UI duly renders S4 (`FoundingStandup.vue:465-468`). But every access and address operation refuses once the community exists: `loadOpenDraft` returns `ErrCommunityExists` when `s.Founded` (`internal/founding/access.go:449-451`), as does `mutate` (`internal/founding/orchestrator.go:335-337`). And `s.Founded` is a precondition of `ReopenAccess` itself (`loadFounded`, `standup.go:654-662`). So `set-access`, `pre-check`, `use-own-vps` and `claim-subdomain` all fail loud from a screen that invites the operator to use them. The prober's own failure copy routes here — "or switch the Access option" (`internal/reachability/prober.go:55-58`) — so this is the advertised escape from a failed reachability probe, and it does not work. No test exercises re-choosing access after `ReopenAccess`; the existing tests assert only the S4 landing (`standup_test.go:254-263`, `:386-393`). ## Definition of done Either the post-founding access change works end to end, or S4 does not offer the actions that cannot succeed and the prober's guidance stops pointing at it. Needs a ruling on which — changing a founded community's gateway address is a real operation with DNS and certificate consequences. --- Found 2026-08-07 while scoping home-gateway reachability (dynamic address / automatic port opening / IPv6). Full trace in `docs/research/2026-08-07-home-gateway-reachability-scope.md`.
Author
Owner

This was generated by AI during triage.

Verified: ReopenAccess confirmed to set Draft.Step = StepAccess and require s.Founded as a precondition. Confirmed loadOpenDraft and mutate both return ErrCommunityExists once s.Founded is true — the same flag ReopenAccess itself requires to run. So every access/address operation offered from the S4 screen it reopens does refuse post-founding, exactly as described. Claim holds.

Routing to ready-for-human, not ready-for-agent: the ticket's own definition of done poses a fork that only a product/design decision can resolve — either make post-founding access/address changes genuinely work (a real operation with DNS and certificate consequences that needs to be designed, not inferred), or stop S4 from offering actions that can't succeed and update the reachability-probe's failure copy that currently points here as the advertised escape hatch. There's no code-only reading of "fix this bug" that doesn't first commit to one of those two products. Recommend: rule on which direction this goes (implement reopened access/address end-to-end, vs. make S4 post-founding a dead-end that's honest about it), including who's expected to use this path and how often, then this can be re-filed as an agent brief for whichever side is chosen.

> *This was generated by AI during triage.* **Verified:** `ReopenAccess` confirmed to set `Draft.Step = StepAccess` and require `s.Founded` as a precondition. Confirmed `loadOpenDraft` and `mutate` both return `ErrCommunityExists` once `s.Founded` is true — the same flag `ReopenAccess` itself requires to run. So every access/address operation offered from the S4 screen it reopens does refuse post-founding, exactly as described. Claim holds. **Routing to ready-for-human, not ready-for-agent:** the ticket's own definition of done poses a fork that only a product/design decision can resolve — either make post-founding access/address changes genuinely work (a real operation with DNS and certificate consequences that needs to be designed, not inferred), or stop S4 from offering actions that can't succeed and update the reachability-probe's failure copy that currently points here as the advertised escape hatch. There's no code-only reading of "fix this bug" that doesn't first commit to one of those two products. Recommend: rule on which direction this goes (implement reopened access/address end-to-end, vs. make S4 post-founding a dead-end that's honest about it), including who's expected to use this path and how often, then this can be re-filed as an agent brief for whichever side is chosen.
Author
Owner

Ruled by Ben 2026-08-08 (decision sweep): build the real operation. Post-founding access/address change is to work end to end — DNS repoint, certificate re-issue, gateway re-render — not be amputated from S4. That makes this a feature, not a fix: it needs a design pass first (which operations are legal post-Founded, their flows, fault states, and how they compose with ADR 0136's heartbeat). → needs-design; grill next. Until it lands, the prober copy pointing here remains a known dead end — the design should say what the interim copy does.

Ruled by Ben 2026-08-08 (decision sweep): **build the real operation.** Post-founding access/address change is to work end to end — DNS repoint, certificate re-issue, gateway re-render — not be amputated from S4. That makes this a feature, not a fix: it needs a design pass first (which operations are legal post-Founded, their flows, fault states, and how they compose with ADR 0136's heartbeat). → `needs-design`; grill next. Until it lands, the prober copy pointing here remains a known dead end — the design should say what the interim copy does.
Author
Owner

Grilled 2026-08-08 (/grill-ux-with-docs, both gates confirmed) — design contract for Ben's "build the real operation" ruling:

  • DDR 0142 (docs/adr/0142-design-the-wizard-reopens-for-access-and-address.md): mid-stand-up scope only (post-live gateway move / address change out of v1, S5 "switch later" copy made honest); S4+S5 reopen, S2/S3 locked; all four Access options legal both directions across the public/private line, retreat-to-private keeps the claim; an abandoned rented gateway is named and recorded, not torn down (ADR 0047 rental terms stay deferred); S6 stays the convergence point with action "stand up the gateway" (creation never re-runs); no interim prober-copy change — lands as one spec that makes the existing copy true.
  • Engineering shape: guards rewritten, not duplicated — soft-phase ops assert a draft walk is open (Founded && Step != Created ⇔ reopened walk, no new flag) plus a Founded floor below S4. Schema: State gains a durable abandoned-rental record surviving the stand-up clear. Seam unchanged: internal/founding scripted fakes; prior art standup_test.go ReopenAccess cases + access_test.go guards + TS twins.
  • docs/ux/flows/p1-founding.mermaid amended (no new nodes — the escape edges are the walk); CONTEXT.md Design nouns: reopened walk, locked steps, abandoned rental, kept claim.

Next: /wireframe for the reopened S4/S5/S6 states, then /to-spec.

Note: a DDR numbering collision exists — the #331 grill and the standup-single-bar branch both minted 0140; this grill took 0142.

**Grilled 2026-08-08** (`/grill-ux-with-docs`, both gates confirmed) — design contract for Ben's "build the real operation" ruling: - **DDR 0142** (`docs/adr/0142-design-the-wizard-reopens-for-access-and-address.md`): mid-stand-up scope only (post-live gateway move / address change out of v1, S5 "switch later" copy made honest); S4+S5 reopen, S2/S3 locked; all four Access options legal both directions across the public/private line, retreat-to-private **keeps the claim**; an abandoned rented gateway is **named and recorded, not torn down** (ADR 0047 rental terms stay deferred); S6 stays the convergence point with action **"stand up the gateway"** (creation never re-runs); **no interim prober-copy change** — lands as one spec that makes the existing copy true. - **Engineering shape:** guards rewritten, not duplicated — soft-phase ops assert *a draft walk is open* (`Founded && Step != Created` ⇔ reopened walk, no new flag) plus a Founded floor below S4. Schema: `State` gains a durable abandoned-rental record surviving the stand-up clear. Seam unchanged: `internal/founding` scripted fakes; prior art `standup_test.go` ReopenAccess cases + `access_test.go` guards + TS twins. - `docs/ux/flows/p1-founding.mermaid` amended (no new nodes — the escape edges are the walk); CONTEXT.md Design nouns: *reopened walk, locked steps, abandoned rental, kept claim*. Next: `/wireframe` for the reopened S4/S5/S6 states, then `/to-spec`. Note: a DDR numbering collision exists — the #331 grill and the standup-single-bar branch both minted 0140; this grill took 0142.
Author
Owner

Parked — happy-path-first ruling (Ben, 2026-08-09). Label flipped needs-design → no-triage; this is the standing pause signal, not a triage verdict.

Pipeline position when parked:

  • Grill done — DDR 0142 accepted (d987161, 2026-08-08): mid-stand-up scope, S4+S5 reopen / S2+S3 locked, all four Access kinds both directions, kept claim on retreat to private, abandoned rental named-not-torn-down, S6 action "stand up the gateway", guards rewritten not duplicated.
  • Wireframes drawn, gate unconfirmed — 6414ff0 (2026-08-09): p1-s4-access-reopened, p1-s4-access-reopened-abandoned-rental, p1-s5-address-reopened, p1-s6-review-reopened + the decision-1 copy amendment on p1-s5-address. The data-* attributes are the element-ID contract.
  • /to-spec not run — no child spec, no acceptance criteria.
  • Code untouched — the escape lands on S4 (ReopenAccess, tested) but every re-choice op still refuses on Founded (access.go ErrCommunityExists); the dead end this issue describes is live.

Known parked risk: every failed stand-up gate (S9x / S10b / S7 / S11-fail) advertises "switch the Access option" (DDR 0142 decision 6 deliberately left the copy standing) and it dead-ends; a real founding that hits it recovers by trial-reset only. Acceptable while alpha, single operator.

To resume: confirm the wireframe gate → /to-spec → triage flips this ready-for-agent.

**Parked — happy-path-first ruling (Ben, 2026-08-09).** Label flipped `needs-design` → `no-triage`; this is the standing pause signal, not a triage verdict. **Pipeline position when parked:** - Grill **done** — DDR 0142 accepted (`d987161`, 2026-08-08): mid-stand-up scope, S4+S5 reopen / S2+S3 locked, all four Access kinds both directions, kept claim on retreat to private, abandoned rental named-not-torn-down, S6 action "stand up the gateway", guards rewritten not duplicated. - Wireframes **drawn, gate unconfirmed** — `6414ff0` (2026-08-09): `p1-s4-access-reopened`, `p1-s4-access-reopened-abandoned-rental`, `p1-s5-address-reopened`, `p1-s6-review-reopened` + the decision-1 copy amendment on `p1-s5-address`. The `data-*` attributes are the element-ID contract. - `/to-spec` **not run** — no child spec, no acceptance criteria. - Code **untouched** — the escape lands on S4 (`ReopenAccess`, tested) but every re-choice op still refuses on `Founded` (`access.go` `ErrCommunityExists`); the dead end this issue describes is live. **Known parked risk:** every failed stand-up gate (S9x / S10b / S7 / S11-fail) advertises "switch the Access option" (DDR 0142 decision 6 deliberately left the copy standing) and it dead-ends; a real founding that hits it recovers by trial-reset only. Acceptable while alpha, single operator. **To resume:** confirm the wireframe gate → `/to-spec` → triage flips this `ready-for-agent`.
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#325
No description provided.