site: Onboarding design step (plan Task 12) #16

Closed
opened 2026-08-28 15:06:49 +00:00 by ben · 3 comments
Owner

Plan

docs/superpowers/plans/2026-08-27-coa-phase-0-1.md Task 12.

Deliverable

site/src/form/steps/OnboardingStep.tsx replacing the wizard placeholder; OnboardingStep.test.tsx.

Acceptance

  • Welcome heading/body, 0–3 info pages (Add button disabled at 3, Remove per page), approval <select> with the four modes and the plan's labels (incl. "whakawhanaungatanga session"), "Endorsements required" number input (default 2, 1–20) shown only for the two endorsement modes, pending heading/body/"What happens next".
  • Element ids w-heading, w-body, ip-title-<i>, ip-body-<i>, mode, required, p-heading, p-body, p-next (the e2e drive relies on them).
  • Plan's two tests pass; pnpm -r typecheck && pnpm -r test exit 0.

depends_on

  • site: form state, wizard, Brand + Features (Task 11)

depends_on (issue refs)

## Plan `docs/superpowers/plans/2026-08-27-coa-phase-0-1.md` **Task 12**. ## Deliverable `site/src/form/steps/OnboardingStep.tsx` replacing the wizard placeholder; `OnboardingStep.test.tsx`. ## Acceptance - Welcome heading/body, 0–3 info pages (Add button disabled at 3, Remove per page), approval `<select>` with the four modes and the plan's labels (incl. "whakawhanaungatanga session"), "Endorsements required" number input (default 2, 1–20) shown only for the two endorsement modes, pending heading/body/"What happens next". - Element ids `w-heading`, `w-body`, `ip-title-<i>`, `ip-body-<i>`, `mode`, `required`, `p-heading`, `p-body`, `p-next` (the e2e drive relies on them). - Plan's two tests pass; `pnpm -r typecheck && pnpm -r test` exit 0. ## depends_on - site: form state, wizard, Brand + Features (Task 11) ## depends_on (issue refs) - #15

This was generated by AI during triage.

Ruled by agent under ADR 0174 — veto anytime.

