founding: fail-paths-and-handoff — deploy failure reopens Access; hand-off exits; S9x log opens (#77/#72/#47) #121

Closed
opened 2026-07-26 19:41:13 +00:00 by ben · 1 comment
Owner

Parent

Feature spec: #11 (founding). Follow-up filed by the 2026-07-26 review sweep (code-review Standards/Spec + design-verify Design axes over 6596977..9e946b7). Three narrow fail-path/exit defects:

  1. #77 story 13 — after a deploy failure ReopenAccess refuses (internal/founding/standup.go:492), so the S11 fail screen cannot offer the required switch-Access edge (spec: reachability, name, or deploy failure reopens S4).
  2. #72 — FoundingStandup emits landed but FoundingWizard.vue:56-64 never forwards it, and the hand-off-complete panel has no exit affordance — the S12→SHHO edge is dropped.
  3. #47 — S9x's open-log button renders with no click handler (FoundingSpecGateFail.vue:37).

Acceptance criteria

  • Given a deploy failure on S11, when I choose to change how the community is reached, then Access (S4) reopens — seam allows it and the fail screen offers it.
  • Given a completed hand-off, when landed fires, then the wizard forwards it and the operator lands home (S12→SHHO), with a visible exit affordance on the panel.
  • Given S9x, the log button opens the log.

Blocked by

None.

Task manifest

task: founding:fail-paths-and-handoff
implements_flow: p1-founding
implements_edge: "S11-fail→S4 (deploy failure reopens Access); S12→SHHO (landed); S9x open-log"
wireframe: docs/ux/wireframes/p1-founding/p1-s11-deploy-gateway.html
interface: "ReopenAccess allowed after deploy failure (internal/founding standup) + landed forwarding/exit in FoundingWizard + S9x open-log handler"
seam: "Go test: deploy-failure then reopen; component tests: landed forwarding and open-log"
acceptance: "the three edge clauses above become true (see Acceptance criteria)"
depends_on: []
out_of_scope: [deploy mechanics (built), scrub semantics (nice-to-have tracked separately)]
needs_human_decision: []
## Parent Feature spec: #11 (founding). Follow-up filed by the 2026-07-26 review sweep (code-review Standards/Spec + design-verify Design axes over `6596977..9e946b7`). Three narrow fail-path/exit defects: 1. **#77 story 13** — after a deploy failure `ReopenAccess` refuses (`internal/founding/standup.go:492`), so the S11 fail screen cannot offer the required switch-Access edge (spec: reachability, name, *or deploy failure* reopens S4). 2. **#72** — FoundingStandup emits `landed` but `FoundingWizard.vue:56-64` never forwards it, and the hand-off-complete panel has no exit affordance — the S12→SHHO edge is dropped. 3. **#47** — S9x's `open-log` button renders with no click handler (`FoundingSpecGateFail.vue:37`). ## Acceptance criteria - [ ] Given a deploy failure on S11, when I choose to change how the community is reached, then Access (S4) reopens — seam allows it and the fail screen offers it. - [ ] Given a completed hand-off, when `landed` fires, then the wizard forwards it and the operator lands home (S12→SHHO), with a visible exit affordance on the panel. - [ ] Given S9x, the log button opens the log. ## Blocked by None. ## Task manifest ```yaml task: founding:fail-paths-and-handoff implements_flow: p1-founding implements_edge: "S11-fail→S4 (deploy failure reopens Access); S12→SHHO (landed); S9x open-log" wireframe: docs/ux/wireframes/p1-founding/p1-s11-deploy-gateway.html interface: "ReopenAccess allowed after deploy failure (internal/founding standup) + landed forwarding/exit in FoundingWizard + S9x open-log handler" seam: "Go test: deploy-failure then reopen; component tests: landed forwarding and open-log" acceptance: "the three edge clauses above become true (see Acceptance criteria)" depends_on: [] out_of_scope: [deploy mechanics (built), scrub semantics (nice-to-have tracked separately)] needs_human_decision: [] ```
Author
Owner

Done in 72b65af (on main). Three fail-path/exit defects fixed:

  1. #77 story 13 (deploy failure reopens Access) — Orchestrator.ReopenAccess (internal/founding/standup.go) now refuses only while a deploy is in flight or already live/seeded; a DeployFailed stand-up returns to S4 (Access) with the enrollment intact. FoundingDeployGateway.vues fail screen offers Change how the community is reached (data-action="switch-access"), wired through FoundingStandup to reopenAccess. Seam test: TestStory13_DeployFailureReopensAccess.
  2. #72 (hand-off exit + landed forwarding) — the S12 landed panel now carries a visible exit affordance (Enter your community →, data-action="enter-community"). The scrub no longer auto-forwards; clicking exit emits go-home → FoundingStandup re-emits landed → FoundingWizard forwards it (S12→SHHO). Component test in foundingHandOff.test.ts.
  3. #47 (S9x open-log) — the Open-log button now has a handler that reveals the cross-cutting stand-up drill-in log. Component test in foundingSpecGateReachability.test.ts.

Evidence: Go go test ./internal/founding/ green; app vitest run 195 passing (incl. the new tests); vue-tsc and go build ./... clean. STATUS.md updated in the same commit.

Done in `72b65af` (on `main`). Three fail-path/exit defects fixed: 1. **#77 story 13 (deploy failure reopens Access)** — `Orchestrator.ReopenAccess` (`internal/founding/standup.go`) now refuses only while a deploy is in flight or already live/seeded; a `DeployFailed` stand-up returns to S4 (Access) with the enrollment intact. `FoundingDeployGateway.vue`s fail screen offers **Change how the community is reached** (`data-action="switch-access"`), wired through `FoundingStandup` to `reopenAccess`. Seam test: `TestStory13_DeployFailureReopensAccess`. 2. **#72 (hand-off exit + `landed` forwarding)** — the S12 landed panel now carries a visible exit affordance (**Enter your community →**, `data-action="enter-community"`). The scrub no longer auto-forwards; clicking exit emits `go-home` → `FoundingStandup` re-emits `landed` → `FoundingWizard` forwards it (S12→SHHO). Component test in `foundingHandOff.test.ts`. 3. **#47 (S9x open-log)** — the Open-log button now has a handler that reveals the cross-cutting stand-up drill-in log. Component test in `foundingSpecGateReachability.test.ts`. Evidence: Go `go test ./internal/founding/` green; app `vitest run` 195 passing (incl. the new tests); `vue-tsc` and `go build ./...` clean. `STATUS.md` updated in the same commit.
ben closed this issue 2026-07-26 20:05:05 +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#121
No description provided.