rehearsal-3: thin manual port walkthrough — design tier (wireframes + DDR; the #331 option-3 slice, UPnP stays deferred) #517

Closed
opened 2026-08-14 06:20:35 +00:00 by ben · 2 comments
Owner

Part of rehearsal phase 3 — gateway from home (spec docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md, plan docs/superpowers/plans/2026-08-14-183-phase-3-home-gateway-rehearsal.md).
The plan section below is the work, verbatim; its Interfaces block names what neighbouring tasks consume — keep those names exact.

Global constraints (apply to every step)

  • Use the domain glossary's vocabulary (CONTEXT.md) in ALL copy, comments,
    commit messages: founding, gateway, agent, install command,
    enrollment code — never installer/daemon/token/join-key.
  • Fail loud, never fabricate (ADR 0100): a missing artifact/secret/seam is an
    error with the real reason, never a silent skip or a made-up value.
  • x86_64 only at v1; full install is the consented mode (ADR 0024); the
    install command is a doorway, not a kept tool (ADR 0028).
  • Never write closes #NNN (or any close keyword) in commits or issue bodies
    for the standing drive issue family — say "advances #NNN". Even DESCRIBING a
    close can auto-close (2026-08-10 lesson, twice).
  • Commits that change project state update STATUS.md in the same commit
    (CLAUDE.md rule); the drive-issue minting commit (Task 9) carries the
    STATUS + runbook update for the whole arc.
  • TDD: each step's test is written and seen red before its implementation.
  • Secrets never enter .sandcastle/.env (it forwards into worker containers);
    host-only secrets live in the executor's rehearsal-env.sh (2026-07-11
    lesson).

Task 3: Thin manual walkthrough — design tier (READY-FOR-HUMAN, needs-design)

Files:

  • Create: docs/ux/wireframes/<flow>/… frames + a DDR in docs/adr/
    (NNNN-design-…, number claimed at landing — check origin/main first, the
    0145 collision lesson; 0173 was next free at planning time).
  • Modify: the founding flow mermaid if the walkthrough adds states.