Ruling: enhancement + ready-for-agent (was needs-triage).

  • Category — enhancement. New phase-1 code (plan Task 12); nothing is broken, so not a bug.
  • Not already implemented. No packages/ / server/ / site/ / tools/ / e2e/ in the tree yet (#7 is the first code ticket); no matching .out-of-scope/ rejection. Redundancy and prior-rejection checks both clear.
  • Fully specified — no grilling needed. The body (Deliverable · Interfaces · Acceptance · out_of_scope) together with plan Task 12, cited verbatim as the contract, is the agent brief; I'm not duplicating it.
  • Dependencies: #15 — registered on the tracker and enforced by the claim gate, so labelling the whole chain ready-for-agent now cannot let a worker start out of order.

Why a two-way door. The outcome is a label, reverted by a later label change, and every acceptance criterion is provable by the plan's own tests (pnpm -r typecheck && pnpm -r test). It touches no credential, emails no community contact, dispatches no build or release, provisions no shared-infra tenant, writes no real communities/ data, widens no security posture, and changes no form contract the spec does not already state — none of this repo's one-way doors.

> *This was generated by AI during triage.* **Ruled by agent under ADR 0174 — veto anytime.** **Ruling:** `enhancement` + `ready-for-agent` (was `needs-triage`). - **Category — enhancement.** New phase-1 code (plan Task 12); nothing is broken, so not a bug. - **Not already implemented.** No `packages/` / `server/` / `site/` / `tools/` / `e2e/` in the tree yet (#7 is the first code ticket); no matching `.out-of-scope/` rejection. Redundancy and prior-rejection checks both clear. - **Fully specified — no grilling needed.** The body (Deliverable · Interfaces · Acceptance · out_of_scope) together with plan **Task 12**, cited verbatim as the contract, *is* the agent brief; I'm not duplicating it. - **Dependencies:** #15 — registered on the tracker and enforced by the claim gate, so labelling the whole chain `ready-for-agent` now cannot let a worker start out of order. **Why a two-way door.** The outcome is a label, reverted by a later label change, and every acceptance criterion is provable by the plan's own tests (`pnpm -r typecheck && pnpm -r test`). It touches no credential, emails no community contact, dispatches no build or release, provisions no shared-infra tenant, writes no real `communities/` data, widens no security posture, and changes no form contract the spec does not already state — none of this repo's one-way doors.

Blocked — CI pull_request seam not dispatching (GOTCHAS 10)

The code for this ticket is complete and merge-ready: PR #46 (agent/issue-16) implements plan Task 12 (site/src/form/steps/OnboardingStep.tsx + test, wired into Wizard.tsx, plus afterEach(cleanup) in site/src/test-setup.ts so the plan's two-it suite passes). All local gates are green:

  • pnpm install --frozen-lockfile (CI=true) → 0
  • pnpm -r typecheck → 0
  • pnpm -r test → 0 (site 11 passed, incl. the plan's two OnboardingStep tests)
  • pnpm --filter @coa/site build → 0

Blocker. Landing is pr / agent-after-green, but the Forgejo pull_request seam trigger has dropped again — exactly GOTCHAS 10. PR #46's head registers a ci / seam (pull_request) commit status stuck pending (reserved run_numbers 346 then 354), but no runner task is ever created: the newest real pull_request task remains run_number 334 (#27). push/schedule/workflow_dispatch keep firing. I pushed an empty commit (54ac2d4) to the branch to re-fire per GOTCHAS 10 — it did not dispatch a task either.

What a human must do to re-arm. Per GOTCHAS 10: push the protected .forgejo/workflows/ci.yml to main to re-register every trigger, then confirm a fresh PR fires a seam task. If re-registration does not take, the runner / event-source needs an operator restart. Both are protected-path / operator actions I cannot perform (I cannot edit .forgejo/, and landing is PR-only). Once the seam dispatches, PR #46 should go green and auto-merge with no code change needed.

Why human

GOTCHAS 10 names the operator restart of the Forgejo event-source a ready-for-human one-way door — it is not revertible by a commit of mine nor provable by a test I can run. Re-arm by re-adding ready-for-agent after the seam dispatches (PR #46 is already open and green-ready).

## Blocked — CI `pull_request` seam not dispatching (GOTCHAS 10) The code for this ticket is **complete and merge-ready**: PR #46 (`agent/issue-16`) implements plan Task 12 (`site/src/form/steps/OnboardingStep.tsx` + test, wired into `Wizard.tsx`, plus `afterEach(cleanup)` in `site/src/test-setup.ts` so the plan's two-`it` suite passes). All local gates are green: - `pnpm install --frozen-lockfile` (CI=true) → 0 - `pnpm -r typecheck` → 0 - `pnpm -r test` → 0 (site 11 passed, incl. the plan's two OnboardingStep tests) - `pnpm --filter @coa/site build` → 0 **Blocker.** Landing is `pr` / `agent-after-green`, but the Forgejo `pull_request` seam trigger has dropped again — exactly GOTCHAS 10. PR #46's head registers a `ci / seam (pull_request)` commit status stuck `pending` (reserved run_numbers 346 then 354), but **no runner task is ever created**: the newest real `pull_request` task remains run_number 334 (#27). `push`/`schedule`/`workflow_dispatch` keep firing. I pushed an empty commit (`54ac2d4`) to the branch to re-fire per GOTCHAS 10 — it did **not** dispatch a task either. **What a human must do to re-arm.** Per GOTCHAS 10: push the protected `.forgejo/workflows/ci.yml` to `main` to re-register every trigger, then confirm a fresh PR fires a seam task. If re-registration does not take, the runner / event-source needs an operator restart. Both are protected-path / operator actions I cannot perform (I cannot edit `.forgejo/`, and landing is PR-only). Once the seam dispatches, PR #46 should go green and auto-merge with no code change needed. ## Why human GOTCHAS 10 names the operator restart of the Forgejo event-source a `ready-for-human` one-way door — it is not revertible by a commit of mine nor provable by a test I can run. Re-arm by re-adding `ready-for-agent` after the seam dispatches (PR #46 is already open and green-ready).
Author
Owner

Ruled by agent under the two-way-door doctrine — veto anytime. Same as #13: not a lost event — the seam for PR #46 (54ac2d4) is waiting in GET /actions/runs behind ~20 queued runs on two capacity-1 runners; a /actions/tasks row appears only when a runner claims the job. No operator action needed; the interactive session merges #46 when its queued seam goes green (closes #16). GOTCHAS 10 was amended (04171ff) to check /actions/runs first. Removing ready-for-human.

**Ruled by agent under the two-way-door doctrine — veto anytime.** Same as #13: not a lost event — the seam for PR #46 (`54ac2d4`) is `waiting` in `GET /actions/runs` behind ~20 queued runs on two capacity-1 runners; a `/actions/tasks` row appears only when a runner claims the job. No operator action needed; the interactive session merges #46 when its queued seam goes green (`closes #16`). GOTCHAS 10 was amended (`04171ff`) to check `/actions/runs` first. Removing `ready-for-human`.
ben 2026-08-29 06:27:13 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
2 participants
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/coa#16
No description provided.