founding: FoundingStandupRented hand-rolls its own copy of the deploy-live panel #337

Closed
opened 2026-08-08 15:04:17 +00:00 by ben · 3 comments
Owner

Pre-existing debt surfaced by Defect K's round (commit 20be184): FoundingStandupRented.vue does NOT embed FoundingDeployOutcome.vue — it hand-rolls a duplicate live panel (~lines 103–113) with its own finish-setup button, so K's fault-line callout had to be duplicated into it locally (per the ruled scope: no refactor mid-defect-fix). Two copies of the same contract now exist and must be edited in pairs (the K round's SCSS even mirrors a rule the outcome panel gets via inheritance — see the K review's Minor).

Fix: refactor FoundingStandupRented onto FoundingDeployOutcome (it already takes the finishFault prop), delete the duplicate markup, keep the rented path's tests asserting through the shared panel. The component tests from 20be184 (foundingStandupRented.test.ts) pin the behaviour that must survive the refactor. Renderer-only; gates: targeted vitest + full pnpm exec vitest run + pnpm exec vue-tsc -p tsconfig.json from app/.

Pre-existing debt surfaced by Defect K's round (commit `20be184`): `FoundingStandupRented.vue` does NOT embed `FoundingDeployOutcome.vue` — it hand-rolls a duplicate live panel (~lines 103–113) with its own finish-setup button, so K's fault-line callout had to be duplicated into it locally (per the ruled scope: no refactor mid-defect-fix). Two copies of the same contract now exist and must be edited in pairs (the K round's SCSS even mirrors a rule the outcome panel gets via inheritance — see the K review's Minor). Fix: refactor `FoundingStandupRented` onto `FoundingDeployOutcome` (it already takes the `finishFault` prop), delete the duplicate markup, keep the rented path's tests asserting through the shared panel. The component tests from `20be184` (`foundingStandupRented.test.ts`) pin the behaviour that must survive the refactor. Renderer-only; gates: targeted vitest + full `pnpm exec vitest run` + `pnpm exec vue-tsc -p tsconfig.json` from `app/`.
Author
Owner

Blocked — the refactor target does not exist on main.

This task asks to "refactor FoundingStandupRented onto FoundingDeployOutcome (it already takes the finishFault prop)". On main:

  • app/src/components/founding/FoundingDeployOutcome.vue does not exist — it and the whole S11 deploy-outcome extraction (c0a16a6, 62b4cbf, 46e1fbd) are not ancestors of main; they live only on origin/private-standup-polish.
  • There is no finishFault prop anywhere in app/src on main.
  • FoundingStandupRented.vue on main correctly matches the issue's premise (it hand-rolls its own live panel with the finish-setup button at ~line 110) — but there is no shared panel to fold it onto here.

So the refactor cannot land on main until the deploy-outcome extraction arc (currently on private-standup-polish) is merged. This is the same unmerged-arc root cause as #338.

To re-arm: merge the FoundingDeployOutcome/finishFault extraction into main (or the private-standup-polish arc as a whole), then re-add ready-for-agent. Moving to agent-blocked.

**Blocked — the refactor target does not exist on `main`.** This task asks to "refactor `FoundingStandupRented` onto `FoundingDeployOutcome` (it already takes the `finishFault` prop)". On `main`: - `app/src/components/founding/FoundingDeployOutcome.vue` **does not exist** — it and the whole S11 deploy-outcome extraction (`c0a16a6`, `62b4cbf`, `46e1fbd`) are **not ancestors of `main`**; they live only on `origin/private-standup-polish`. - There is **no `finishFault` prop** anywhere in `app/src` on `main`. - `FoundingStandupRented.vue` on `main` correctly matches the issue's premise (it hand-rolls its own live panel with the `finish-setup` button at ~line 110) — but there is no shared panel to fold it onto here. So the refactor cannot land on `main` until the deploy-outcome extraction arc (currently on `private-standup-polish`) is merged. This is the same unmerged-arc root cause as #338. **To re-arm:** merge the `FoundingDeployOutcome`/`finishFault` extraction into `main` (or the `private-standup-polish` arc as a whole), then re-add `ready-for-agent`. Moving to `agent-blocked`.
Author
Owner

Unblocked (2026-08-08): private-standup-polish is now an ancestor of origin/main — app/src/components/founding/FoundingDeployOutcome.vue and the finishFault prop the refactor targets both exist on main (verified via git grep). Re-flipped ready-for-agent per the agent-blocked protocol (Ben approved).

Unblocked (2026-08-08): `private-standup-polish` is now an ancestor of `origin/main` — `app/src/components/founding/FoundingDeployOutcome.vue` and the `finishFault` prop the refactor targets both exist on main (verified via `git grep`). Re-flipped `ready-for-agent` per the agent-blocked protocol (Ben approved).
Author
Owner

Done in 729826a (on origin/main).

FoundingStandupRented now embeds the shared FoundingDeployOutcome for both terminal states (deploy-failed recovery + the deploy-live hand-off) instead of hand-rolling its own live panel. Defect K's finish-fault callout and its mirrored SCSS are gone from the rented component — the fault-line contract now lives in one place. The rented path's richer "it's alive" line (community name, look & feel, data-field="admin-account") rides a new #live slot on FoundingDeployOutcome; the manual/private paths keep the default "The control plane is live." one-liner.

The deploy-live/deploy-failed/finish-fault + fault-line vocabulary the S7 wireframe names is preserved verbatim (the e2e readFault contract is unchanged), and the folded deploy-failure now also carries story-13's switch-Access edge it previously lacked. Kept the reachability-failed block (unique to the in-place rented path).

Gates: foundingStandupRented.test.ts green (Defect K's pins now assert through the shared panel), full pnpm exec vitest run green (740 passed; the pre-existing boot.test.ts go-ENOENT env failure is unrelated), pnpm exec vue-tsc -p tsconfig.json clean.

Done in `729826a` (on `origin/main`). `FoundingStandupRented` now embeds the shared `FoundingDeployOutcome` for both terminal states (deploy-failed recovery + the deploy-live hand-off) instead of hand-rolling its own live panel. Defect K's finish-fault callout and its mirrored SCSS are gone from the rented component — the fault-line contract now lives in one place. The rented path's richer "it's alive" line (community name, look & feel, `data-field="admin-account"`) rides a new `#live` slot on `FoundingDeployOutcome`; the manual/private paths keep the default "The control plane is live." one-liner. The `deploy-live`/`deploy-failed`/`finish-fault` + `fault-line` vocabulary the S7 wireframe names is preserved verbatim (the e2e `readFault` contract is unchanged), and the folded deploy-failure now also carries story-13's switch-Access edge it previously lacked. Kept the reachability-failed block (unique to the in-place rented path). Gates: `foundingStandupRented.test.ts` green (Defect K's pins now assert through the shared panel), full `pnpm exec vitest run` green (740 passed; the pre-existing `boot.test.ts` `go`-ENOENT env failure is unrelated), `pnpm exec vue-tsc -p tsconfig.json` clean.
ben closed this issue 2026-08-09 01:19:16 +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#337
No description provided.