Interfaces:

  • Produces: the UI contract Task 4 builds and Task 7 asserts against —
    frames must define: the port-group table (80/443 web now; 53 acme-dns
    own-domain only; 51820 WireGuard + 3478 coturn as "needed at first
    multi-device use" informational rows), per-port status states
    (open / refused / dropped / pending / info), the prober's three-lane
    guidance line, and the re-check action.

Steps for Ben (with an agent session):

  • Run /wireframe over the S4b→S10 slice with the spec's cluster-b scope
    (thin, manual-only, NO UPnP — #331's deferred scope must not creep in).
  • Accept the DDR; commit frames + DDR; comment on #331 naming the slice
    pulled forward and that its criteria stand unchanged.
  • The DDR records the selector contract for Task 4/7:
    data-status="port-walkthrough", rows [data-port="443"] with
    data-status="open|refused|dropped|pending|info",
    [data-field="lane-guidance"], action [data-action="recheck-ports"].
Part of rehearsal **phase 3 — gateway from home** (spec `docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md`, plan `docs/superpowers/plans/2026-08-14-183-phase-3-home-gateway-rehearsal.md`). The plan section below is the work, verbatim; its **Interfaces** block names what neighbouring tasks consume — keep those names exact. ## Global constraints (apply to every step) - Use the domain glossary's vocabulary (`CONTEXT.md`) in ALL copy, comments, commit messages: *founding*, *gateway*, *agent*, *install command*, *enrollment code* — never installer/daemon/token/join-key. - Fail loud, never fabricate (ADR 0100): a missing artifact/secret/seam is an error with the real reason, never a silent skip or a made-up value. - x86_64 only at v1; full install is the consented mode (ADR 0024); the install command is a doorway, not a kept tool (ADR 0028). - Never write `closes #NNN` (or any close keyword) in commits or issue bodies for the standing drive issue family — say "advances #NNN". Even DESCRIBING a close can auto-close (2026-08-10 lesson, twice). - Commits that change project state update `STATUS.md` in the same commit (CLAUDE.md rule); the drive-issue minting commit (Task 9) carries the STATUS + runbook update for the whole arc. - TDD: each step's test is written and seen red before its implementation. - Secrets never enter `.sandcastle/.env` (it forwards into worker containers); host-only secrets live in the executor's `rehearsal-env.sh` (2026-07-11 lesson). --- ### Task 3: Thin manual walkthrough — design tier (READY-FOR-HUMAN, needs-design) **Files:** - Create: `docs/ux/wireframes/<flow>/…` frames + a DDR in `docs/adr/` (`NNNN-design-…`, number claimed at landing — check `origin/main` first, the 0145 collision lesson; 0173 was next free at planning time). - Modify: the founding flow mermaid if the walkthrough adds states. **Interfaces:** - Produces: the UI contract Task 4 builds and Task 7 asserts against — frames must define: the port-group table (80/443 web now; 53 acme-dns own-domain only; 51820 WireGuard + 3478 coturn as "needed at first multi-device use" informational rows), per-port status states (open / refused / dropped / pending / info), the prober's three-lane guidance line, and the re-check action. Steps for Ben (with an agent session): - [ ] Run `/wireframe` over the S4b→S10 slice with the spec's cluster-b scope (thin, manual-only, NO UPnP — #331's deferred scope must not creep in). - [ ] Accept the DDR; commit frames + DDR; comment on #331 naming the slice pulled forward and that its criteria stand unchanged. - [ ] The DDR records the selector contract for Task 4/7: `data-status="port-walkthrough"`, rows `[data-port="443"]` with `data-status="open|refused|dropped|pending|info"`, `[data-field="lane-guidance"]`, action `[data-action="recheck-ports"]`.
Author
Owner

Relabelled ready-for-session under ADR 0174 (keeps needs-design): the ticket already pins the port-group table, the five status states, and the full selector contract, so a session runs /wireframe and drafts the frames + DDR. The DDR accept is agent-rulable with Ben's async veto (ADR 0174 rule 1 — the #514/#388 auto-accept precedent made standing policy).

Relabelled `ready-for-session` under ADR 0174 (keeps `needs-design`): the ticket already pins the port-group table, the five status states, and the full selector contract, so a session runs `/wireframe` and drafts the frames + DDR. The DDR accept is agent-rulable with Ben's async veto (ADR 0174 rule 1 — the #514/#388 auto-accept precedent made standing policy).
Author
Owner

Design tier landed: a4b860d — DDR 0175 + three frames (p1-s4c-how-your-ports-will-open, p1-s10b-port-board, p1-s10b-port-board-still-closed), CONTEXT.md port-group timing updated, STATUS.md in the same commit.

  • Every pinned contract item is in the frames: the port-group table (80/443 web now; 53 acme-dns own-domain only; 51820 + 3478 as "at first multi-device use" informational rows), all five per-port states (open|refused|dropped|pending|info across the two S10b frames), the prober's three-lane guidance line, and the re-check action.
  • Selector contract recorded in DDR 0175 exactly as this ticket pinned it: data-status="port-walkthrough" container, [data-port] rows with verdict data-status, [data-field="lane-guidance"], [data-action="recheck-ports"].
  • The flow already carried S4c/S10b from the #331 grill — no new states, mermaid untouched.
  • DDR numbered 0175 at landing (0173 was next-free at planning; 0174 = the two-way-door policy claimed it this afternoon).
  • DDR accept: agent-ruled under ADR 0174 — Ben's async veto stands; a veto reverts a4b860d.

Sliced-forward note posted on #331. #518 (Task 4) unblocks on this close.

**Design tier landed: `a4b860d`** — DDR 0175 + three frames (`p1-s4c-how-your-ports-will-open`, `p1-s10b-port-board`, `p1-s10b-port-board-still-closed`), CONTEXT.md port-group timing updated, STATUS.md in the same commit. - Every pinned contract item is in the frames: the port-group table (80/443 web now; 53 acme-dns own-domain only; 51820 + 3478 as "at first multi-device use" informational rows), all five per-port states (`open|refused|dropped|pending|info` across the two S10b frames), the prober's three-lane guidance line, and the re-check action. - Selector contract recorded in DDR 0175 exactly as this ticket pinned it: `data-status="port-walkthrough"` container, `[data-port]` rows with verdict `data-status`, `[data-field="lane-guidance"]`, `[data-action="recheck-ports"]`. - The flow already carried S4c/S10b from the #331 grill — no new states, mermaid untouched. - DDR numbered 0175 at landing (0173 was next-free at planning; 0174 = the two-way-door policy claimed it this afternoon). - **DDR accept: agent-ruled under ADR 0174 — Ben's async veto stands**; a veto reverts `a4b860d`. Sliced-forward note posted on #331. #518 (Task 4) unblocks on this close.
ben closed this issue 2026-08-14 16:52:02 +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.

Reference
Matou/idss#517
No description provided.