rehearsal-3: thin manual port walkthrough — seam + screen (per-port truth, re-check loop) #518
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
Depends on
Reference
Matou/idss#518
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?
Part of rehearsal phase 3 — gateway from home (spec
docs/superpowers/specs/2026-08-14-183-phase-3-home-gateway-rehearsal-design.md, plandocs/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)
CONTEXT.md) in ALL copy, comments,commit messages: founding, gateway, agent, install command,
enrollment code — never installer/daemon/token/join-key.
error with the real reason, never a silent skip or a made-up value.
install command is a doorway, not a kept tool (ADR 0028).
closes #NNN(or any close keyword) in commits or issue bodiesfor the standing drive issue family — say "advances #NNN". Even DESCRIBING a
close can auto-close (2026-08-10 lesson, twice).
STATUS.mdin the same commit(CLAUDE.md rule); the drive-issue minting commit (Task 9) carries the
STATUS + runbook update for the whole arc.
.sandcastle/.env(it forwards into worker containers);host-only secrets live in the executor's
rehearsal-env.sh(2026-07-11lesson).
Task 4: Thin manual walkthrough — seam + screen (blocked by Task 3)
Files:
internal/reachability/prober.go(+prober_test.go) — expose theper-port verdicts the prober already computes.
internal/founding/standup.go'sS10 area +
internal/founding/stdio.go) — carry structured rows to the UI.app/src/components/founding/FoundingReachability.vue(+
app/tests/unit/foundingSpecGateReachability.test.ts,app/src/lib/founding.tsTS twins).Interfaces:
Consumes: Task 3's DDR + frames (the selector contract above), the prober's
existing lane machinery (
portVerdict, ports/firewall/CGNAT guidance).Produces: the reachability result carries
ports: []PortRow{Port int, Role string, Verdict string /* open|refused|dropped */, RequiredNow bool}plus the two informational rows (51820 "WireGuard — peers dial in",
3478 "coturn relay"),
RequiredNow=false,Verdict:"info"; a re-check opthat re-runs the S10 probe; the Vue screen renders exactly the DDR's states.
Every string the screen shows comes from the seam (ADR 0052).
Step 1: Failing Go test — in
prober_test.go, the scripted dial'srefused-443 case must yield
Result.Portscontaining{443, "web", "refused", true}and the informational rows; the CGNAT caseyields no port rows (the lane forbids pretending a dial happened).
Step 2: Red, Step 3: implement (derive rows where the prober
already walks
portVerdicts; append the static informational rows in thefounding face, not the prober — the prober reports only what it probed),
Step 4: green —
go test ./internal/reachability/... ./internal/founding/....Step 5: Failing Vue test — refused-443 fixture renders
[data-port="443"][data-status="refused"]+ the ports-lane guidance and anenabled
[data-action="recheck-ports"]; clicking it calls the re-check oponce.
Step 6: Red → implement → green —
pnpm test(unit suites) +tsc.Step 7: Commit —
founding: the S10 walkthrough names each port honestly — the #331 option-3 slice (DDR NNNN, spec 2026-08-14).swarm-claim host=matou-dev-server-01 run=6130
(automated multi-host claim — lowest live claim id works this ticket)
close-report for #518 — status
success✅ close-report gates passed — every claim verified against main; closing.
envelope